> Hi there!
> 
> more testing and more problems fixed (patches against
> 2.3.26 attached):
> - debug for the first controller was initialized with
>   DELAY_DEFAULT instead of DEBUG_DEFAULT, therefore that
>   strange debugging output (MESSAGE IN...).
> - fixed synchronous negotiation
> - debugging output can now be controller through procfs.
> 
> Luca: should get you your Yamaha recognized with synchronous
>       enabled.  Nevertheless it will keep on rejecting
>       synchronous transfers.
> 
> Carl-Johan & Toon: I've tested the driver with a Microtek
>       ScanMaker II. Seems to work here.  Maybe it works
>       for you now, too.  But I had to blacklist it in scsi.c,
>       because it responded to all luns.
> 
> BTW it's ok to reject synchronous transfers for a device
> that just can't do it.  That what the synchronous
> negotiation is about.

Good, all fine here 2.3.26+aha152x v1.21, I've just revert my aha152x option to:
aha152x=0x140,9,7 reboot and burn a CD-ROM without _any_ problem.
Other tests with SCSI cdrom, scanner and Tape will be done tomorrow, hopfully
with 2.3.27 ;)

I like to know more about io.h changes anyway :?

Follow some logs:

from dmesg:

FDC 0 is a post-1991 82077
aha152x: processing commandline: ok
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x0: vital data: io=0x140 (0x140/0x140), irq=9, scsiid=7, reconnect=enabled, 
parity=enabled, synchronous=enabled,
delay=100, extended translation=disabled
aha152x: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.21 $
scsi : 1 host.
aha152x: sending Synchronous Data Transfer Request period = 200 ns, offset = 8
aha152x: Synchronous Data Transfer Request was rejected
  Vendor: YAMAHA    Model: CRW4260           Rev: 1.0h
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
scsi : detected 1 SCSI cdrom total.
sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
PPP generic driver version 2.4.0

>From /proc..

Adaptec 152x SCSI driver; $Revision: 1.21 $
ioports 0x0140 to 0x015f
interrupt 0x09
disconnection/reconnection enabled
parity checking enabled
synchronous transfers enabled
1 commands currently queued
synchronously operating targets (tick=50 ns):
enabled debugging options: (abort) (reset) 

queue status:
no not yet issued commands
no current command
disconnected commands:
0xc11c3600: target=3; lun=0; cmnd=( 0x2a 0x00 0x00 0x00 0x80 0xb0 0x00 0x00 0x10 0x00 
); resid=32768; residual=32768;
buffers=0; phase |disconnected|sent_ident|; in other(MESSAGE IN); phaseend; 
next=0x00000000

waiting: SCSISEQ (RESELI ); SCSISIG (DATA OUT); INTSTAT (lo); SSTAT (BUSFREE PHASECHG 
); SSTAT (); SXFRCTL0 (CH1 );
SIGNAL (); SELID (88), STCNT (32768), SSTAT2 (SEMPTY ); SFCNT (0); SCSICNT (0), 
OFFCNT(0), SSTAT4 (); DMACNTRL0 (16BIT
PIO WRITE INTEN ); DMASTAT (WORDRDY DFIFOEMP )

enabled interrupts (ENSELDI )
--

Thanks,
luca
------------------------------------------------------------------
E-mail......: Luca Montecchiani <[EMAIL PROTECTED]>
W.W.W.......: http://i.am/m.luca - http://luca.myip.org
Speakfreely.: sflwl -hlwl.fourmilab.ch luca@
I.C.Q.......: 17655604
-----------------------=(Linux since 1995)=-----------------------

Non esiste vento favorevole per il marinaio che non sa dove andare
                                                          Seneca

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to