Subject: kern/34289: Some missing PCI devices in pcidevs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <stephane.witzmann@gmail.com>
List: netbsd-bugs
Date: 08/26/2006 13:00:01
>Number:         34289
>Category:       kern
>Synopsis:       Some missing PCI devices in pcidevs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 26 13:00:01 +0000 2006
>Originator:     Stéphane Witzmann
>Release:        NetBSD 4_BETA/amd64
>Organization:
>Environment:
NetBSD wolfenstein 4.0_BETA NetBSD 4.0_BETA (GENERIC_ACPI) #0: Sat Aug 26 14:43:33 CEST 2006  durandil@wolfenstein:/home/durandil/NetBSD/head/cross/obj/sys/arch/amd64/compile/GENERIC_ACPI amd64

>Description:
Some PCI devices IDs are missing, see the following dmesg.


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.0_BETA (GENERIC_ACPI) #0: Sat Aug 12 06:25:25 UTC 2006
	builds@b1.netbsd.org:/home/builds/ab/netbsd-4/amd64/200608120000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile/GENERIC_ACPI
total memory = 894 MB
avail memory = 850 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1596.12 MHz
cpu0: features: ffdbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: ffdbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: ffdbfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 256 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: AMD Power Management features: TS FID VID TTP TM STC
cpu0: AMD PowerNow! Technology
cpu0: available frequencies (Mhz): 800 1600
cpu0: current frequency (Mhz): 1600
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: not started
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 21, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
timecounter: selected timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 32-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0D [ACPI lid device] at acpi0 not configured
PNP0C0C [ACPI power button device] at acpi0 not configured
PNP0C0E [ACPI sleep button device] at acpi0 not configured
ACPI0003 [AC Device] at acpi0 not configured
PNP0C0A [ACPI Control Method Battery] at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C09 [ACPI Embedded Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
ACPI Object Type 'Thermal' (0x0d) at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ATI Technologies RS480 Host Bridge (rev. 0x10)
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x5a3f (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies product 0x5975 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 4 function 0: ATI Technologies product 0x5a36 (rev. 0x00)
pci2 at ppb1 bus 2
pci2: no spaces enabled!
ixpide0 at pci0 dev 18 function 0
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
ixpide0: using ioapic0 pin 22 (irq 11) for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
ohci0 at pci0 dev 19 function 0: ATI Technologies SB400 USB Host Controller (rev. 0x80)
ohci0: interrupting at ioapic0 pin 19 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1 at pci0 dev 19 function 1: ATI Technologies SB400 USB Host Controller (rev. 0x80)
ohci1: interrupting at ioapic0 pin 19 (irq 10)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0 at pci0 dev 19 function 2: ATI Technologies SB400 USB2 Host Controller (rev. 0x80)
ehci0: interrupting at ioapic0 pin 19 (irq 10)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: ATI Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
ATI Technologies SB400 SMBus Controller (SMBus serial bus, revision 0x83) at pci0 dev 20 function 0 not configured
ixpide1 at pci0 dev 20 function 1
ixpide1: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide1: bus-master DMA support present
ixpide1: primary channel configured to compatibility mode
ixpide1: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus2 at ixpide1 channel 0
ixpide1: secondary channel wired to compatibility mode
ixpide1: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus3 at ixpide1 channel 1
azalia0 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16 (irq 11)
azalia0: host: 0x1002/0x437b (rev. 1)
azalia0: host: High Definition Audio rev. 1.0
pcib0 at pci0 dev 20 function 3
pcib0: ATI Technologies SB400 PCI-ISA Bridge (rev. 0x80)
ppb2 at pci0 dev 20 function 4: ATI Technologies SB400 PCI-PCI Bridge (rev. 0x80)
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled
Broadcom product 0x4318 (miscellaneous network, revision 0x02) at pci3 dev 3 function 0 not configured
fwohci0 at pci3 dev 4 function 0: O2 Micro product 0x00f7 (rev. 0x02)
fwohci0: can't map OHCI register space
O2 Micro product 0x7120 (SD Host Controller system, revision 0x01) at pci3 dev 4 function 2 not configured
O2 Micro product 0x7130 (miscellaneous mass storage, revision 0x01) at pci3 dev 4 function 3 not configured
rtk0 at pci3 dev 5 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at ioapic0 pin 21 (irq 11)
rtk0: Ethernet address 00:03:0d:46:df:74
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
pcppi0: attached to attimer0
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 1596115750 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: 0x1057/0x3055 (rev. 7.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: codec[0]: No support for modem function groups
azalia0: codec[0] has no audio function groups
azalia0: codec[1]: 0x10ec/0x0861 (rev. 3.0)
azalia0: codec[1]: High Definition Audio rev. 1.0
azalia0: playback: max channels=2, encodings=1<PCM>
azalia0: playback: PCM formats=e0140<24bit,20bit,16bit,96kHz,48kHz>
azalia0: recording: max channels=2, encodings=1<PCM>
azalia0: recording: PCM formats=20140<16bit,96kHz,48kHz>
azalia0: RIRB time out
audio0 at azalia0: full duplex, independent
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <FUJITSU MHV2100BH>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS DVD+/-RW SDVD8820, , AJ10> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(ixpide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
uhidev0 at uhub0 port 4 configuration 1 interface 0
uhidev0: Microsoft Microsoft Trackball OpticalM-BM-., rev 1.10/1.21, addr 2, iclass 3/1
ums0 at uhidev0: 5 buttons and Z dir.
wsmouse1 at ums0 mux 0


>How-To-Repeat:

>Fix:
Patch provided:

--- src/sys/dev/pci/pcidevs.bak	2006-08-17 05:34:15.000000000 +0200
+++ src/sys/dev/pci/pcidevs	2006-08-26 14:31:33.000000000 +0200
@@ -1169,7 +1169,10 @@ product ATI RADEON_RV280_5962	0x5962	Rad
 product ATI RADEON_RV280_5963	0x5963	Radeon 9200 5963
 product ATI RADEON_RV280_5964	0x5964	Radeon 9200SE 5964
 product ATI RS480_HB		0x5950	RS480 Host Bridge
+product ATI RS482M		0x5975	Radeon Xpress Series (RS482M)
 product ATI RS480_XRP		0x5a34	RS480 PCI Express Root Port
+product ATI RS480_PPB_5A36	0x5a36	RS480 PCI Express Bridge
+product ATI RS480_PPB_5A3F	0x5a3f	RS480 PCI Express Bridge
 product ATI RADEON_RV370_5B60	0x5b60	Radeon X300 (RV370) 5B60
 product ATI RADEON_RV370_5B64	0x5b64	FireGL V3100 (RV370) 5B64
 product ATI RADEON_RV370_5B65	0x5b64	FireGL D1100 (RV370) 5B65
@@ -1286,6 +1289,7 @@ product BROADCOM BCM5789	0x169d	BCM5789 
 product BROADCOM BCM4401_B0	0x170c	BCM4401-B0 10/100 Ethernet
 product BROADCOM BCM5901	0x170d	BCM5901 10/100 Ethernet
 product BROADCOM BCM5901A2	0x170e	BCM5901A 10/100 Ethernet
+product BROADCOM BCM4318	0x4318	BCM4318 AirForce One 54g
 product BROADCOM BCM4401	0x4401	BCM4401 10/100 Ethernet
 product BROADCOM 5801		0x5801	5801 Security processor
 product BROADCOM 5802		0x5802	5802 Security processor
@@ -1636,6 +1640,7 @@ product ESSTECH2 MAESTRO1	0x0100	Maestro
 product EUMITCOM WL11000P	0x1100	WL11000P PCI WaveLAN/IEEE 802.11
 
 /* O2 Micro */
+product O2MICRO 00F7		0x00f7	Integrated OHCI IEEE 1394 Host Controller
 product O2MICRO OZ6729		0x6729	OZ6729 PCI-PCMCIA Bridge
 product O2MICRO OZ6730		0x673A	OZ6730 PCI-PCMCIA Bridge
 product O2MICRO OZ6832		0x6832	OZ6832/OZ6833 PCI-CardBus Bridge
@@ -1644,6 +1649,8 @@ product O2MICRO OZ6872		0x6872	OZ6812/OZ
 product O2MICRO OZ6922		0x6925	OZ6922 PCI-CardBus Bridge
 product O2MICRO OZ6933		0x6933	OZ6933 PCI-CardBus Bridge
 product O2MICRO OZ6972		0x6972	OZ6912/OZ6972 PCI-CardBus Bridge
+product O2MICRO 7120		0x7120	Integrated MMC/SD Controller
+product O2MICRO 7130		0x7130	Integrated MS/xD/SM Controller
 
 /* Evans & Sutherland products */
 product ES FREEDOM	0x0001	Freedom PCI-GBus Interface