Subject: Re: ncr53c8xx driver
To: None <mw34@cornell.edu>
From: Aris Colp <aris@PADL.COM>
List: port-macppc
Date: 06/02/2000 15:27:00
> What NCR SCSI drivers are you talking about?  Are these integrated
> into -current?  htdig on mail-index.netbsd.org is pretty bad, and
> I can't find any posts about this on port-macppc.

Jason Thorpe modified the ncr53c8xx drivers to support big-endian machines.

I've made a kernel that has this driver built in and it seems to work on the
Apple Network Server 500 that I use.

I've posted the Linux ANS list if anyone wants to install NetBSD with the
version of boot.fs that I've made:

ftp://ftp.padl.com/pub/apple_network_server/netbsd_1.4.2_boot.fs

/usr/src/sys/dev/pci/ncr.c for NetBSD 1.4.2 can be found at
ftp://ftp.padl.com/pub/apple_network_server/ncr.c

> BTW, what version of OF does your machine have?
> 

I think that it's 1.1.22.

Cheers,

	-- Aris


Here's the output of dmesg:

NetBSD 1.4.2 (PADL) #1: Mon May 15 02:36:15 EST 2000
    root@shiner:/usr/src/sys/arch/macppc/compile/PADL
CPU: 604 (Revision 303)
real mem  = 67108864
avail mem = 58339328
using 819 buffers containing 3354624 bytes of memory
mainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer PCI Controller (rev. 0x03)
ofb0 at pci0 dev 15 function 0: Cirrus Logic CL-GD5430
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:40:22:91:51
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 0 targets
aed0 at adb0 addr 0: ADB Event device
nvram0 at obio0 offset 0x1d000
lcd at obio0 offset 0x1c000 not configured
ncr0 at pci0 dev 17 function 0: ncr 53c825a fast10 wide scsi
ncr0: interrupting at irq 22
ncr0: minsync=25, maxsync=206, maxoffs=8, 128 dwords burst, large dma fifo
ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
ncr0: restart (scsi reset).
scsibus1 at ncr0: 16 targets, 8 luns per target
cd0 at scsibus1 targ 0 lun 0: <MATSHITA, CD-ROM CR-8005A, 4.0i> SCSI2 5/cdrom removable
probe(ncr0:0:1): 5.0 MB/s (200 ns, offset 8)
st0 at scsibus1 targ 1 lun 0: <HP, C1533A, 9503> SCSI2 1/sequential removable
st0: st0(ncr0:1:0): 10.0 MB/s (100 ns, offset 8) drive empty
sd0 at scsibus1 targ 2 lun 0: <SEAGATE, ST34520W, 1444> SCSI2 0/direct fixed
sd0(ncr0:2:0): WIDE SCSI (16 bit) enabled
sd0(ncr0:2:0): 20.0 MB/s (100 ns, offset 8)
sd0: 4340MB, 9006 cyl, 4 head, 246 sec, 512 bytes/sect x 8888924 sectors
sd1 at scsibus1 targ 3 lun 0: <SEAGATE, ST32550W_APL, 9503> SCSI2 0/direct fixed
sd1(ncr0:3:0): WIDE SCSI (16 bit) enabled
sd1(ncr0:3:0): 20.0 MB/s (100 ns, offset 8)
sd1: 2047MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sect x 4194058 sectors
ncr1 at pci0 dev 18 function 0: ncr 53c825a fast10 wide scsi
ncr1: interrupting at irq 26
ncr1: minsync=25, maxsync=206, maxoffs=8, 128 dwords burst, large dma fifo
ncr1: single-ended, open drain IRQ driver, using on-chip SRAM
ncr1: restart (scsi reset).
scsibus2 at ncr1: 16 targets, 8 luns per target
sd2 at scsibus2 targ 4 lun 0: <QUANTUM, XP34550W, LXY4> SCSI2 0/direct fixed
sd2(ncr1:4:0): WIDE SCSI (16 bit) enabled
sd2(ncr1:4:0): 20.0 MB/s (100 ns, offset 8)
sd2: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
sd3 at scsibus2 targ 5 lun 0: <QUANTUM, XP34550W, LXY4> SCSI2 0/direct fixed
sd3(ncr1:5:0): WIDE SCSI (16 bit) enabled
sd3(ncr1:5:0): 20.0 MB/s (100 ns, offset 8)
sd3: 4341MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors
pci1 at mainbus0 bus 1
pci1: i/o enabled, memory enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer PCI Controller (rev. 0x03)
de0 at pci1 dev 16 function 0
de0: interrupting at irq 29
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:80:c8:4e:65:29
boot device: <unknown>
root on sd0a dumps on sd0b
sd0: NetBSD disklabel
de0: enabling 10baseT port
sd2: NetBSD disklabel
sd3: NetBSD disklabel
sd1: NetBSD disklabel


___________________________________________________________________________
Aris Colp                                                     aris@padl.com
Technical Support                                            +614-1141-4066
PADL Software Pty Ltd                                          WWW.PADL.COM