Subject: Re: pcmcia io alloc and map (can this be right?)
To: Sverre Froyen <sverre@viewmark.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: current-users
Date: 02/18/2006 13:44:07
int au_gpio_read(int);
void au_gpio_write(int, int);
int au_gpio_ctl(int, int);

int au_gpio2_read(int);
void au_gpio2_write(int, int);
int au_gpio2_ctl(int, int);
PCMCIA is "funny".

There is an attempt to make the bus spaces exposed to code (drivers)
either zero based or based off of some small value.  This emulates the
IO space addresses of 0xYYY (where YYY is small) that are used in PCs,
for which PCMCIA is designed.

In real life, the IO spaces could be mapped elsewhere.  It might
actually be pretty inconvenient to stick the IO space in low "IO" space,
because the space is so crowded on PCs.

So it seems to me to be perfectly reasonable that a PCMCIA controller
would do this.  I don't think you need to worry about it.

(If you're used to PCs, this might be somewhat surprising, since usually
the bus_addr_t is the same as the physical address.  Other platforms,
like my Alchemy code for MIPS, don't do this.)

    -- Garrett

Sverre Froyen wrote:
> Hi,
>
> With a pcmcia modem card (which does not work with NetBSD) I observe the 
> following from the dmesg output (attached):
>
> The function pcmcia_function_configure is called.  It calls the following 
> functions with the attendant dmesg output in parenthesis:
>
> pcmcia_config_alloc
> 	pccbb_pcmcia_io_alloc
> 		rbus_space_alloc
> 		(addr 3f8, size 8, mask 3ff, align 400)
> 	(alloc port 0x4000+0x8)
> pcmcia_config_map
> 	pcmcia_io_map
> 		pccbb_pcmcia_io_map
> 		(window 0 io8 port 4000+8)
> 			pccbb_pcmcia_do_io_map
> 			(win 0 addr 0x4000 size 0x8 width 8)
> 			(start 00 40, stop 07 40, ioctl 00 enable 40)
>
> When attempting to read or write to the modem, the bus_space read and write 
> functions are using a bus_space_tag_t value of 0 (IO space) and a bus_addr_t 
> value of 0x43f8.  This appears to conflict with the dmesg output from 
> pccbb_pcmcia_io_alloc which says the address space ranges from 0x4000 to 
> 0x4008 (not including 0x43f8) and also with the output from 
> pccbb_pcmcia_do_io_map which maps the same range.
>
> Comments and help are appreciated!
>
> Attached is the dmesg output before inserting the modem card (dmesg) and the 
> additional dmesg output when the card is inserted (dmesg_pcmcia).
>
> Thanks,
>
> Sverre
> 		
>
>   
> ------------------------------------------------------------------------
>
> NetBSD 3.99.15 (ABBOR) #0: Fri Feb 17 09:59:08 MST 2006
> 	toor@abbor.fesk.com:/usr/src/objdir/sys/arch/i386/compile.i386/ABBOR
> total memory = 510 MB
> avail memory = 493 MB
> BIOS32 rev. 0 found at 0xfd750
> PCI BIOS rev. 2.1 found at 0xfd8d6
> pcibios: config mechanism [1][x], special cycles [x][x], last bus 8
> PCI IRQ Routing Table rev. 1.0 found at 0xfdea0, size 272 bytes (15 entries)
> PCI Interrupt Router at 000:31:0 (Intel 82371FB (PIIX) PCI-ISA Bridge compatible)
> ------------------------------------------
>   device vendor product pin PIRQ IRQ stage
> ------------------------------------------
> 000:29:0 0x8086 0x24c2   A  0x00  11  0    already assigned
> 000:29:1 0x8086 0x24c4   B  0x03  11  0    already assigned
> 000:29:2 0x8086 0x24c7   C  0x02  11  0    already assigned
> 000:29:7 0x8086 0x24cd   D  0x07  11  0    already assigned
> 000:31:1 0x8086 0x24ca   A  0x02  11  0    fixed up
> 000:31:3 0x8086 0x24c3   B  0x01  11  0    already assigned
> 000:31:5 0x8086 0x24c5   B  0x01  11  0    already assigned
> 000:31:6 0x8086 0x24c6   B  0x01  11  0    already assigned
> 001:00:0 0x1002 0x4e50   A  0x00  11  0    already assigned
> 002:00:0 0x104c 0xac46   A  0x00  11  0    already assigned
> 002:00:1 0x104c 0xac46   B  0x01  11  0    already assigned
> 002:01:0 0x8086 0x101e   A  0x00  11  0    already assigned
> 002:02:0 0x8086 0x4220   A  0x02  11  0    already assigned
> ------------------------------------------
> mainbus0 (root)
> pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005800
> pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005808
> pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x00005810
> pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x0000580c
> pci_addr_fixup: 000:31:1 0x8086 0x24ca new address 0x1fe00000
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Pentium M (Dothan) (686-class), 1694.57 MHz, id 0x6d6
> cpu0: features afe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
> cpu0: features afe9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
> cpu0: features afe9f9bf<FXSR,SSE,SSE2,SS,TM,SBF>
> cpu0: features2 180<EST,TM2>
> cpu0: "Intel(R) Pentium(R) M processor 1.70GHz"
> cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
> cpu0: L2 cache 2 MB 64B/line 8-way
> cpu0: using thermal monitor 2
> cpu0: Enhanced SpeedStep running at 1700 MHz (1340 mV)
> cpu0: Enhanced SpeedStep frequencies available (MHz): 1700 1400 1200 1000 800 600
> cpu0: 64 page colors
> acpi0 at mainbus0
> acpi0: using Intel ACPI CA subsystem version 20060113
> acpi0: X/RSDT: OemId <IBM   ,TP-1R   ,00003190>, AslId < LTP,00000000>
> acpi0: found ECDT, GPE 28
> acpi0: SCI interrupting at int 9
> acpi0: fixed-feature power button present
> ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C0F at acpi0 not configured
> PNP0C01 at acpi0 not configured
> acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
> acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
> PNP0A03 at acpi0 not configured
> PNP0C02 at acpi0 not configured
> PNP0000 at acpi0 not configured
> attimer0 at acpi0 (PNP0100): AT Timer
> attimer0: io 0x40-0x43 irq 0
> PNP0200 at acpi0 not configured
> pcppi0 at acpi0 (PNP0800)
> pcppi0: io 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> npx1 at acpi0 (PNP0C04)
> npx1: io 0xf0 irq 13
> npx1: using exception 16
> PNP0B00 at acpi0 not configured
> pckbc1 at acpi0 (PNP0303): kbd port
> pckbc1: io 0x60,0x64 irq 1
> pckbc2 at acpi0 (IBM0057): aux port
> pckbc2: irq 12
> fdc1 at acpi0 (PNP0700)
> fdc1: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
> PNP0501 at acpi0 not configured
> lpt3 at acpi0 (PNP0400)
> lpt3: io 0x3bc-0x3be irq 7
> IBM0071 at acpi0 not configured
> acpiec0 at acpi0 (PNP0C09-0): ACPI Embedded Controller
> acpiec0: io 0x62,0x66
> ACPI Object Type 'Power' (0x0b) at acpi0 not configured
> acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
> acpiacad0 at acpi0 (ACPI0003-0): ACPI AC Adapter
> IBM0068 at acpi0 not configured
> acpitz0 at acpi0: ACPI Thermal Zone
> acpitz0: unable to get polling interval; using default of 30.0s
> acpitz0: passive cooling mode only
> acpitz0: critical 93.0C passive 55.0C
> pcppi0: attached to attimer0
> pckbd0 at pckbc1 (kbd slot)
> pckbc1: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc1 (aux slot)
> pms0: Synaptics touchpad version 5.9
> pms0: Palm detect, Multi-finger
> pckbc1: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> 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: PCI configuration registers:
>   Common header:
>     0x00: 0x33408086 0x20900106 0x06000003 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82855PM MCH Host Controller (0x3340)
>     Command register: 0x0106
>       I/O space accesses: off
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x2090
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: fast (0x0)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: on
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: bridge (0x06)
>     Subclass Name: host (0x00)
>     Interface: 0x00
>     Revision ID: 0x03
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0xd0000008 0x00000000 0x00000000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x05291014
>     0x30: 0x00000000 0x000000e4 0x00000000 0x00000000
>
>     Base address register at 0x10
>       type: 32-bit prefetchable memory
>       base: 0xd0000000, not sized
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0529
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0xe4
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x00 (none)
>     Interrupt line: 0x00
>
>   Capability register at 0xe4
>     type: 0x09 (Vendor-specific)
>   Capability register at 0xa0
>     type: 0x02 (AGP, rev. 2.0)
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00002700
>     0x60: 0x10100804 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000302 0x00000000 0x2d020000 0x30403271
>     0x80: 0x05800071 0x00000000 0x00011000 0x00000000
>     0x90: 0x01111110 0x00111130 0x00001941 0x007d1a00
>     0xa0: 0x00200002 0x1f000217 0x00000001 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00001020
>     0xc0: 0x11504044 0x06052000 0x00000000 0x00000000
>     0xd0: 0x0e002802 0x3000000b 0xb5310000 0x00020000
>     0xe0: 0x00000000 0x4104a009 0x00000000 0x00000000
>     0xf0: 0x00010000 0x8020f874 0x00210f38 0x00000004
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82855PM MCH Host Controller (host bridge, revision 0x03) at ? dev 0 function 0 (tag 0x80000000, intrtag 0x80000000, intrswiz 0, intrpin 0, i/o off, mem on, no quirks)
> pchb0: Intel 82855PM MCH Host Controller (rev. 0x03)
> agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
> ppb0 at pci0 dev 1 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x33418086 0x00a00107 0x06040003 0x00016000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82855PM Host-AGP Bridge (0x3341)
>     Command register: 0x0107
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x00a0
>       Capability List support: off
>       66 MHz capable: on
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: fast (0x0)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: bridge (0x06)
>     Subclass Name: PCI (0x04)
>     Interface: 0x00
>     Revision ID: 0x03
>     BIST: 0x00
>     Header Type: 0x01 (0x01)
>     Latency Timer: 0x60
>     Cache Line Size: 0x00
>
>   Type 1 (PCI-PCI bridge) header:
>     0x10: 0x00000000 0x00000000 0x40010100 0x22a03030
>     0x20: 0xc010c010 0xe7f0e000 0x00000000 0x00000000
>     0x30: 0x00000000 0x00000000 0x00000000 0x000c0000
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Primary bus number: 0x00
>     Secondary bus number: 0x01
>     Subordinate bus number: 0x01
>     Secondary bus latency timer: 0x40
>     Secondary status register: 0x22a0
>       66 MHz capable: on
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Signaled Target Abort: off
>       Received Target Abort: off
>       Received Master Abort: on
>       System Error: off
>       Parity Error: off
>     I/O region:
>       base register:  0x30
>       limit register: 0x30
>       base upper 16 bits register:  0x0000
>       limit upper 16 bits register: 0x0000
>     Memory region:
>       base register:  0xc010
>       limit register: 0xc010
>     Prefetchable memory region:
>       base register:  0xe000
>       limit register: 0xe7f0
>       base upper 32 bits register:  0x00000000
>       limit upper 32 bits register: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Expansion ROM Base Address: 0x00000000
>     Interrupt line: 0x00
>     Interrupt pin: 0x00 (none)
>     Bridge control register: 0x000c
>       Parity error response: off
>       Secondary SERR forwarding: off
>       ISA enable: on
>       VGA enable: on
>       Master abort reporting: off
>       Secondary bus reset: off
>       Fast back-to-back capable: off
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x1fff95d4 0x0009f441 0x8c9408cc 0x0003fe55
>     0x60: 0x00000001 0x00804852 0x000000b2 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82855PM Host-AGP Bridge (PCI bridge, revision 0x03) at ? dev 1 function 0 (tag 0x80000800, intrtag 0x80000800, intrswiz 0, intrpin 0, i/o on, mem on, no quirks): Intel 82855PM Host-AGP Bridge (rev. 0x03)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x4e501002 0x02b00307 0x03000000 0x00004208
>
>     Vendor Name: ATI Technologies (0x1002)
>     Device Name: Mobility Radeon 9700 (0x4e50)
>     Command register: 0x0307
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: on
>     Status register: 0x02b0
>       Capability List support: on
>       66 MHz capable: on
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: display (0x03)
>     Subclass Name: VGA (0x00)
>     Interface: 0x00
>     Revision ID: 0x00
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x42
>     Cache Line Size: 0x08
>
>   Type 0 ("normal" device) header:
>     0x10: 0xe0000008 0x00003001 0xc0100000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x05501014
>     0x30: 0x00000000 0x00000058 0x00000000 0x0008010b
>
>     Base address register at 0x10
>       type: 32-bit prefetchable memory
>       base: 0xe0000000, size: 0x08000000
>     Base address register at 0x14
>       type: 32-bit i/o
>       base: 0x00003000, size: 0x00000100
>     Base address register at 0x18
>       type: 32-bit nonprefetchable memory
>       base: 0xc0100000, size: 0x00010000
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0550
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0x58
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x08
>     Interrupt pin: 0x01 (pin A)
>     Interrupt line: 0x0b
>
>   Capability register at 0x58
>     type: 0x02 (AGP, rev. 2.0)
>   Capability register at 0x50
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x05501014
>     0x50: 0x06020001 0x00000000 0x00205002 0x4f000217
>     0x60: 0x00000200 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000005 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> ATI Technologies Mobility Radeon 9700 (VGA display) at ? dev 0 function 0 (tag 0x80010000, intrtag 0x80000800, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks): ATI Technologies Mobility Radeon 9700 (rev. 0x00)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
> wsmux1: connecting to wsdisplay0
> uhci0 at pci0 dev 29 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x24c28086 0x02800005 0x0c030001 0x00800000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB USB UHCI Controller (0x24c2)
>     Command register: 0x0005
>       I/O space accesses: on
>       Memory space accesses: off
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: serial bus (0x0c)
>     Subclass Name: USB (0x03)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00+multifunction (0x80)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00001801 0x00000000 0x00000000 0x052d1014
>     0x30: 0x00000000 0x00000000 0x00000000 0x0000010b
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       type: 16-bit i/o
>       base: 0x00001800, size: 0x00000020
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052d
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x01 (pin A)
>     Interrupt line: 0x0b
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000010 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00002f00 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB USB UHCI Controller (USB serial bus, revision 0x01) at ? dev 29 function 0 (tag 0x8000e800, intrtag 0x8000e800, intrswiz 0, intrpin 0x1, i/o on, mem off, no quirks): Intel 82801DB USB UHCI Controller (rev. 0x01)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 29 function 1: PCI configuration registers:
>   Common header:
>     0x00: 0x24c48086 0x02800005 0x0c030001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB USB UHCI Controller (0x24c4)
>     Command register: 0x0005
>       I/O space accesses: on
>       Memory space accesses: off
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: serial bus (0x0c)
>     Subclass Name: USB (0x03)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00001821 0x00000000 0x00000000 0x052d1014
>     0x30: 0x00000000 0x00000000 0x00000000 0x0000020b
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       type: 16-bit i/o
>       base: 0x00001820, size: 0x00000020
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052d
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x02 (pin B)
>     Interrupt line: 0x0b
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000010 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00002f00 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB USB UHCI Controller (USB serial bus, revision 0x01) at ? dev 29 function 1 (tag 0x8000e900, intrtag 0x8000e900, intrswiz 0, intrpin 0x2, i/o on, mem off, no quirks): Intel 82801DB USB UHCI Controller (rev. 0x01)
> uhci1: interrupting at irq 11
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 29 function 2: PCI configuration registers:
>   Common header:
>     0x00: 0x24c78086 0x02800005 0x0c030001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB USB UHCI Controller (0x24c7)
>     Command register: 0x0005
>       I/O space accesses: on
>       Memory space accesses: off
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: serial bus (0x0c)
>     Subclass Name: USB (0x03)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00001841 0x00000000 0x00000000 0x052d1014
>     0x30: 0x00000000 0x00000000 0x00000000 0x0000030b
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       type: 16-bit i/o
>       base: 0x00001840, size: 0x00000020
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052d
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x03 (pin C)
>     Interrupt line: 0x0b
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000010 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00002f00 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB USB UHCI Controller (USB serial bus, revision 0x01) at ? dev 29 function 2 (tag 0x8000ea00, intrtag 0x8000ea00, intrswiz 0, intrpin 0x3, i/o on, mem off, no quirks): Intel 82801DB USB UHCI Controller (rev. 0x01)
> uhci2: interrupting at irq 11
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7: PCI configuration registers:
>   Common header:
>     0x00: 0x24cd8086 0x02900106 0x0c032001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB USB EHCI Controller (0x24cd)
>     Command register: 0x0106
>       I/O space accesses: off
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x0290
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: serial bus (0x0c)
>     Subclass Name: USB (0x03)
>     Interface: 0x20
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0xc0000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x052e1014
>     0x30: 0x00000000 0x00000050 0x00000000 0x0000040b
>
>     Base address register at 0x10
>       type: 32-bit nonprefetchable memory
>       base: 0xc0000000, size: 0x00000400
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052e
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0x50
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x04 (pin D)
>     Interrupt line: 0x0b
>
>   Capability register at 0x50
>     type: 0x01 (Power Management, rev. 1.0)
>   Capability register at 0x58
>     type: 0x0a (Debug Port)
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0xc9c25801 0x00000000 0x2080000a 0x00000000
>     0x60: 0x001f2020 0x00000000 0x00000001 0xc0000000
>     0x70: 0x00010000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000001 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x003f0000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x001fbf78 0x00008388 0x00000f60 0x00000006
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB USB EHCI Controller (USB serial bus, interface 0x20, revision 0x01) at ? dev 29 function 7 (tag 0x8000ef00, intrtag 0x8000ef00, intrswiz 0, intrpin 0x4, i/o off, mem on, no quirks): Intel 82801DB USB EHCI Controller (rev. 0x01)
> ehci0: interrupting at irq 11
> ehci0: BIOS has given up ownership
> ehci0: EHCI version 1.0
> ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
> usb3 at ehci0: USB revision 2.0
> uhub3 at usb3
> uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub3: 6 ports with 6 removable, self powered
> ppb1 at pci0 dev 30 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x24488086 0x80800107 0x06040081 0x00010000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801BAM Hub-PCI Bridge (0x2448)
>     Command register: 0x0107
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x8080
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: fast (0x0)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: on
>     Class Name: bridge (0x06)
>     Subclass Name: PCI (0x04)
>     Interface: 0x00
>     Revision ID: 0x81
>     BIST: 0x00
>     Header Type: 0x01 (0x01)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 1 (PCI-PCI bridge) header:
>     0x10: 0x00000000 0x00000000 0x40040200 0x22808040
>     0x20: 0xcff0c020 0xeff0e800 0x00000000 0x00000000
>     0x30: 0x00000000 0x00000000 0x00000000 0x00040000
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Primary bus number: 0x00
>     Secondary bus number: 0x02
>     Subordinate bus number: 0x04
>     Secondary bus latency timer: 0x40
>     Secondary status register: 0x2280
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Signaled Target Abort: off
>       Received Target Abort: off
>       Received Master Abort: on
>       System Error: off
>       Parity Error: off
>     I/O region:
>       base register:  0x40
>       limit register: 0x80
>       base upper 16 bits register:  0x0000
>       limit upper 16 bits register: 0x0000
>     Memory region:
>       base register:  0xc020
>       limit register: 0xcff0
>     Prefetchable memory region:
>       base register:  0xe800
>       limit register: 0xeff0
>       base upper 32 bits register:  0x00000000
>       limit upper 32 bits register: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Expansion ROM Base Address: 0x00000000
>     Interrupt line: 0x00
>     Interrupt pin: 0x00 (none)
>     Bridge control register: 0x0004
>       Parity error response: off
>       Secondary SERR forwarding: off
>       ISA enable: on
>       VGA enable: off
>       Master abort reporting: off
>       Secondary bus reset: off
>       Fast back-to-back capable: off
>
>   Device-dependent header:
>     0x40: 0x00202802 0x00000000 0x00000000 0x00000000
>     0x50: 0x00007402 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000040 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00080010 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00020001 0x00c00000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x462e0000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801BAM Hub-PCI Bridge (PCI bridge, revision 0x81) at ? dev 30 function 0 (tag 0x8000f000, intrtag 0x8000f000, intrswiz 0, intrpin 0, i/o on, mem on, no quirks): Intel 82801BAM Hub-PCI Bridge (rev. 0x81)
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled
> cbb0 at pci2 dev 0 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0xac46104c 0x02100107 0x06070001 0x00824008
>
>     Vendor Name: Texas Instruments (0x104c)
>     Device Name: PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (0xac46)
>     Command register: 0x0107
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x0210
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: off
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: bridge (0x06)
>     Subclass Name: CardBus (0x07)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x02+multifunction (0x82)
>     Latency Timer: 0x40
>     Cache Line Size: 0x08
>
>   Type 2 (PCI-CardBus bridge) header:
>     0x10: 0xb0000000 0x020000a0 0xb0030302 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x30: 0x00000000 0x00000000 0x00000000 0x03c0010b
>     0x40: 0x05521014 0x000003e1
>
>     Base address register at 0x10 (CardBus socket/ExCA registers)
>       type: 32-bit nonprefetchable memory
>       base: 0xb0000000, size: 0x00001000
>     Capability list pointer: 0xa0
>     Secondary status register: 0x0200
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: off
>       Data parity error detection: off
>       DEVSEL timing: medium (0x1)
>       PCI target aborts terminate CardBus bus master transactions: off
>       CardBus target aborts terminate PCI bus master transactions: off
>       Bus initiator aborts terminate initiator transactions: off
>       System error: off
>       Parity error: off
>     PCI bus number: 0x02
>     CardBus bus number: 0x03
>     Subordinate bus number: 0x03
>     CardBus latency timer: 0xb0
>     CardBus memory region 0:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus memory region 1:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus I/O region 0:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus I/O region 1:
>       base register:  0x00000000
>       limit register: 0x00000000
>     Interrupt line: 0x0b
>     Interrupt pin: 0x01 (pin A)
>     Bridge control register: 0x03c0
>       Parity error response: off
>       CardBus SERR forwarding: off
>       ISA enable: off
>       VGA enable: off
>       CardBus master abort reporting: off
>       CardBus reset: on
>       Functional interrupts routed by ExCA registers: on
>       Memory window 0 prefetchable: on
>       Memory window 1 prefetchable: on
>       Write posting enable: off
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0552
>     Base address register at 0x44 (legacy-mode registers)
>       type: 32-bit i/o
>       base: 0x000003e0, size: 0x00000004
>
>   Capability register at 0xa0
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x48: 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x0860d070 0x040a0000 0x000f0000 0x01d21b22
>     0x90: 0x416422c0 0x00000000 0x00000000 0x00000000
>     0xa0: 0xfe120001 0x00c00000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Texas Instruments PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (CardBus bridge, revision 0x01) at ? dev 0 function 0 (tag 0x80020000, intrtag 0x8000f000, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks): Texas Instruments PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (rev. 0x01) (chipflags 3)
> rbus_new_body: [4000, 6000] type share name [PCI I/O port space]
> rbus_new_body: [40000000, ffffffff] type share name [PCI I/O memory space]
> cbb0: socket base address 0xb0000000
> cbb0: using ioapic for interrupt
> cbb0: intrpin A, intrtag 11
> cbb1 at pci2 dev 0 function 1: PCI configuration registers:
>   Common header:
>     0x00: 0xac46104c 0x02100107 0x06070001 0x00824008
>
>     Vendor Name: Texas Instruments (0x104c)
>     Device Name: PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (0xac46)
>     Command register: 0x0107
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x0210
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: off
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: bridge (0x06)
>     Subclass Name: CardBus (0x07)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x02+multifunction (0x82)
>     Latency Timer: 0x40
>     Cache Line Size: 0x08
>
>   Type 2 (PCI-CardBus bridge) header:
>     0x10: 0xb1000000 0x020000a0 0xb0040402 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x30: 0x00000000 0x00000000 0x00000000 0x03c0020b
>     0x40: 0x05521014 0x00000001
>
>     Base address register at 0x10 (CardBus socket/ExCA registers)
>       type: 32-bit nonprefetchable memory
>       base: 0xb1000000, size: 0x00001000
>     Capability list pointer: 0xa0
>     Secondary status register: 0x0200
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: off
>       Data parity error detection: off
>       DEVSEL timing: medium (0x1)
>       PCI target aborts terminate CardBus bus master transactions: off
>       CardBus target aborts terminate PCI bus master transactions: off
>       Bus initiator aborts terminate initiator transactions: off
>       System error: off
>       Parity error: off
>     PCI bus number: 0x02
>     CardBus bus number: 0x04
>     Subordinate bus number: 0x04
>     CardBus latency timer: 0xb0
>     CardBus memory region 0:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus memory region 1:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus I/O region 0:
>       base register:  0x00000000
>       limit register: 0x00000000
>     CardBus I/O region 1:
>       base register:  0x00000000
>       limit register: 0x00000000
>     Interrupt line: 0x0b
>     Interrupt pin: 0x02 (pin B)
>     Bridge control register: 0x03c0
>       Parity error response: off
>       CardBus SERR forwarding: off
>       ISA enable: off
>       VGA enable: off
>       CardBus master abort reporting: off
>       CardBus reset: on
>       Functional interrupts routed by ExCA registers: on
>       Memory window 0 prefetchable: on
>       Memory window 1 prefetchable: on
>       Write posting enable: off
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0552
>     Base address register at 0x44 (legacy-mode registers)
>       type: 32-bit i/o
>       base: 0x00000000, size: 0x00000004
>
>   Capability register at 0xa0
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x48: 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x0860d070 0x040a0000 0x000f0000 0x01d21b22
>     0x90: 0x416422c0 0x00000000 0x00000000 0x00000000
>     0xa0: 0xfe120001 0x00c00000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Texas Instruments PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (CardBus bridge, revision 0x01) at ? dev 0 function 1 (tag 0x80020100, intrtag 0x8000f000, intrswiz 0, intrpin 0x2, i/o on, mem on, no quirks): Texas Instruments PCI4520 PCI-CardBus Bridge w/ IEEE 1394 Host Controller (rev. 0x01) (chipflags 3)
> rbus_new_body: [4000, 6000] type share name [PCI I/O port space]
> rbus_new_body: [40000000, ffffffff] type share name [PCI I/O memory space]
> cbb1: socket base address 0xb1000000
> cbb1: using ioapic for interrupt
> cbb1: intrpin B, intrtag 11
> wm0 at pci2 dev 1 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x101e8086 0x02300117 0x02000003 0x00004008
>
>     Vendor Name: Intel (0x8086)
>     Device Name: i82540EP Gigabit Ethernet (0x101e)
>     Command register: 0x0117
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: on
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x0230
>       Capability List support: on
>       66 MHz capable: on
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: off
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: network (0x02)
>     Subclass Name: ethernet (0x00)
>     Interface: 0x00
>     Revision ID: 0x03
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x40
>     Cache Line Size: 0x08
>
>   Type 0 ("normal" device) header:
>     0x10: 0xc0220000 0xc0200000 0x00008001 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000022 0x05491014
>     0x30: 0x00000000 0x000000dc 0x00000000 0x00ff010b
>
>     Base address register at 0x10
>       type: 32-bit nonprefetchable memory
>       base: 0xc0220000, size: 0x00020000
>     Base address register at 0x14
>       type: 32-bit nonprefetchable memory
>       base: 0xc0200000, size: 0x00010000
>     Base address register at 0x18
>       type: 32-bit i/o
>       base: 0x00008000, size: 0x00000040
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000022
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0549
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0xdc
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0xff
>     Interrupt pin: 0x01 (pin A)
>     Interrupt line: 0x0b
>
>   Capability register at 0xdc
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0xc8220001
>     0xe0: 0x14002000 0x00020007 0x04400000 0x00000000
>     0xf0: 0x00800005 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel i82540EP Gigabit Ethernet (ethernet network, revision 0x03) at ? dev 1 function 0 (tag 0x80020800, intrtag 0x8000f000, intrswiz 0x1, intrpin 0x2, i/o on, mem on, no quirks): Intel i82540EP 1000BASE-T Ethernet, rev. 3
> wm0: interrupting at irq 11
> wm0: 32-bit 33MHz PCI bus
> wm0: 64 word (6 address bits) MicroWire EEPROM
> wm0: Ethernet address 00:0d:60:cf:6a:aa
> makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 4
> makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> iwi0 at pci2 dev 2 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x42208086 0x02900116 0x02800005 0x00004008
>
>     Vendor Name: Intel (0x8086)
>     Device Name: PRO/Wireless LAN 2200BG Mini-PCI Adapter (0x4220)
>     Command register: 0x0116
>       I/O space accesses: off
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: on
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): on
>       Fast back-to-back transactions: off
>     Status register: 0x0290
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: network (0x02)
>     Subclass Name: miscellaneous (0x80)
>     Interface: 0x00
>     Revision ID: 0x05
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x40
>     Cache Line Size: 0x08
>
>   Type 0 ("normal" device) header:
>     0x10: 0xc0214000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x27118086
>     0x30: 0x00000000 0x000000dc 0x00000000 0x1803010b
>
>     Base address register at 0x10
>       type: 32-bit nonprefetchable memory
>       base: 0xc0214000, size: 0x00001000
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x8086
>     Subsystem ID: 0x2711
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0xdc
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x18
>     Minimum Grant: 0x03
>     Interrupt pin: 0x01 (pin A)
>     Interrupt line: 0x0b
>
>   Capability register at 0xdc
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x40: 0x00008080 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0xc8220001
>     0xe0: 0x13002000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (miscellaneous network, revision 0x05) at ? dev 2 function 0 (tag 0x80021000, intrtag 0x8000f000, intrswiz 0x2, intrpin 0x3, i/o off, mem on, no quirks): Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
> iwi0: interrupting at irq 11
> iwi0: 802.11 address 00:0e:35:38:b0:33
> iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
> CardBus latency timer 0xb0 (b0030302)
> PCI latency timer 0x40 (824008)
> pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
> cbb0: interrupting at irq 11
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 3
> pcmcia0 at cardslot0
> pccbb_pcmcia_card_detect
> pccbbattach: found cardslot
> CardBus latency timer 0xb0 (b0040402)
> PCI latency timer 0x40 (824008)
> pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
> cbb1: interrupting at irq 11
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 4
> pcmcia1 at cardslot1
> pccbb_pcmcia_card_detect
> pccbbattach: found cardslot
> pcib0 at pci0 dev 31 function 0: PCI configuration registers:
>   Common header:
>     0x00: 0x24cc8086 0x0280000f 0x06010001 0x00800000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB ISA Bridge (0x24cc)
>     Command register: 0x000f
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: on
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: bridge (0x06)
>     Subclass Name: ISA (0x01)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00+multifunction (0x80)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x30: 0x00000000 0x00000000 0x00000000 0x00000000
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x0000
>     Subsystem ID: 0x0000
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x00 (none)
>     Interrupt line: 0x00
>
>   Device-dependent header:
>     0x40: 0x00001001 0x00000010 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00001181 0x00000010
>     0x60: 0x0b0b0b0b 0x00000092 0x0b80800b 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x0000fcff 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00020224 0x00000000 0x0000000d 0x00080000
>     0xb0: 0x00000000 0x00000000 0x0a020000 0x00000000
>     0xc0: 0x00000010 0x000015e0 0x00000000 0x0000000f
>     0xd0: 0x00002807 0x00000f02 0x00000004 0x00000000
>     0xe0: 0xff000210 0x3c0f1601 0x00112233 0x45670000
>     0xf0: 0x00000000 0x00000000 0x00030f60 0x00800000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB ISA Bridge (ISA bridge, revision 0x01) at ? dev 31 function 0 (tag 0x8000f800, intrtag 0x8000f800, intrswiz 0, intrpin 0, i/o on, mem on, no quirks)
> pcib0: Intel 82801DB ISA Bridge (rev. 0x01)
> piixide0 at pci0 dev 31 function 1: PCI configuration registers:
>   Common header:
>     0x00: 0x24ca8086 0x02800007 0x01018a01 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DBM IDE Controller (0x24ca)
>     Command register: 0x0007
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: mass storage (0x01)
>     Subclass Name: IDE (0x01)
>     Interface: 0x8a
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00005801 0x00005809 0x00005811 0x0000580d
>     0x20: 0x00001861 0x1fe00000 0x00000000 0x052d1014
>     0x30: 0x00000000 0x00000000 0x00000000 0x0000010b
>
>     Base address register at 0x10
>       type: 16-bit i/o
>       base: 0x00005800, size: 0x00000008
>     Base address register at 0x14
>       type: 16-bit i/o
>       base: 0x00005808, size: 0x00000004
>     Base address register at 0x18
>       type: 16-bit i/o
>       base: 0x00005810, size: 0x00000008
>     Base address register at 0x1c
>       type: 16-bit i/o
>       base: 0x0000580c, size: 0x00000004
>     Base address register at 0x20
>       type: 16-bit i/o
>       base: 0x00001860, size: 0x00000010
>     Base address register at 0x24
>       type: 32-bit nonprefetchable memory
>       base: 0x1fe00000, size: 0x00000400
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052d
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x01 (pin A)
>     Interrupt line: 0x0b
>
>   Device-dependent header:
>     0x40: 0xa303a307 0x00000000 0x02010005 0x00000000
>     0x50: 0x00000000 0x00001411 0x00000000 0x00000000
>     0x60: 0x00000008 0x00000000 0x00000008 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DBM IDE Controller (IDE mass storage, interface 0x8a, revision 0x01) at ? dev 31 function 1 (tag 0x8000f900, intrtag 0x8000f900, intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks)
> piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x01)
> piixide0: bus-master DMA support present
> piixide0: primary channel configured to compatibility mode
> piixide0: primary channel interrupting at irq 14
> atabus0 at piixide0 channel 0
> piixide0: secondary channel configured to compatibility mode
> piixide0: secondary channel interrupting at irq 15
> atabus1 at piixide0 channel 1
> Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3: PCI configuration registers:
>   Common header:
>     0x00: 0x24c38086 0x02800001 0x0c050001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB SMBus Controller (0x24c3)
>     Command register: 0x0001
>       I/O space accesses: on
>       Memory space accesses: off
>       Bus mastering: off
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0280
>       Capability List support: off
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: serial bus (0x0c)
>     Subclass Name: SMBus (0x05)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x20: 0x00001881 0x00000000 0x00000000 0x052d1014
>     0x30: 0x00000000 0x00000000 0x00000000 0x0000020b
>
>     Base address register at 0x10
>       not implemented(?)
>     Base address register at 0x14
>       not implemented(?)
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       type: 16-bit i/o
>       base: 0x00001880, size: 0x00000020
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x052d
>     Expansion ROM Base Address: 0x00000000
>     Reserved @ 0x34: 0x00000000
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x02 (pin B)
>     Interrupt line: 0x0b
>
>   Device-dependent header:
>     0x40: 0x00000001 0x00000000 0x00000000 0x00000000
>     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3 (tag 0x8000fb00, intrtag 0x8000fb00, intrswiz 0, intrpin 0x2, i/o on, mem off, no quirks) not configured
> auich0 at pci0 dev 31 function 5: PCI configuration registers:
>   Common header:
>     0x00: 0x24c58086 0x02900007 0x04010001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB AC97 Audio Controller (0x24c5)
>     Command register: 0x0007
>       I/O space accesses: on
>       Memory space accesses: on
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0290
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: multimedia (0x04)
>     Subclass Name: audio (0x01)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00001c01 0x000018c1 0xc0000c00 0xc0000800
>     0x20: 0x00000000 0x00000000 0x00000000 0x05371014
>     0x30: 0x00000000 0x00000050 0x00000000 0x0000020b
>
>     Base address register at 0x10
>       type: 16-bit i/o
>       base: 0x00001c00, size: 0x00000100
>     Base address register at 0x14
>       type: 16-bit i/o
>       base: 0x000018c0, size: 0x00000040
>     Base address register at 0x18
>       type: 32-bit nonprefetchable memory
>       base: 0xc0000c00, size: 0x00000200
>     Base address register at 0x1c
>       type: 32-bit nonprefetchable memory
>       base: 0xc0000800, size: 0x00000100
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0537
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0x50
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x02 (pin B)
>     Interrupt line: 0x0b
>
>   Capability register at 0x50
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x40: 0x00000109 0x00000000 0x00000000 0x00000000
>     0x50: 0xc9c20001 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB AC97 Audio Controller (audio multimedia, revision 0x01) at ? dev 31 function 5 (tag 0x8000fd00, intrtag 0x8000fd00, intrswiz 0, intrpin 0x2, i/o on, mem on, no quirks): i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
> auich0: interrupting at irq 11
> auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
> auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
> Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at pci0 dev 31 function 6: PCI configuration registers:
>   Common header:
>     0x00: 0x24c68086 0x02900005 0x07030001 0x00000000
>
>     Vendor Name: Intel (0x8086)
>     Device Name: 82801DB AC97 Modem Controller (0x24c6)
>     Command register: 0x0005
>       I/O space accesses: on
>       Memory space accesses: off
>       Bus mastering: on
>       Special cycles: off
>       MWI transactions: off
>       Palette snooping: off
>       Parity error checking: off
>       Address/data stepping: off
>       System error (SERR): off
>       Fast back-to-back transactions: off
>     Status register: 0x0290
>       Capability List support: on
>       66 MHz capable: off
>       User Definable Features (UDF) support: off
>       Fast back-to-back capable: on
>       Data parity error detected: off
>       DEVSEL timing: medium (0x1)
>       Slave signaled Target Abort: off
>       Master received Target Abort: off
>       Master received Master Abort: off
>       Asserted System Error (SERR): off
>       Parity error detected: off
>     Class Name: communications (0x07)
>     Subclass Name: modem (0x03)
>     Interface: 0x00
>     Revision ID: 0x01
>     BIST: 0x00
>     Header Type: 0x00 (0x00)
>     Latency Timer: 0x00
>     Cache Line Size: 0x00
>
>   Type 0 ("normal" device) header:
>     0x10: 0x00002401 0x00002001 0x00000000 0x00000000
>     0x20: 0x00000000 0x00000000 0x00000000 0x05591014
>     0x30: 0x00000000 0x00000050 0x00000000 0x0000020b
>
>     Base address register at 0x10
>       type: 16-bit i/o
>       base: 0x00002400, size: 0x00000100
>     Base address register at 0x14
>       type: 16-bit i/o
>       base: 0x00002000, size: 0x00000080
>     Base address register at 0x18
>       not implemented(?)
>     Base address register at 0x1c
>       not implemented(?)
>     Base address register at 0x20
>       not implemented(?)
>     Base address register at 0x24
>       not implemented(?)
>     Cardbus CIS Pointer: 0x00000000
>     Subsystem vendor ID: 0x1014
>     Subsystem ID: 0x0559
>     Expansion ROM Base Address: 0x00000000
>     Capability list pointer: 0x50
>     Reserved @ 0x38: 0x00000000
>     Maximum Latency: 0x00
>     Minimum Grant: 0x00
>     Interrupt pin: 0x02 (pin B)
>     Interrupt line: 0x0b
>
>   Capability register at 0x50
>     type: 0x01 (Power Management, rev. 1.0)
>
>   Device-dependent header:
>     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x50: 0xc9c20001 0x00000000 0x00000000 0x00000000
>     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
>     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
>     0xf0: 0x00000000 0x00000000 0x00000f60 0x00000000
>
>     Don't know how to pretty-print device-dependent header.
>
> Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at pci0 dev 31 function 6 (tag 0x8000fe00, intrtag 0x8000fe00, intrswiz 0, intrpin 0x2, i/o on, mem off, no quirks) not configured
> isa0 at pcib0
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> isapnp0: no ISA Plug 'n Play devices found
> WARNING: Callback scheduled before sysmon task queue thread present.
> auich0: measured ac97 link rate at 48003 Hz, will use 48000 Hz
> audio0 at auich0: full duplex, mmap, independent
> Kernelized RAIDframe activated
> ehci0: handing over full speed device on port 1 to uhci0
> uhub3: port 1, device disappeared after reset
> uhub4 at uhub0 port 1
> uhub4: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
> uhub4: 4 ports with 4 removable, self powered
> wd0 at atabus0 drive 0: <TOSHIBA MK6021GAS>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
> atapibus0 at atabus1: 2 targets
> cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4242N, , 0201> cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> cd0(piixide0:1: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
> uplcom0 at uhub4 port 2
> uplcom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.00, addr 3
> ucom0 at uplcom0
> uhidev0 at uhub4 port 3 configuration 1 interface 0
> uhidev0: Logitech N48, rev 1.00/4.01, addr 4, iclass 3/1
> ums0 at uhidev0: 3 buttons and Z dir.
> wsmouse1 at ums0 mux 0
> iwi0: link state changed to UP
> wsdisplay0: screen 1 added (80x50, vt100 emulation)
> wsdisplay0: screen 2 added (80x50, vt100 emulation)
> wsdisplay0: screen 3 added (80x50, vt100 emulation)
> wsdisplay0: screen 4 added (80x50, vt100 emulation)
>   
> ------------------------------------------------------------------------
>
> cbb1: 0x00000000 card inserted, 0x30000510
> pccbb_pcmcia_socket_enable: 5V card
> pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
> pccbb_power: CARDBUS_VCC_5V and CARDBUS_VPP_VCC [0x15]
> pccbb_pcmcia_delay: "pccen1" 0x0, sleep 1 ms
> pccbb_pcmcia_delay: "pccen2" 0x0, sleep 20 ms
> pccbb_pcmcia_delay: "pccwr0" 0x0, sleep 10 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 100 ms
> pcmcia1: ++enabled_count = 1
> rbus_space_alloc: addr 0, size 1000, mask fff, align 1000
> pccbb_pcmcia_alloc_mem: addr 0x40000000 size 0x400, realsize 0x1000
> pccbb_pcmcia_mem_map window 0 bus 40000000+0+400 at card addr 0
> pccbb_pcmcia_do_mem_map: start 0x40000000 end 0x400003ff off 0xc0000000
> pccbb_pcmcia_do_mem_map window 0: 0000 0080 0040 40
> pccbb_pcmcia_mem_map window 0 bus 40000000+0+400 at card addr 0
> pccbb_pcmcia_do_mem_map: start 0x40000000 end 0x400003ff off 0xc0000000
> pccbb_pcmcia_do_mem_map window 0: 0000 0080 0000 40
> pcmcia1: CIS version PCMCIA 2.0 or 2.1
> pcmcia1: CIS info: Zoom-VENUS, PCMCIA V92 DataFax
> pcmcia1: Manufacturer code 0x200, product 0x1
> pcmcia1: function 0: serial port, ccr addr ff80 mask 67
> pcmcia1: function 0, config table entry 15: I/O card; irq mask 86bc; iomask a, iospace 3f8-3ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
> pcmcia1: function 0, config table entry 23: I/O card; irq mask 86bc; iomask a, iospace 2f8-2ff; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
> pcmcia1: function 0, config table entry 31: I/O card; irq mask 86bc; iomask a, iospace 3e8-3ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
> pcmcia1: function 0, config table entry 39: I/O card; irq mask 86bc; iomask a, iospace 2e8-2ef; rdybsy_active io8 irqshare irqpulse irqlevel powerdown audio
> com3 at pcmcia1 function 0: <Zoom-VENUS, PCMCIA V92 DataFax>
> pcmcia_config_alloc: io 0 start=3f8 length=8 align=400 skew=3f8
> rbus_space_alloc: addr 3f8, size 8, mask 3ff, align 400
> pccbb_pcmcia_io_alloc alloc port 0x4000+0x8
> pccbb_pcmcia_io_map window 0 io8 port 4000+8
> pccbb_pcmcia_do_io_map win 0 addr 0x4000 size 0x8 width 8
>  start 00 40, stop 07 40, ioctl 00 enable 40
> window iobase 4000 iomax 4007
> function iobase 4000 iomax 4007
> pccbb_intr_establish start. 0x0
> pccbb_intr_establish add pil. 0xc15e7f00
> pcmcia1: ++enabled_count = 2
> cbb1: pccbb_pcmcia_socket_settype 01 type io 70
> rbus_space_alloc: addr 0, size 1000, mask fff, align 1000
> pccbb_pcmcia_alloc_mem: addr 0x40000000 size 0x14, realsize 0x1000
> pccbb_pcmcia_mem_map window 0 bus 40000000+f80+14 at card addr f000
> pccbb_pcmcia_do_mem_map: start 0x40000000 end 0x40000f93 off 0xc000f000
> pccbb_pcmcia_do_mem_map window 0: 0000 0080 0f40 40
> pcmcia1: function 0 CCR at 0 offset f80: 4f 88 ee 0, 0 40 ff ff, ff
> com3: ns16550a, working fifo
> pcmcia1: --enabled_count = 1
> pccbb_intr_disestablish start. 0xc15e7f00
> pccbb_intr_disestablish: pil 0xc15e7f00
> pccbb_intr_disestablish frees one pil
> pccbb_intr_disestablish frees one pil
> pccbb_intr_disestablish: no interrupt handler
> pccbb_pcmcia_socket_disable
> pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [0x44]
> pccbb_pcmcia_delay: "pccwr1" 0x0, sleep 300 ms
> pcmcia1: --enabled_count = 0
>   


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191