From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 21 04:59:42 2004 Return-Path: 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 5D0B816A4CE for ; Thu, 21 Oct 2004 04:59:42 +0000 (GMT) Received: from cydem.org (S0106000103ce4c9c.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF9D043D53 for ; Thu, 21 Oct 2004 04:59:41 +0000 (GMT) (envelope-from soralx@cydem.org) Received: from S01060020ed3972ba.ed.shawcable.net (S01060020ed3972ba.ed.shawcable.net [68.149.254.42]) by cydem.org (Postfix/FreeBSD) with ESMTP id CB72538A16 for ; Wed, 20 Oct 2004 22:59:41 -0600 (MDT) From: To: freebsd-hackers@freebsd.org Date: Wed, 20 Oct 2004 22:59:50 -0600 User-Agent: KMail/1.5.4 References: <200410132110.09915.soralx@cydem.org> In-Reply-To: <200410132110.09915.soralx@cydem.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200410171122.28021.soralx@cydem.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [PATCH] Re: Linksys PCM200 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 04:59:42 -0000 [got no answer on hardware@] I've tested this on 5.3-BETA7 - works OK, no more watchdog timeouts. So could someone review those patches and add them to the source tree? It's probably a good idea to update dc(4) and supported hw list also. /usr/src/sys/pci/if_dc.c udiff: --- ./if_dc.c Sat Jan 24 22:23:21 2004 +++ /fd0/if_dc.c Wed Oct 13 20:56:08 2004 @@ -217,6 +217,10 @@ "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 EtherFast 10/100 CardBus ethernet adapter, v.03 (ADMtek Centaur-C)" }, + { DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB09, + "Linksys PCM200 EtherFast 10/100 CardBus ethernet adapter, v.03 (ADMtek Centaur-C)" }, { 0, 0, NULL } }; @@ -1978,6 +1982,7 @@ 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; /usr/src/sys/pci/if_dcreg.h udiff: --- ./if_dcreg.h Fri Jan 9 14:13:56 2004 +++ /fd0/if_dcreg.h Wed Oct 13 20:44:50 2004 @@ -1002,6 +1002,18 @@ #define DC_DEVICEID_MSMN130 0x0002 #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: 0x4172A6A5 [SorAlx] http://cydem.org.ua/ ridin' VN1500-B2