Date: Sun, 21 Jul 2002 16:30:04 -0700 (PDT) From: Brad Chapman <chapmanb@arches.uga.edu> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/38988: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects Message-ID: <200207212330.g6LNU4bg065900@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/38988; it has been noted by GNATS. From: Brad Chapman <chapmanb@arches.uga.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207212330.g6LNU4bg065900>