Subject: kern/7660: 3Com 3C900B-TPC is not supported in NetBSD-1.4
To: None <gnats-bugs@gnats.netbsd.org>
From: Robert Elz <kre@cs.mu.OZ.AU>
List: netbsd-bugs
Date: 05/28/1999 10:22:47
>Number:         7660
>Category:       kern
>Synopsis:       The 3Com 3C900B-TPC PCI ethernet card is not supported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 28 10:05:01 1999
>Last-Modified:
>Originator:     Robert Elz
>Organization:
	University of Melbourne
	Department of Computer Science
>Release:        NetBSD-1.4
>Environment:
	Ignore the environment below ...
System: NetBSD mulga.cs.mu.OZ.AU 1.3 NetBSD 1.3 (MULGA) #1: Wed Oct 28 16:54:21 EST 1998 kre@mulga.cs.mu.OZ.AU:/usr/src/sys/arch/sparc/compile/MULGA sparc
	The problem was obviously not observer on a sparc...
	It was really from an i386 (PentiumIII) running 1.4 (release)


>Description:
	The release notes indicate that the 3Com 3C90XB cards are
	supported - the 900B-TPC is not in 1.4.


>How-To-Repeat:
	Install a 3C900B-TPC and reboot, watch the boot messages...
>Fix:
	Install the following trivial patch, which just adds the
	3C900B-TPC to the list of known devices.   With this patch
	it all works just fine.

*** dev/pci/pcidevs.h.WAS	Wed Apr 14 08:52:42 1999
--- dev/pci/pcidevs.h	Sat May 29 01:30:38 1999
***************
*** 545,550 ****
--- 545,551 ----
  #define	PCI_PRODUCT_3COM_3C905T4	0x9051		/* 3c905-T4 10/100 Ethernet */
  #define	PCI_PRODUCT_3COM_3C900BTPO	0x9004		/* 3c900B-TPO Ethernet */
  #define	PCI_PRODUCT_3COM_3C900BCOMBO	0x9005		/* 3c900B-COMBO Ethernet */
+ #define	PCI_PRODUCT_3COM_3C900BTPC	0x9006		/* 3c900B-TPC Ethernet */
  #define	PCI_PRODUCT_3COM_3C905BTX	0x9055		/* 3c905B-TX 10/100 Ethernet */
  #define	PCI_PRODUCT_3COM_3C905BT4	0x9056		/* 3c905B-T4 10/100 Ethernet */
  #define	PCI_PRODUCT_3COM_3C905BFX	0x905a		/* 3c905B-FX 10/100 Ethernet */

*** dev/pci/if_ex_pci.c.WAS	Sat May 29 01:35:31 1999
--- dev/pci/if_ex_pci.c	Sat May 29 01:35:22 1999
***************
*** 124,129 ****
--- 124,131 ----
  	  "3c900B-TPO Ethernet" },
  	{ PCI_PRODUCT_3COM_3C900BCOMBO,	EX_CONF_90XB,
  	  "3c900B-COMBO Ethernet" },
+ 	{ PCI_PRODUCT_3COM_3C900BTPC,	EX_CONF_90XB,
+ 	  "3c900B-TPC Ethernet" },
  
  	{ PCI_PRODUCT_3COM_3C905BTX,	EX_CONF_90XB|EX_CONF_MII|EX_CONF_INTPHY,
  	  "3c905B-TX 10/100 Ethernet" },
>Audit-Trail:
>Unformatted: