From owner-freebsd-bugs Sun Jul 21 16:30:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F126A37B400 for ; Sun, 21 Jul 2002 16:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C5E43E58 for ; Sun, 21 Jul 2002 16:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LNU4JU065901 for ; Sun, 21 Jul 2002 16:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6LNU4bg065900; Sun, 21 Jul 2002 16:30:04 -0700 (PDT) Date: Sun, 21 Jul 2002 16:30:04 -0700 (PDT) Message-Id: <200207212330.g6LNU4bg065900@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brad Chapman Subject: Re: kern/38988: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects Reply-To: Brad Chapman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/38988; it has been noted by GNATS. From: Brad Chapman To: freebsd-gnats-submit@FreeBSD.org, davidm@nsell.org Cc: Subject: Re: kern/38988: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects Date: Sun, 21 Jul 2002 19:28:07 -0400 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello; I would just like to confirm the bug report in kern/38988; I set up FreeBSD 4.6 on a new machine with a Netgear GA302-T card, and the bge driver did not recognize it. Attached are two patches, to /usr/src/sys/dev/bge/if_bge.c and if_bgereg.h, which fix the problem and should be back-compatible to cards with different device ids. Hope this helps! Brad --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_bgereg.h.diff" *** if_bgereg.h.orig Sun Jun 30 13:43:44 2002 --- if_bgereg.h Sun Jul 21 19:16:49 2002 *************** *** 1813,1818 **** --- 1813,1824 ---- #define ALTIMA_DEVICE_AC1000 0x03e8 /* + * Netgear vendor/device ID. + */ + #define NETGEAR_VENDORID 0x173b + #define NETGEAR_DEVICE_GA302T 0x03ea + + /* * Offset of MAC address inside EEPROM. */ #define BGE_EE_MAC_OFFSET 0x7C --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_bge.c.diff" *** if_bge.c.orig Wed Apr 24 00:22:13 2002 --- if_bge.c Thu Jul 18 16:26:11 2002 *************** *** 143,148 **** --- 143,150 ---- "SysKonnect Gigabit Ethernet" }, { ALTIMA_VENDORID, ALTIMA_DEVICE_AC1000, "Altima AC1000 Gigabit Ethernet" }, + { NETGEAR_VENDORID, NETGEAR_DEVICE_GA302T, + "Netgear GA302T Gigabit Ethernet" }, { 0, 0, NULL } }; --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message