Messages in this thread Patch in this message | | | Date | Mon, 15 Apr 1996 18:30:39 +0200 | From | Uwe Bonnes <> | Subject | OPTION_NOASYNC in drivers/scsi/53c7,8xx.c should be OTION_NO_ASYNC |
| |
Hallo,
the file /usr/src/linux/drivers/scsi/53c7,8xx.c tells to define OPTION_NOASYNC to circumvent problems with some devices. But OPTION_NOASYNC isn't defined anywhere. OPTION_NO_ASYNC is, so this should be changed.
B.t.w., that didn't solve my problem with my tape, which gets defined synchronous even as it can't support that mode. Vendor: TANDBERG Model: TDC 3800 Rev: =04: Type: Sequential-Access ANSI SCSI revision: 02
With scsiinfo it gives the right information. bash# scsiinfo -i /dev/nst0 Inquiry command --------------- Relative Address 0 Wide bus 32 0 Wide bus 16 0 Synchronous neg. 0 Linked Commands 1 Command Queueing 0 SftRe 0 Device Type 1 Peripheral Qualifier 0 Removable? 1 Device Type Modifier 0 ISO Version 0 ECMA Version 0 ANSI Version 2 AENC 0 TrmIOP 0 Response Data Format 2 Vendor: TANDBERG Product: TDC 3800 Revision level: =04:08CREATED022092
Doesn't the negotiation when OPTION_ALWAYS_SYNCHRONOUS is given look at that info?
--- linux-1.3.87/drivers/scsi/53c7,8xx.c~ Fri Apr 12 21:44:18 1996 +++ linux-1.3.87/drivers/scsi/53c7,8xx.c Fri Apr 12 21:53:00 1996 @@ -24,7 +24,7 @@ * in the text. * * - * OPTION_NOASYNC + * OPTION_NO_ASYNC * Don't negotiate for asynchronous transfers on the first command * when OPTION_ALWAYS_SYNCHRONOUS is set. Useful for dain bramaged * devices which do something bad rather than sending a MESSAGE
-- Uwe Bonnes bon@elektron.ikp.physik.th-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
| |