Subject: Re: pchb PCI Bridge (82452KX/GX?) support
To: None <port-i386@netbsd.org>
From: MOCHIDA Shuji <mochid@netside.co.jp>
List: port-i386
Date: 06/22/2002 01:54:20
----Next_Part(Sat_Jun_22_01:54:20_2002_054)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


From: David Laight <david@l8s.co.uk>
Date: Wed, 12 Jun 2002 18:04:46 +0100

>> find aic7870. So, I insert FreeBSD 4.6 RC4 's kern.flp and it's 
>> shows that ahc0 and ahc1 is on pci1.
>> 
>> | pcib0: <Intel 824?? host to PCI bridge> on motherboard
>> | pci0: <PCI bus> on pcib0
>> |   :
>> | pcib1: <Intel 824?? host to PCI bridge> on motherboard
>> | pci1: <PCI bus> on pcib1
> 
> Ah - one of those systems with 2 host-PCI bridges!
> 
> IIRC there are varios (horrid) hw hacks to make the PCI
> system look as though the PCI busses are bridged off
> each other - at least for IRQ and config cycles (or
> maybe just to configure the 2nd host bridge....)


  FreeBSD:
    motherboard -+- pcib0 - pci0 -+- fxp0
                 |               (+- etc.)
                 |
                 +- pcib1 - pci1 -+- ahc0
                                  +- ahc1
                                 (+- etc.)


  NetBSD(with Masanori Kanaoka's patch):
    mainbus0 - pci0 -+- pchb0 - pci1 -+- pchb1 (- nothing)
                     +- fxp0          +- ahc0
                    (+- etc.)         +- ahc1
                                     (+- etc.)

 ...strange.

-mochid

----Next_Part(Sat_Jun_22_01:54:20_2002_054)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: dmesg.out
Content-Disposition: inline; filename="dmesg.out"

NetBSD 1.5ZC (LOCUTUS1) #0: Tue Jun 18 21:47:11 JST 2002
    mochid@fomscvs:/ds1/t/NetBSD-1.5ZC-20020411/source-pchb-patch/src/sys/arch/i386/compile/LOCUTUS1
cpu0: Intel Pentium (P54C) (586-class), 100.01 MHz
cpu0: features 3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
total memory = 127 MB
avail memory = 112 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfcbc0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82452KX/GX Orion Extended Express Processor to PCI Bridge (rev. 0x02)
pbnum: 0x0
pci1 at pchb0 bus 1
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 0 function 0
pchb1: Intel 82452KX/GX Orion Extended Express Processor to PCI Bridge (rev. 0x02)
pbnum: 0xff
ahc0 at pci1 dev 13 function 0
ahc0: interrupting at irq 11
ahc0: Using left over BIOS settings
ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci1 dev 14 function 0
ahc1: interrupting at irq 9
ahc1: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc1: 16 targets, 8 luns per target
fxp0 at pci0 dev 12 function 0: Intel i82557 Ethernet, rev 2
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:a0:c9:cd:eb:92
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pceb0 at pci0 dev 14 function 0
pceb0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x05)
Intel product 0x0008 (undefined subclass 0x00) at pci0 dev 15 function 0 not configured
eisa at pceb0 not configured
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
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
eisa at mainbus0 not configured
biomask eb6d netmask ef6d ttymask ffef
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST31250W, 0003> SCSI2 0/direct fixed
sd0: 973 MB, 3712 cyl, 5 head, 107 sec, 512 bytes/sect x 1994037 sectors
sd0: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST31250W, 0003> SCSI2 0/direct fixed
sd1: 973 MB, 3712 cyl, 5 head, 107 sec, 512 bytes/sect x 1994037 sectors
sd1: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 2 lun 0: <MATSHITA, CD-ROM CR-503, 1.0f> SCSI2 5/cdrom removable
cd0: async, 8-bit transfers
sd2 at scsibus0 target 3 lun 0: <SEAGATE, ST31250W, 9203> SCSI2 0/direct fixed
sd2: 973 MB, 3712 cyl, 5 head, 107 sec, 512 bytes/sect x 1994037 sectors
sd2: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
st0 at scsibus0 target 4 lun 0: <ARCHIVE, Python 28388-XXX, 4.BU> SCSI2 1/sequential removable
st0: drive empty
st0: sync (200.0ns offset 15), 8-bit (5.000MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
sd3 at scsibus1 target 4 lun 0: <SEAGATE, ST31250W, 0003> SCSI2 0/direct fixed
sd3: 973 MB, 3712 cyl, 5 head, 107 sec, 512 bytes/sect x 1994037 sectors
sd3: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
sd4 at scsibus1 target 5 lun 0: <SEAGATE, ST31250W, 0003> SCSI2 0/direct fixed
sd4: 973 MB, 3712 cyl, 5 head, 107 sec, 512 bytes/sect x 1994037 sectors
sd4: sync (100.0ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

----Next_Part(Sat_Jun_22_01:54:20_2002_054)----