From owner-freebsd-hackers@FreeBSD.ORG Thu May 18 21:20:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69D8316A401 for ; Thu, 18 May 2006 21:20:48 +0000 (UTC) (envelope-from john@baldwin.cx) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD2743D46 for ; Thu, 18 May 2006 21:20:47 +0000 (GMT) (envelope-from john@baldwin.cx) Received: from disgraceful.corp.yahoo.com (disgraceful.corp.yahoo.com [216.145.53.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4ILKim4030850 for ; Thu, 18 May 2006 17:20:45 -0400 (EDT) (envelope-from john@baldwin.cx) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 18 May 2006 13:22:33 -0700 User-Agent: KMail/1.7.1 References: <200605180511.20350.soralx@cydem.org> In-Reply-To: <200605180511.20350.soralx@cydem.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605181322.33291.john@baldwin.cx> X-Virus-Scanned: ClamAV 0.87.1/1469/Thu May 18 16:27:11 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Mailman-Approved-At: Fri, 19 May 2006 02:33:43 +0000 Subject: Re: [PATCH] Linksys PCM200 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 21:20:48 -0000 On Thursday 18 May 2006 05:11, soralx@cydem.org wrote: > [no reply on -hardware] > > This adds Linksys PCM200 10/100 PCMCIA NIC device IDs. > It's probably a good idea to update dc(4) and supported hw list also. Sorry, I've been meaning to get to this. I need to fix dc to properly switch off on the full vendor/device id instead of just the device id part though to cleanly put this patch in, hence the delay. > Index: if_dc.c > =================================================================== > RCS file: /home/ncvs/src/sys/pci/if_dc.c,v > retrieving revision 1.152 > diff -u -p -r1.152 if_dc.c > --- if_dc.c 1 Oct 2004 15:23:31 -0000 1.152 > +++ if_dc.c 21 Oct 2004 22:32:39 -0000 > @@ -218,6 +218,10 @@ static struct dc_type dc_devs[] = { > "Microsoft MN-130 10/100" }, > { DC_VENDORID_MICROSOFT, DC_DEVICEID_MSMN130_FAKE, > "Microsoft MN-130 10/100" }, > + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB08, > + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek > Centaur-C]" }, + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB09, > + "Linksys PCM200 10/100 CardBus NIC, v.03 [ADMtek > Centaur-C]" }, { 0, 0, NULL } > }; > > @@ -1917,10 +1921,16 @@ dc_attach(device_t dev) > case DC_DEVICEID_FA511: > case DC_DEVICEID_FE2500: > case DC_DEVICEID_EN2242: > - case DC_DEVICEID_HAWKING_PN672TX: > + case DC_DEVICEID_HAWKING_PN672TX: > +#if 0 /* DC_DEVICEID_HAWKING_PN672TX has the same ID as the following */ > + case DC_DEVICEID_FE2500MX: > + case DC_DEVICEID_FNW3602T: > + case DC_DEVICEID_PCM200_AB08: > +#endif > case DC_DEVICEID_3CSOHOB: > case DC_DEVICEID_MSMN120: > case DC_DEVICEID_MSMN130_FAKE: /* XXX avoid collision with PNIC*/ > + case DC_DEVICEID_PCM200_AB09: > sc->dc_type = DC_TYPE_AN985; > sc->dc_flags |= DC_64BIT_HASH; > sc->dc_flags |= DC_TX_USE_TX_INTR; > Index: if_dcreg.h > =================================================================== > RCS file: /home/ncvs/src/sys/pci/if_dcreg.h,v > retrieving revision 1.42 > diff -u -p -r1.42 if_dcreg.h > --- if_dcreg.h 29 Jun 2004 20:38:44 -0000 1.42 > +++ if_dcreg.h 21 Oct 2004 22:32:40 -0000 > @@ -998,6 +998,17 @@ struct dc_softc { > #define DC_DEVICEID_MSMN130_FAKE 0xFFF2 > > /* > + * Linksys vendor ID > + */ > +#define DC_VENDORID_LINKSYS 0x1737 > + > +/* > + * Linksys device IDs > + */ > +#define DC_DEVICEID_PCM200_AB08 0xab08 > +#define DC_DEVICEID_PCM200_AB09 0xab09 > + > +/* > * PCI low memory base and low I/O base register, and > * other PCI registers. > */ > > Timestamp: 0x4462D4BE > [SorAlx] ridin' VN1500-B2 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- John Baldwin