Subject: ide working in B&W G3!
To: None <port-macppc@netbsd.org>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 04/27/1999 16:31:42
Jason Thorpe, Chris Demetriou, and I have gotten pciide working on my Blue
& White G3. The problem is in how bandit.c sets up the bus space tags for
the MPC106.

We are going to work on a generic framework to the problem (properly
reading how the bridges are set up rather than guessing from past
knowledge), and will look for testers as we get things figured out.

Here's dmesg from my boot!

Take care,

Bill


NetBSD 1.4A (WATERDEEP) #25: Tue Apr 27 16:14:06 PDT 1999
    wrstuden@metrics:/y1/NetBSD-current/src/sys/arch/macppc/compile/WATERDEEP
CPU: 750 (Revision 8201)
real mem  = 134217728
avail mem = 118890496
using 1638 buffers containing 6709248 bytes of memory
mainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola product 0x0002 (rev. 0x40)
ppb0 at pci0 dev 13 function 0: Digital Equipment DECchip 21154 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
Texas Instruments product 0x8000 (Firewire serial bus, revision 0x02) at pci1 dev 0 function 0 not configured
pciide0 at pci1 dev 1 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 26 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <IBM-DTTA-351290>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 12395MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25385472 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel configured to native-PCI mode
pciide0: secondary channel ignored (disabled)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
BusLogic MultiMaster (SCSI mass storage, revision 0x08) at pci1 dev 3 function 0 not configured
obio0 at pci1 dev 5 function 0: addr 0x80800000
interrupt-controller at obio0 offset 0x10 not configured
scsi at obio0 offset 0x10000 not configured
escc-legacy at obio0 offset 0x12000 not configured
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
power-mgt at obio0 offset 0x0 not configured
fdc at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 0 targets
aed0 at adb0 addr 0: ADB Event device
wdc0 at obio0 offset 0x20000 irq 13
atapibus0 at wdc0 channel 0
cd0 at atapibus0 drive 0: <MATSHITA CR-587, , 7S14> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
sd0 at atapibus0 drive 1: <IOMEGA  ZIP 100       ATAPI, , 12.A> type 0 direct removable
sd0: 96MB, 96 cyl, 64 head, 32 sec, 512 bytes/sect x 196608 sectors
sd0: drive supports PIO mode 3
bm0 at obio0 offset 0x11000 irq 42,33: address 00:05:02:df:65:dd
nvram0 at obio0 offset 0x60000
ohci0 at pci1 dev 6 function 0: Opti RM861HA (rev. 0x10)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0
uhub0 at usb0
uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at uhub0 port 1
uhub1: NEC hub, class 9/0, rev 1.00/1.00, addr 2
uhub1: 4 ports with 4 removable, bus powered
ukbd0 at uhub1 port 1 configuration 1 interface 0
ukbd0: Alps Electric M2452, rev 1.00/1.01, addr 3, iclass 3/1
wskbd1 at ukbd0
ofb0 at pci0 dev 16 function 0: ATI Technologies product 0x5245
ofb0: 1152 x 870, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
wscons: wskbd1 glued to wsdisplay0
boot device: bm0
nfs_boot: trying DHCP/BOOTP
nfs_boot: BOOTP server: 0x81633267
nfs_boot: my_name=waterdeep
nfs_boot: my_addr=0x8163325c
nfs_boot: my_mask=0xffffff00
nfs_boot: gateway=0x816332fe
root on baldurs-gate:/usr/src/z_netbooting/macppc
WARNING: clock lost 15565 days -- CHECK AND RESET THE DATE!
root file system type: nfs