Subject: kern/4170: missing/incorect Intel PCIset and AGPset information in pcidevs
To: None <gnats-bugs@gnats.netbsd.org>
From: Carl Shapiro <css@samsara.dialup.access.net>
List: netbsd-bugs
Date: 09/27/1997 04:43:11
>Number:         4170
>Category:       kern
>Synopsis:       missing/incorect Intel PCIset and AGPset information in pcidevs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 01:50:04 1997
>Last-Modified:
>Originator:     Carl Shapiro
>Organization:
	
>Release:        19970926
>Environment:
System: NetBSD samsara.dialup.access.net 1.2G NetBSD 1.2G (PR440FX) #0: Fri Sep 26 21:46:14 EDT 1997 root@tanuki:/usr/src/sys/arch/i386/compile/PR440FX i386


>Description:
Missing information for Intel 440LX AGPset in sys/dev/pci/pcidevs as well
as sys/arch/i386/pci/pchb.c.  Also some incorrectness in Intel PCIset 
part numbers.
 
>How-To-Repeat:
Boot NetBSD/i386 on an 82440LX -based Pentium II.  Compare Intel part numbers
featured in pcidevs with those from the Intel datasheets.

>Fix:
Below diff 1) adds information for i82440LX AGPset to both
sys/dev/pci/pcidevs and sys/arch/i386/pci/pchb.c 2) corrects mistakes
in Intel PCIset and PCI IDE I/O Xcelerator part numbers 3) sync's
description of such parts with the Intel datasheets (which was
allready the case for some parts, but not others) 3) add device
information for two VIA parts (USB controller and PCI NE2000 card).



diff -crw /sys/arch/i386/pci/pchb.c work/sys/arch/i386/pci/pchb.c
*** /sys/arch/i386/pci/pchb.c	Tue Aug  5 23:19:19 1997
--- work/sys/arch/i386/pci/pchb.c	Sat Sep 27 00:33:29 1997
***************
*** 82,94 ****
  	switch (PCI_VENDOR(pa->pa_id)) {
  	case PCI_VENDOR_INTEL:
  		switch (PCI_PRODUCT(pa->pa_id)) {
  		case PCI_PRODUCT_INTEL_PCMC:
! 		case PCI_PRODUCT_INTEL_82437:
  		case PCI_PRODUCT_INTEL_82437MX:
! 		case PCI_PRODUCT_INTEL_82439:
! 		case PCI_PRODUCT_INTEL_82440FX:
! 		case PCI_PRODUCT_INTEL_82430VX:
! 		case PCI_PRODUCT_INTEL_CDC:
  		case PCI_PRODUCT_INTEL_PCI450_PB:
  		case PCI_PRODUCT_INTEL_PCI450_MC:
  			return (1);
--- 82,96 ----
  	switch (PCI_VENDOR(pa->pa_id)) {
  	case PCI_VENDOR_INTEL:
  		switch (PCI_PRODUCT(pa->pa_id)) {
+ 		case PCI_PRODUCT_INTEL_CDC:
  		case PCI_PRODUCT_INTEL_PCMC:
! 		case PCI_PRODUCT_INTEL_82437FX:
  		case PCI_PRODUCT_INTEL_82437MX:
! 		case PCI_PRODUCT_INTEL_82437VX:
! 		case PCI_PRODUCT_INTEL_82439HX:
! 		case PCI_PRODUCT_INTEL_82439TX:
! 		case PCI_PRODUCT_INTEL_82441FX:
! 		case PCI_PRODUCT_INTEL_82443LX:
  		case PCI_PRODUCT_INTEL_PCI450_PB:
  		case PCI_PRODUCT_INTEL_PCI450_MC:
  			return (1);
diff -crw /sys/arch/i386/pci/pcib.c work/sys/arch/i386/pci/pcib.c
*** /sys/arch/i386/pci/pcib.c	Tue Aug  5 23:19:19 1997
--- work/sys/arch/i386/pci/pcib.c	Sat Sep 27 00:40:02 1997
***************
*** 80,90 ****
  	case PCI_VENDOR_INTEL:
  		switch (PCI_PRODUCT(pa->pa_id)) {
  		case PCI_PRODUCT_INTEL_SIO:
! 		case PCI_PRODUCT_INTEL_PCIB:
  		case PCI_PRODUCT_INTEL_82371MX:
! 		case PCI_PRODUCT_INTEL_82371SB:
! 		case PCI_PRODUCT_INTEL_82371AB:
! 		case PCI_PRODUCT_INTEL_82471:
  			return (1);
  		}
  		break;
--- 80,91 ----
  	case PCI_VENDOR_INTEL:
  		switch (PCI_PRODUCT(pa->pa_id)) {
  		case PCI_PRODUCT_INTEL_SIO:
! 		case PCI_PRODUCT_INTEL_82426EX:
  		case PCI_PRODUCT_INTEL_82371MX:
! 		case PCI_PRODUCT_INTEL_82380AB:
! 		case PCI_PRODUCT_INTEL_PIIXISA:
! 		case PCI_PRODUCT_INTEL_PIIX3ISA:
! 		case PCI_PRODUCT_INTEL_PIIX4ISA:
  			return (1);
  		}
  		break;
diff -crw /sys/dev/pci/pcidevs work/sys/dev/pci/pcidevs
*** /sys/dev/pci/pcidevs	Wed Sep 24 07:20:47 1997
--- work/sys/dev/pci/pcidevs	Sat Sep 27 02:51:22 1997
***************
*** 730,764 ****
  product IMS 8849	0x8849	8849
  
  /* Intel products */
! product INTEL PCEB	0x0482	82375EB PCI-EISA Bridge
! product INTEL CDC	0x0483	82424ZX (Saturn) Cache and DRAM controller
! product INTEL SIO	0x0484	82378IB PCI-ISA Bridge (System I/O)
! product INTEL PCIB	0x0486	82426EX PCI-ISA Bridge
! product INTEL PCMC	0x04a3	82434LX/NX (Mercury/Neptune) PCI, Cache, and DRAM Controller
  product INTEL 82092AA	0x1222	82092AA IDE controller
  product INTEL SAA7116	0x1223	SAA7116
  product INTEL 82596	0x1226	82596 LAN Controller
  product INTEL EEPRO100	0x1227	EE Pro 100 10/100 Fast Ethernet
  product INTEL EEPRO100S	0x1228	EE Pro 100 Smart 10/100 Fast Ethernet
  product INTEL 82557	0x1229	82557 Fast Ethernet LAN Controller
! product INTEL 82437	0x122d	82437FX (Triton) PCI, Cache, and DRAM Controller
! product INTEL 82471	0x122e	82471FB (Triton) PCI-ISA Bridge
! product INTEL 82438	0x1230	82438 (Triton) IDE controller
! product INTEL 82371MX	0x1234	82371 (Triton MX) PCI-ISA Bridge and IDE Controller
! product INTEL 82437MX	0x1235	82437 (Triton MX) PCI, Cache, and DRAM Controller
! product INTEL 82440FX	0x1237	82440FX (Natoma) PCI and Memory Controller
! product INTEL 82439	0x1250	82439 (Triton II) TXC Host Bridge
! product INTEL 82371SB	0x7000	82371SB (Triton II) PCI-ISA Bridge
! product INTEL 82371IDE	0x7010	82371SB (Triton II) IDE controller
! product INTEL 82371USB	0x7020	82371SB (Triton II) USB Interface
! product INTEL 82430VX	0x7030	82430VX (Triton VX) Host Bridge
! product INTEL 82439TX	0x7100	82439TX (Triton TX) Host Bridge
! product INTEL 82371AB	0x7110	82371AB PIIX4 ISA Bridge
! product INTEL 82371ABIDE	0x7111	82371AB IDE Controller
! product INTEL 82371ABUSB	0x7112	82371AB USB Interface
! product INTEL 82371ABPM	0x7113	82371AB Power Management / SMBus Controller
! product INTEL PCI450_PB	0x84c4	450 PCIset (Orion) Host-PCI bridge
! product INTEL PCI450_MC	0x84c5	450 PCIset (Orion) Memory Controller
  
  /* I. T. T. products */
  product ITT AGX016	0x0001	AGX016
--- 730,767 ----
  product IMS 8849	0x8849	8849
  
  /* Intel products */
! product INTEL PCEB      0x0482  82375EB/SB PCI-EISA Bridge (PCEB)
! product INTEL CDC       0x0483  82424ZX Cache and DRAM controller (CDC)
! product INTEL SIO 	0x0484  82378ZB System I/O (SIO)
! product INTEL 82426EX	0x0486  82426EX PCI-to-ISA Bridge (PCIB)
! product INTEL PCMC      0x04a3  82434LX/NX PCI, Cache and Memory Controller (PCMC)
  product INTEL 82092AA   0x1222  82092AA IDE controller
  product INTEL SAA7116   0x1223  SAA7116
  product INTEL 82596     0x1226  82596 LAN Controller
  product INTEL EEPRO100  0x1227  EE Pro 100 10/100 Fast Ethernet
  product INTEL EEPRO100S 0x1228  EE Pro 100 Smart 10/100 Fast Ethernet
  product INTEL 82557     0x1229  82557 Fast Ethernet LAN Controller
! product INTEL 82437FX   0x122d  82437FX System Controller (TSC)
! product INTEL PIIXISA   0x122e  82371FB PCI-to-ISA Bridge (PIIX)
! product INTEL PIIXIDE   0x1230  82371FB IDE controller (PIIX)
! product INTEL 82371MX	0x1234  82371MX Mobile PCI I/O IDE Xcelerator (MPIIX)
! product INTEL 82437MX	0x1235  82437MX Mobile System Controller (MTSC)
! product INTEL 82441FX   0x1237  82441FX PCI and Memory Controller (PMC)
! product INTEL 82380AB   0x123c  82380AB Mobile PCI-to-ISA Bridge (MISA)
! product INTEL 82380FB   0x124b  82380FB Mobile PCI-to-PCI Bridge (MPCI2)
! product INTEL 82439HX	0x1250  82439HX System Controller (TXC)
! product INTEL PIIX3ISA  0x7000  82371SB PCI-to-ISA Bridge (PIIX3)
! product INTEL PIIX3IDE  0x7010  82371SB IDE Interface (PIIX3)
! product INTEL PIIX3USB  0x7020  82371SB USB Host Controller (PIIX3)
! product INTEL 82437VX	0x7030  82437VX System Controller (TVX)
! product INTEL 82439TX	0x7100  82439TX System Controller (MTXC)
! product INTEL PIIX4ISA  0x7110  82371AB PCI-to-ISA Bridge (PIIX4)
! product INTEL PIIX4IDE	0x7111	82371AB IDE controller (PIIX4)
! product INTEL PIIX4USB	0x7112	82371AB USB Host Controller (PIIX4)
! product INTEL PIIX4PMC	0x7113	82371AB Power Management Controller (PIIX4)
! product INTEL 82443LX	0x7180	82443LX PCI AGP Controller (PAC)
! product INTEL PCI450_PB 0x84c4  82454KX/GX PCI Bridge (PB)
! product INTEL PCI450_MC 0x84c5  82451KX/GX Memory Controller (MC)
  
  /* I. T. T. products */
  product ITT AGX016	0x0001	AGX016
***************
*** 941,950 ****
--- 944,955 ----
  product VIATECH VT82C561        0x0561  VT82C561
  product VIATECH VT82C576        0x0576  VT82C576 3V
  product VIATECH VT82C586        0x0586  VT82C586 (Apollo VP) PCI-ISA Bridge
+ product VIATECH VT86C926	0x0926	VT86C926 Amazon PCI-Ethernet Controller
  product VIATECH VT82C570M       0x1000  VT82C570M (Apollo) Host-PCI Bridge
  product VIATECH VT82C570MV      0x1006  VT82C570M (Apollo) PCI-ISA Bridge
  product VIATECH VT82C416MV      0x1571  VT82C416MV
  product VIATECH VT82C595        0x1595  VT82C595 (Apollo VP2) Host-PCI Bridge
+ product VIATECH VT83C572        0x3038  VT83C572 USB Controller     
  
  /* Vortex Computer Systems products */
  product VORTEX GDT_6000B	0x0001	GDT 6000b
>Audit-Trail:
>Unformatted: