From owner-freebsd-hackers Mon Dec 6 14:41:38 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id B57DB14C30 for ; Mon, 6 Dec 1999 14:41:36 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id OAA75266; Mon, 6 Dec 1999 14:41:09 -0800 (PST) Date: Mon, 6 Dec 1999 14:41:08 -0800 (PST) From: Julian Elischer To: Wes Peters Cc: hackers@FreeBSD.ORG Subject: Re: HomePNA network cards In-Reply-To: <384C37ED.5CCA93F0@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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