Subject: Re: Experimental new cosc(4)
To: None <port-arm32@netbsd.org>
From: Jan-Uwe Finck <jufi@nerdnet.de>
List: port-arm32
Date: 07/06/2001 20:16:20
On Fri, Jul 06, 2001 at 06:35:16PM +0100, Ben Harris wrote:
> On Fri, 6 Jul 2001, Ben Harris wrote:
> 
> > That might explain it.  I'll do a polling version of the driver and see if
> > that helps.
> 
> Ooh, that was easy.  Same URL as before.  Try it and see if it's any
> better.


Well..... at least _much_ better than the last 24 months :-)
Here's my dmesg:

podulebus0 (root)
podule1  at podulebus0 : MCS : Connect32 SCSI II interface : MCS
Connect32
netslot0 at podulebus0 : I-Cubed : EtherLan 600-series : i-cubed ltd,
EtherLan 600AX interface (00:c0:32:00:9C:38)
cosc0 at podulebus0 slot 1 termpwr=on firmware=1.01 mode=polling
dma_channel=3:
NCR53C94, 40MHz, SCSI ID 7
scsibus0 at cosc0: 8 targets, 8 luns per target
ne0 at podulebus0 [ netslot 0 ]: EtherLan 600 ethernet
ne0: Ethernet address 00:c0:32:00:9c:38
ne0: 10base2, 10baseT, auto, default auto
ne0: 32KB buffer memory
ipl_bio=00108c09 ipl_net=00100400 ipl_tty=00100400 ipl_imp=00100400
ipl_audio=00000400 ipl_imp=00000400 ipl_high=00000400
ipl_serial=00000000
clock: hz=100 stathz = 0 profhz = 0
Setting statclock to 0Hz (-1 ticks)
scsibus0: waiting 2 seconds for devices to settle...
cosc_dma_setup: DMA 0xf11e6060/32 [32]
cosc_dma_go: datain 1 size 32
cosc_dma_intr: piomode 1 cnt 32 int 10 stat 81 fifo 1 PIO 32 datain 1
phase 1 stat 81 intr 10
cosc_dma_intr: PIO transfer [32], 32->14 phase 3 stat 83 intr 10
cosc_dma_setup: PIO 0xf028ee6c/74 [74]
cosc_dma_go: datain 1 size 74
cosc_dma_intr: piomode 1 cnt 74 int 10 stat 81 fifo 1 PIO 74 datain 1
phase 1 stat 81 intr 10
cosc_dma_intr: PIO transfer [74], 74->38 phase 3 stat 83 intr 10
cd0 at scsibus0 target 4 lun 0: <TEAC, CD-ROM CD-532S, 1.0A> SCSI2
5/cdrom removable
cosc_dma_setup: PIO 0xf11e6060/32 [32]
cosc_dma_go: datain 1 size 32
cosc_dma_intr: piomode 1 cnt 32 int 10 stat 81 fifo 1 PIO 32 datain 1
phase 1 stat 81 intr 10
cosc_dma_intr: PIO transfer [32], 32->14 phase 3 stat 83 intr 10
cosc_dma_setup: PIO 0xf028ee6c/74 [74]
cosc_dma_go: datain 1 size 74
cosc_dma_intr: piomode 1 cnt 74 int 10 stat 81 fifo 1 PIO 74 datain 1
phase 1 stat 81 intr 10
cosc_dma_intr: PIO transfer [74], 74->38 phase 3 stat 83 intr 10
cd0: async, 8-bit transfers
md0: allocated 0K (0 blocks)
boot device: wd1
root on wd1a dumps on wd1b

And trying to mount a CD with 
mount /dev/cd0a /mnt

leads to :

riscy# mount
/dev/wd1a on / type ffs (local)
/dev/wd1e on /usr type ffs (local)
kernfs on /kern type kernfs (local)
/dev/cd0a on /mnt type cd9660 (local, read-only)

That's fine.
Although it work's it's a little bit chatty:

riscy# cd /mnt
riscy# cd pd
riscy# ls
Jul  6 20:15:02 riscy /netbsd: cosc_dma_setup: DMA 0xf35ab000/2048
[2048]
Jul  6 20:15:02 riscy /netbsd: cosc_dma_go: datain 1 size 2048
bundh     grafik    internet  sprachen  text
riscy# Jul  6 20:15:02 riscy /netbsd: cosc_dma_intr: piomode 1 cnt
2048 int 10 stat 81 fifo 1 PIO 2048 datain 1 phase 1 stat 81 intr 10
Jul  6 20:15:02 riscy /netbsd: cosc_dma_intr: PIO transfer [2048],
2048->0 phase 3 stat 83 intr 10


So overall I'm impressed.
It's not perfect, but it runs ! :-)

Thanks a lot !
-- 
Greetings,	
	Jan-Uwe
-------------------------------------------------
PGP-Public-Key on Request.