Subject: PCI extender to cardbus
To: None <tech-kern@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-kern
Date: 05/26/2001 22:47:00
-----BEGIN PGP SIGNED MESSAGE-----


  I realized earlier this week why I was having problems.

  The PCI bridges needed to have their IO and memory base/limit initialized.

  To do this requires that one actually go through the new PCI hierarchy,
find out how much memory is required, and build sub-rbus allocations, and
then do something like pci_addr_fixup, only allocating from the appropriate
sub-regions. 

  Looks like it might work. I haven't plugged a cable into rtk0 yet (it is
at Solidum, I'm at home), so interrupts may still be hosed.

  My opinion is that rbus.c should be more closely integrated into the PCI
stuff. All PCI devices should also be prepared to be removed. This could
happen because I unplug a cardbus->PCI bridge, or might just be PCI hotswap.

  There is a whole can of worms wrt PCI bus numbering. The PCI host spec
is quite loud about busnumbers not being constant during the lifetime
of a system due to forced bus renumbering during hot-swap. 

  The code in rbus_ppb.c that does all the bridge setup should probably be
in ppb.c. I will probably try to write a more clear proposal once I've let
things settle in my mind a bit more.

  Likely my code depends upon PCIBIOS being defined.
  see http://www.sandelman.ottawa.on.ca/tmp/rbus_ppb.c
 
  Full dmesg appended, important part:

ppb1 at cardbus1 dev 0 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x03)
ppb1: not configured by system firmware calling pci_bus_fixup(0)
pci2 at ppb1 bus 4 (rbus)
pci2: i/o space, memory space enabled
ppb2 at pci2 dev 4 function 0: Digital Equipment DECchip 21150 PCI-PCI Bridge (rev. 0x06)
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled
rtk0 at pci3 dev 4 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:a0:d2:12:10:1d
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

  To get this working, I've added a bunch of things to arch/i386/pci/pci*

pci_bus_fixup:

/* this array lists the parent for each bus number */ 
int pci_bus_parent[256]; 
 
/* this array lists the pcitag to program each bridge */ 
pcitag_t pci_bus_tag[256]; 

  This allows one to find the parent of each bus. My understanding of PCI
is not complete, but I believe that cycles are not permitted (it is a tree,
not even DAG).
  The pci_bus_tag provides a tag to access config space of the bridge to
particular bus. These are filled in by pci_bus_fixup	() as it walks stuff.

rbus_machdep.c: rbus_pccbb_parent_io  
		I bumped the size asked for to 0x2000, but I think
		this won't be necessary. I'm not certain yet.

pci_addr_fixup.c:
	added "context" to pciaddr_resource_manage, pciaddr_resource_reserve,
	changed pciaddr_resource_manage_func_t to use a context rather than
	explicitely reference the extent. This is so that I can use
	pciaddr_resource_manage to assign physical addresses from the rbus
	map instead of the pciaddr.extent*
	device_is_agp() from kanaoka.

pcibios.c:
	added "context" to pci_device_foreach.
	added new function pci_device_foreach_min, that starts at minbus arg.
cardbus.c:
	ca.ca_rbus_iot/memt was not initialized
rbus.c: possible bug in rbus_space_alloc_subregion.
	(I had a bug which probably tickled this one, but I fixed mine)
if_rtk_pci.c: typo in error message
ppbreg.h: added some #define for IOBASE/MEM.

  As soon as I finish pulling patches on the 1.5.1 tree, I'll put up
the whole patch file.

Copyright (c) 1996, 1997, 1998, 1999, 2000
    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 1.5.1_BETA (ARMADA) #56: Sat May 26 21:59:19 EDT 2001
    mcr@phobos:/usr/src/sys/arch/i386/compile/ARMADA
cpu0: Intel Pentium III (E) (686-class), 497.60 MHz
total memory = 127 MB
avail memory = 114 MB
using 1658 buffers containing 6632 KB of memory
BIOS32 rev. 0 found at 0xf0000
PCI BIOS rev. 2.1 found at 0xf0478
PCI IRQ Routing Table rev. 1.0 found at 0xf0970, size 0 bytes (-2 entries)
pcibios_pir_init: bad IRQ table size
PCI IRQ Routing Table rev. 1.0 found at 0xf9570, size 304 bytes (17 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371AB PCI-to-ISA Bridge (PIIX4))
PCI Exclusive IRQs: 5 10 11
PIR Entry 0:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 1:
	Bus: 1  Device: 0
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 2:
	Bus: 0  Device: 4
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 3:
	Bus: 0  Device: 7
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 4:
	Bus: 0  Device: 8
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 5:
	Bus: 0  Device: 9
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x63 bitmap 0x0c20
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 6:
	Bus: 0  Device: 5
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 7:
	Bus: 0  Device: 15
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 8:
	Bus: 0  Device: 20
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 9:
	Bus: 0  Device: 14
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x61 bitmap 0x0800
		INTD: link 0x61 bitmap 0x0800
PIR Entry 10:
	Bus: 0  Device: 13
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x61 bitmap 0x0800
		INTD: link 0x61 bitmap 0x0800
PIR Entry 11:
	Bus: 0  Device: 16
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 12:
	Bus: 0  Device: 12
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 13:
	Bus: 4  Device: 7
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 14:
	Bus: 4  Device: 8
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 15:
	Bus: 4  Device: 9
		INTA: link 0x61 bitmap 0x0c20
		INTB: link 0x62 bitmap 0x0c20
		INTC: link 0x63 bitmap 0x0c20
		INTD: link 0x60 bitmap 0x0c20
PIR Entry 16:
	Bus: 4  Device: 10
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x63 bitmap 0x0c20
		INTC: link 0x60 bitmap 0x0c20
		INTD: link 0x61 bitmap 0x0c20
pciintr_link_init: bus 0 device 16 link 0x61: bad irq bitmap 0x0c20, should be 0x0800
pciintr_link_init: bus 0 device 12 link 0x61: bad irq bitmap 0x0c20, should be 0x0800
pciintr_link_init: bus 4 device 8 link 0x61: bad irq bitmap 0x0c20, should be 0x0800
pciintr_link_init: bus 4 device 9 link 0x61: bad irq bitmap 0x0c20, should be 0x0800
pciintr_link_init: bus 4 device 10 link 0x61: bad irq bitmap 0x0c20, should be 0x0800
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x02 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x01 not connected, assigning IRQ 11
pciintr_link_route: route of PIRQ 0x00 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x02 -> IRQ 11 preserved BIOS setting
pciintr_header_fixup: no entry for link 0xff (0:1:0:@)
mainbus0 (root)
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
vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 LM (rev. 0x64)
wsdisplay0 at vga1
cbb0 at pci0 dev 4 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03) (chipflags 3)
rbus_new_body: [4000, 6000] type share name [PCI I/O port space]
rbus_new_body: [20000000, ffffffff] type share name [PCI I/O memory space]
cbb0: socket base address 0x41100000
cbb0: intrpin A, intrtag 11
cbb1 at pci0 dev 4 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03) (chipflags 3)
rbus_new_body: [4000, 6000] type share name [PCI I/O port space]
rbus_new_body: [20000000, ffffffff] type share name [PCI I/O memory space]
cbb1: socket base address 0x41180000
cbb1: intrpin A, intrtag 11
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) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <Compaq  DVD-ROM DRN-8080B, 2000/05/10, 1.14> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-212000>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 11513 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 23579136 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, 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 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
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
ESS Technology Inc Maestro 2E PCI Audio Accelerator (audio multimedia, revision 0x10) at pci0 dev 8 function 0 not configured
fxp0 at pci0 dev 9 function 0: Intel i82557 Ethernet, rev 9
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:d0:59:11:97:0f, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
AT&T Microelectronics LTMODEM (serial communications) at pci0 dev 9 function 1 not configured
CardBus latency timer 0x20 (20020200)
PCI latency timer 0x42 (824208)
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x824208 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardslot0 attaching CardBus bus...
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
cardslotattach: found cardbus on cardslot0
cardbusmatch: busname differs pcmcia <=> cardbus
pcmcia0 at cardslot0
cardslotattach: found 16-bit pcmcia bus
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
CardBus latency timer 0x20 (20030300)
PCI latency timer 0x42 (824208)
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0x20
cbb1: bhlc 0x824208 lscp 0x20030300
cardslot1 at cbb1 slot 1 flags 0
cardslot1 attaching CardBus bus...
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
cardslotattach: found cardbus on cardslot1
cardbusmatch: busname differs pcmcia <=> cardbus
pcmcia1 at cardslot1
cardslotattach: found 16-bit pcmcia bus
cardslotattach: CardBus card found
cardslot_event_throw: an event CardBus Card inserted comes
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
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
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2 (BIOS managing devices)
biomask ef4d netmask ef4d ttymask ffcf
cardbus_attach_card: cb1 start
pccbb_power: CARDBUS_VCC_3V and CARDBUS_VPP_UC [1]
cardbus_attach_card: Vendor 0x1011, Product 0x24, CIS 0x0
cardbus1: reading CIS data from configuration space
WRONG TUPLE: 0x11
WRONG TUPLE: 0x11
ppb1 at cardbus1 dev 0 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x03)
ppb1: not configured by system firmware calling pci_bus_fixup(0)
Sizing buses 3-5
Configuring device 03:00:00
Configuring device 04:04:00
Configuring device 05:04:00
rbus_ppb total needs IO 00001000 and MEM 00000100
rbus_space_alloc: addr 0, size 1000, mask fff, align 1000
rbus_new_body: [4000, 5000] type dedicated name [rbus]
rbus_space_alloc: addr 0, size 100, mask ff, align 100
rbus_new_body: [20000000, 20000100] type dedicated name [rbus]
rbus_ppb: bus 4 (parent=3) needs IO 00001000 and MEM 00000100
rbus_space_alloc: addr 0, size 1000, mask fff, align 1000
rbus_new_body: [4000, 5000] type dedicated name [rbus]
rbus_space_alloc: addr 0, size 100, mask ff, align 100
rbus_new_body: [20000000, 20000100] type dedicated name [rbus]
PCI configuration registers:
  Common header:
    0x00: 0x00241011 0x02900007 0x06040003 0x00011000

    Vendor Name: Digital Equipment (0x1011)
    Device Name: DECchip 21152 PCI-PCI Bridge (0x0024)
    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: bridge (0x06)
    Subclass Name: PCI (0x04)
    Interface: 0x00
    Revision ID: 0x03
    BIST: 0x00
    Header Type: 0x01 (0x01)
    Latency Timer: 0x10
    Cache Line Size: 0x00

  Type 1 (PCI-PCI bridge) header:
    0x10: 0x00000000 0x00000000 0x00050403 0x22805141
    0x20: 0x20102000 0x00010001 0x00000000 0x00000000
    0x30: 0x00000000 0x000000dc 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Primary bus number: 0x03
    Secondary bus number: 0x04
    Subordinate bus number: 0x05
    Secondary bus latency timer: 0x00
    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:  0x41
      limit register: 0x51
      base upper 16 bits register:  0x0000
      limit upper 16 bits register: 0x0000
    Memory region:
      base register:  0x2000
      limit register: 0x2010
    Prefetchable memory region:
      base register:  0x0001
      limit register: 0x0001
      base upper 32 bits register:  0x00000000
      limit upper 32 bits register: 0x00000000
    Reserved @ 0x34: 0x000000dc
    Expansion ROM Base Address: 0x00000000
    Interrupt line: 0x00
    Interrupt pin: 0x00 (none)
    Bridge control register: 0x0000
      Parity error response: off
      Secondary SERR forwarding: off
      ISA enable: off
      VGA enable: off
      Master abort reporting: off
      Secondary bus reset: off
      Fast back-to-back capable: off

  Device-dependent header:
    0x40: 0x02000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 0x00000000 0x00003e00 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 0x01010001
    0xe0: 0x00400000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

rbus_ppb: bus 5 (parent=4) needs IO 00001000 and MEM 00000100
rbus_space_alloc: addr 0, size 1000, mask fff, align 1000
rbus_new_body: [4000, 5000] type dedicated name [rbus]
rbus_space_alloc: addr 0, size 100, mask ff, align 100
rbus_new_body: [20000000, 20000100] type dedicated name [rbus]
PCI configuration registers:
  Common header:
    0x00: 0x00221011 0x02900007 0x06040006 0x00010000

    Vendor Name: Digital Equipment (0x1011)
    Device Name: DECchip 21150 PCI-PCI Bridge (0x0022)
    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: bridge (0x06)
    Subclass Name: PCI (0x04)
    Interface: 0x00
    Revision ID: 0x06
    BIST: 0x00
    Header Type: 0x01 (0x01)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 1 (PCI-PCI bridge) header:
    0x10: 0x00000000 0x00000000 0x00050504 0x22805141
    0x20: 0x20102000 0x00010001 0x00000000 0x00000000
    0x30: 0x00000000 0x000000dc 0x00000000 0x00000000

    Base address register at 0x10
      not implemented(?)
    Base address register at 0x14
      not implemented(?)
    Primary bus number: 0x04
    Secondary bus number: 0x05
    Subordinate bus number: 0x05
    Secondary bus latency timer: 0x00
    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:  0x41
      limit register: 0x51
      base upper 16 bits register:  0x0000
      limit upper 16 bits register: 0x0000
    Memory region:
      base register:  0x2000
      limit register: 0x2010
    Prefetchable memory region:
      base register:  0x0001
      limit register: 0x0001
      base upper 32 bits register:  0x00000000
      limit upper 32 bits register: 0x00000000
    Reserved @ 0x34: 0x000000dc
    Expansion ROM Base Address: 0x00000000
    Interrupt line: 0x00
    Interrupt pin: 0x00 (none)
    Bridge control register: 0x0000
      Parity error response: off
      Secondary SERR forwarding: off
      ISA enable: off
      VGA enable: off
      Master abort reporting: off
      Secondary bus reset: off
      Fast back-to-back capable: off

  Device-dependent header:
    0x40: 0x02000000 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 0x00010001
    0xe0: 0x00400000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

Configuring buses 3-5
Configuring device 03:00:00
Configuring device 04:04:00
Configuring device 05:04:00
Allocating io space of size 00000100 for 05:04:00
pccbb_rbus_cb_space_alloc: adr 0, size 100, mask ff, align 100
rbus_space_alloc: addr 300, size 100, mask 3ff, align 100
rbus: trying [4300:4400] 100
- --pccbb_winset: win0 [4300, 4400), win1 [fffc, 4)
pci_addr_fixup: 005:04:0 0x10ec 0x8139 new address 0x00004300
Allocating mem space of size 00000100 for 05:04:00
pccbb_rbus_cb_space_alloc: adr 0, size 100, mask ff, align 100
rbus_space_alloc: addr 0, size 100, mask ff, align 100
using memory window, 0 1 1

- --pccbb_winset: win0 [20000000, 20001000), win1 [fffff000, 1000)
pci_addr_fixup: 005:04:0 0x10ec 0x8139 new address 0x20000000
do_header 03:00:00 pin=0 => line 11
do_header 04:04:00 pin=0 => line 11
do_header 05:04:00 pin=1 => line 11
pci2 at ppb1 bus 4 (rbus)
pci2: i/o space, memory space enabled
ppb2 at pci2 dev 4 function 0: Digital Equipment DECchip 21150 PCI-PCI Bridge (rev. 0x06)
pci3 at ppb2 bus 5
pci3: i/o space, memory space enabled
rtk0 at pci3 dev 4 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 11
rtk0: Ethernet address 00:a0:d2:12:10:1d
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Enter pathname of shell or RETURN for sh: 
Terminal type is pc3.
We recommend creating a non-root account and using su(1) for root access.
# ifconfig e rtk0 
rtk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect
        status: no carrier
# ifconfig rtk0 inet 192.168.97.1 up
# ifconfig rtk0
rtk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (none)
        status: no carrier
        inet 192.168.97.1 netmask 0xffffff00 broadcast 192.168.97.255
        inet6 fe80::2a0:d2ff:fe12:101d%rtk0 prefixlen 64 scopeid 0x14
# exit
swapctl: adding /dev/wd0b as swap device at priority 0
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: barbara.appeng.solidum.com
add net 127.0.0.0: gateway 127.0.0.1
Configuring network interfaces: fxp0.
add net default: gateway 192.168.96.242
Adding interface aliases:
add net fe80::: gateway ::1
add net fec0::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::224.0.0.0: gateway ::1
add net ::127.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net ::255.0.0.0: gateway ::1
add net 2002:e000::: gateway ::1
add net 2002:7f00::: gateway ::1
add net 2002:0000::: gateway ::1
add net 2002:ff00::: gateway ::1
add net ::0.0.0.0: gateway ::1
IPv6 mode: host
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)
wsmux1: connecting to wsdisplay0
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Creating runtime link editor directory cache.
Updating motd.
starting local daemons:.
Starting sshd.
Starting inetd.
Starting cron.
Mon May  7 05:02:42 PDT 2001



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.5.5, an Emacs/PGP interface

iQCVAwUBOxBqoIqHRg3pndX9AQHNfQP/dJIy9cUzrLwFBtGQfqbbkKihErD2xPn/
DQJ7PUxLXPNFaP5sTw+xixSra/ACxPur7Ze2HjShiujCJiVZIon9nXwa/7OqH0kT
O1mYUCRuQ6ckXg5OvSvEKcaDdlOkCU70TxtkP/wqsAi5+MMRUDGxW1mwRWcXgd01
FuudVYOHrJo=
=OEmH
-----END PGP SIGNATURE-----