Subject: kern/18019: fxp(4) does not identify all cards it supports.
To: None <>
From: None <>
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
>Originator:     Andreas Wrede <>
>Release:        NetBSD 1.6F
Planix, Inc.
System: NetBSD 1.6F NetBSD 1.6F (PLANIX) #1: Wed Aug 21 13:59:00 EDT 2002 i386
Architecture: i386
Machine: i386
	The fxp(4) driver does not print the chip identifier for some chips
models that are in fact supported.
	Try to find the chip identification of a newer Intel PRO/100 VE 
in the kernel startup output.
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
+ 	 default:
+ 		printf(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
+ 		break;
  	/* Make sure bus-mastering is enabled. */