Date: Mon, 6 Dec 1999 14:41:08 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Wes Peters <wes@softweyr.com> Cc: hackers@FreeBSD.ORG Subject: Re: HomePNA network cards Message-ID: <Pine.BSF.4.10.9912061436230.20503-100000@current1.whistle.com> In-Reply-To: <384C37ED.5CCA93F0@softweyr.com>
index | next in thread | previous in thread | raw e-mail
I have one here..
(and all the specs)
the code changes needed to thte lnc driver are:
1/ new PCI ID :-)
2/ BSD equivalent of the following linux code:
case 0x2626:
chipname = "PCnet/Home 79C978";
fdx = 1;
/*
* This is based on specs published at www.amd.com. This section
* assumes that a card with a 79C978 wants to go into 1Mb HomePNA
* mode. The 79C978 can also go into standard ethernet, and there
* probably should be some sort of module option to select the
* mode by which the card should operate
*/
/* switch to home wiring mode */
media = a->read_bcr (ioaddr, 49);
if (pcnet32_debug > 2)
printk("pcnet32: pcnet32 media value %#x.\n", media);
media &= ~3;
media |= 1;
if (pcnet32_debug > 2)
printk("pcnet32: pcnet32 media reset to %#x.\n", media);
a->write_bcr (ioaddr, 49, media);
break;
I have alrady added the HomePNA media type to the if_media.h list
so all I need is to add this code..
(unless you beat me to it :-)
Julian
On Mon, 6 Dec 1999, Wes Peters wrote:
> Has anyone gotten one of these to work with the lnc driver in current?
> Looking at the chip specs, it is supposed to be software compatible with
> the PCNet PCI parts, but it sports the "home networking" PHY that are
> not supported on other LANCE parts.
>
> If you've had success with these, please let me know. A friend wants to
> setup a network but doesn't have access to the wall spaces in his house.
> Silly boy.
>
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912061436230.20503-100000>
