Date: Fri, 7 Jun 2002 09:42:32 -0700 (PDT) From: David Mansell <davidm@nsell.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/38988: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects Message-ID: <200206071642.g57GgWb4032983@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 38988
>Category: kern
>Synopsis: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 07 09:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: David Mansell
>Release: 4.6-RC3
>Organization:
N/A
>Environment:
FreeBSD ice.storm 4.6-RC3 FreeBSD 4.6-RC3 #0: Mon Jun 3 23:47:06 BST 2002 davidm@ice.storm:/usr/obj/usr/src/sys/ICE i386
>Description:
I recently bought a Netgear GA302-T Gigabit Ethernet card. FreeBSD refused to recognise it and investigation revealed that the PCI ID of my card differs from what the driver expects. I manually changed the PCI ID in the driver and the card now appears to work.
pciconf -lv gives:
bge0@pci0:15:0: class=0x020000 card=0x302a1385 chip=0x03ea173b rev=0x15 hdr=0x00
class = network
subclass = ethernet
And from the (unmodified) /usr/src/sys/dev/bge/if_bgereg.h file:
/*
* Altima PCI vendor/device ID.
*/
#define ALTIMA_VENDORID 0x173b
#define ALTIMA_DEVICE_AC1000 0x03e8
I guess it's a slightly different chip; just hacking ALTIMA_DEVICE_AC1000 to 0x03ea made the driver start working but a proper fix might be more work.
>How-To-Repeat:
I imagine the problem applies to any new GA302-T cards.
>Fix:
Update the driver to correctly deal with cards with the "new" ID :)
>Release-Note:
>Audit-Trail:
>Unformatted:
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?200206071642.g57GgWb4032983>
