Subject: README: PCI BIOS support partially integrated
To: None <port-i386@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 11/16/1999 17:33:40
Hi folks...

I've partially integrated the PCI BIOS code available in UCHIYAMA Yasushi's
patchkit.

So far, interrupt fixup code is in, and I'm going to do the other bits
within the next day or two (gotta love those train rides home :-)

Here's example output on my Dell Inspiron 3500 laptop, using the
PCIBIOS and PCIBIOSVERBOSE options.

If you encounter any problems, please let me know ASAP.  And for those
who need the other parts, too, hang tight.  It's coming soon.

(I can't use CardBus until it works on my machine, either, so... :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>

NetBSD 1.4O (DR-EVIL) #224: Tue Nov 16 16:42:07 PST 1999
    thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL
cpu0: family 6 model 6 step a
cpu0: Intel Pentium II (Celeron) (686-class) 
total memory = 32320 KB
avail memory = 27432 KB 
using 429 buffers containing 1716 KB of memory
BIOS32 rev. 0 found at 0xfd7f0
PCI BIOS rev. 2.1 found at 0xfd9f3
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdf80, size 96 bytes (4 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
-------------------------------------------- 
  device vendor product pin PIRQ   IRQ stage
--------------------------------------------
000:04:0 0x104c 0xac17  A   0x00   11  0
000:04:1 0x104c 0xac17  A   0x00   11  0
000:07:2 0x8086 0x7112  D   0x03   10  0
--------------------------------------------
mainbus0 (root)
pnpbios0 at mainbus0: 18 nodes, max len 106
com0 at pnpbios0 index 12 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
lpt1 at pnpbios0 index 17 (PNP0400)
lpt1: io 378-37f, irq 7
wss0 at pnpbios0 index 18 (NMX2210)
wss0: io 220-22f 530-537 388-38f 320-321, irq 5, dma 0 1
wss0: CS4231 or AD1845
audio0 at wss0: full duplex
opl0 at wss0: model OPL3
midi0 at opl0: WSS Yamaha OPL3
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: Neomagic MagicMedia 256AV VGA (rev. 0x20)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
Neomagic MagicMedia 256AV Audio (audio multimedia, revision 0x20) at pci1 dev 0
function 1 not configured
Texas Instruments PCI1220 PCI-CardBus Bridge (CardBus bridge, revision 0x02) at
pci0 dev 4 function 0 not configured
Texas Instruments PCI1220 PCI-CardBus Bridge (CardBus bridge, revision 0x02) at
pci0 dev 4 function 1 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHE2064AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev.
0x01)
uhci0: interrupting at irq 10
uhci0: USB version 1.0
usb0 at uhci0
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
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revisio
n 0x02) at pci0 dev 7 function 3 not configured
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
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 9
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
mhzc0 at pcmcia0 function 0: Megahertz X-JACK Ethernet Modem
com1 at mhzc0: port 0x2f8-0x2ff: ns16550a, working fifo
sm0 at mhzc0: port 0x330-0x33f
sm0: SMC91C94, revision 1
sm0: MAC address 00:00:86:12:36:7c, default media UTP
sm0: supplying EUI64: 00:00:86:ff:fe:12:36:7c
pcmcia1 at pcic0 controller 0 socket 1
ep0 at pcmcia1 function 0 port 0x340-0x35f: 3Com 3c574-TX 10/100Mbps Ethernet
ep0: address 00:60:08:b3:ce:f4, 64KB word-wide FIFO, 1:1 Rx:Tx split
tqphy0 at ep0 phy 0: 78Q2120 10/100 media interface, rev. 3
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
apm0 at mainbus0: Power Management spec V1.2
apm0: battery life expectancy: 100%
apm0: A/C state: on
apm0: battery charge state: high
apm0: estimated 6h 40m
biomask ed4d netmask ed4d ttymask ffcf
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs