c9895db015
If the read or write request can fit into a 6-byte cdb, then use a 6-byte cdb, otherwise use the 10-byte as before. In sd.c: In sdattach(), make a note if the device is "ancient" (i.e. inqbuf.version & SID_ANSII == 0). Implement sdminphys(): if the device is "ancient", shorten the transfer so it will fit into a 6-byte cdb. These changes have eliminated the rejected read/write requests on my Sun 3/60 with 2 ESDI disks behind an Emulex MD21. |
||
---|---|---|
.. | ||
cd.c | ||
ch.c | ||
files.scsipi | ||
scsi_all.h | ||
scsi_base.c | ||
scsi_cd.h | ||
scsi_changer.h | ||
scsi_disk.h | ||
scsi_message.h | ||
scsi_tape.h | ||
scsiconf.c | ||
scsiconf.h | ||
scsipi_debug.h | ||
scsipi_ioctl.c | ||
sd.c | ||
st.c | ||
su.c | ||
uk.c |