From owner-freebsd-hardware@FreeBSD.ORG Sun Oct 17 17:23:03 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D752416A4CE for ; Sun, 17 Oct 2004 17:23:03 +0000 (GMT) Received: from cydem.org (S0106000103ce4c9c.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 519AF43D1D for ; Sun, 17 Oct 2004 17:23:03 +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 42C0D39563 for ; Sun, 17 Oct 2004 11:23:03 -0600 (MDT) From: To: freebsd-hardware@freebsd.org Date: Sun, 17 Oct 2004 11:22:28 -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-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410171122.28021.soralx@cydem.org> Subject: [PATCH] Re: Linksys PCM200 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 17:23:04 -0000 I've just tested this on 5.3-BETA7 - works OK, no more watchdog timeouts. So could someone review those patches and add 'em to the source tree? --- ./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