From owner-freebsd-bugs Fri Jun 7 9:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E72E37B407 for ; Fri, 7 Jun 2002 09:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g57Go1t44018; Fri, 7 Jun 2002 09:50:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 3E4BB37B401 for ; Fri, 7 Jun 2002 09:42:33 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g57GgWhG032984 for ; Fri, 7 Jun 2002 09:42:32 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g57GgWb4032983; Fri, 7 Jun 2002 09:42:32 -0700 (PDT) Message-Id: <200206071642.g57GgWb4032983@www.freebsd.org> Date: Fri, 7 Jun 2002 09:42:32 -0700 (PDT) From: David Mansell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38988: New Netgear GA302-T has different PCI ID to what the bge(4) driver expects 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 >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