]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the sa(4) driver to check for long position support on
authorKenneth D. Merry <ken@FreeBSD.org>
Mon, 2 Mar 2015 18:09:49 +0000 (18:09 +0000)
committerKenneth D. Merry <ken@FreeBSD.org>
Mon, 2 Mar 2015 18:09:49 +0000 (18:09 +0000)
commit54eb0be2317aa5d8cf465a9e4750e708d8b3fbdf
tree3fde598cd23e304dbe3d92267106e7481e93ff9f
parentc7f898e9d3296d29f9a00abf2c28d5b0a143ce47
Change the sa(4) driver to check for long position support on
SCSI-2 devices.

Some older tape devices claim to be SCSI-2, but actually do support
long position information.  (Long position information includes
the current file mark.)  For example, the COMPAQ SuperDLT1.

So we now only disable the check on SCSI-1 and older devices.

sys/cam/scsi/scsi_sa.c:
In saregister(), only disable fetching long position
information on SCSI-1 and older drives.  Update the
comment to explain why.

Confirmed by: dvl
Sponsored by: Spectra Logic
MFC after: 3 weeks
sys/cam/scsi/scsi_sa.c