Subject: esp(4) SCSI (Re: MI SONIC Ethernet driver for mac68k)
To: None <hauke@Espresso.Rhein-Neckar.DE>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mac68k
Date: 06/05/2007 02:27:17
hauke@Espresso.Rhein-Neckar.DE wrote:

> At 9:35 Uhr +0900 2.6.2007, Izumi Tsutsui wrote:
> >BTW, does esp(4) SCSI work without problem on your Q650?
> >
> >On my LC630, "dd if=/dev/rsd0a of=/dev/null bs=64k" doesn't work
> >while "bs=63k" works:
> 
> No problems here:
> 
> fattie# dmesg | grep sd0
> sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST336706LW, 010A> disk fixed
> sd0: 35003 MB, 26302 cyl, 4 head, 681 sec, 512 bytes/sect x 71687370 sectors
> sd0: async, 8-bit transfers, tagged queueing
> boot device: sd0
> root on sd0a dumps on sd0b
> fattie# uname -a
> NetBSD fattie 4.0_BETA2 NetBSD 4.0_BETA2 (FATTIE) #0: Fri Apr 20 18:38:05
> CEST 2007  hauke@fattie:/usr/src/sys/arch/mac68k/compile/FATTIE mac68k
> fattie# dd if=/dev/rsd0a of=/dev/null bs=64k
> ^C706+0 records in
> 706+0 records out
> 46268416 bytes transferred in 18.627 secs (2483943 bytes/sec)
> fattie#

Hmm, then LC630 (Q630) might have some quirk around esp DMA
and should we handle it in mac68k/obio/esp.c?

> I noted, though, that the Seagate Cheetah is only recognized as
> asynchronous scsi device.

If you don't have any "flags" at esp(4) lines in your config,
you could add "PQUIRK_CAP_SYNC" quirk flag to scsi_quirk_patterns[]
in sys/dev/scsipi/scsiconf.c.
---
Izumi Tsutsui