Subject: kern/18019: fxp(4) does not identify all cards it supports.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 08/21/2002 14:47:14
>Number: 18019
>Category: kern
>Synopsis: fxp(4) does not identify all chip models it supports
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 21 11:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Andreas Wrede <andreas@planix.com>
>Release: NetBSD 1.6F
>Organization:
Planix, Inc.
>Environment:
System: NetBSD woffi.planix.com 1.6F NetBSD 1.6F (PLANIX) #1: Wed Aug 21 13:59:00 EDT 2002 root@woffi.planix.com:/m5/netbsd-current/src/sys/arch/i386/compile/WOFFI i386
Architecture: i386
Machine: i386
>Description:
The fxp(4) driver does not print the chip identifier for some chips
models that are in fact supported.
>How-To-Repeat:
Try to find the chip identification of a newer Intel PRO/100 VE
in the kernel startup output.
>Fix:
Apply patch below. Note that the driver also has the reverse case. Some
chip models are not listed in the fxp_pci_product table but they are
referenced in the fxp_pci_attach() routine, like
the PCI_PRODUCT_INTEL_PRO_100_VM_* ones. Don't know if they should be
in the fxp_pci_product table.
Index: if_fxp_pci.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/if_fxp_pci.c,v
retrieving revision 1.24
diff -c -r1.24 if_fxp_pci.c
*** if_fxp_pci.c 2002/07/22 08:25:45 1.24
--- if_fxp_pci.c 2002/08/21 18:10:07
***************
*** 383,388 ****
--- 383,391 ----
* in detail
*/
break;
+ default:
+ printf(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
+ break;
}
/* Make sure bus-mastering is enabled. */
>Release-Note:
>Audit-Trail:
>Unformatted: