diff options
author | trhodes <trhodes@FreeBSD.org> | 2002-12-16 17:40:17 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2002-12-16 17:40:17 +0000 |
commit | 052113cc0f9bb39ccd0b6ae1dd4afb0397d30607 (patch) | |
tree | 2215fdfc1fe0f010d20777e3f9a3207b2778dace /sys | |
parent | efdf333c007d8509b5d43ea434612ec248827a0c (diff) | |
download | FreeBSD-src-052113cc0f9bb39ccd0b6ae1dd4afb0397d30607.zip FreeBSD-src-052113cc0f9bb39ccd0b6ae1dd4afb0397d30607.tar.gz |
The HP DAT 40 tape drive should be able to handle variable block sizes.
But for some reason the block size is different when a different type of
tape is placed in the drive. This commit fixes that.
PR: 46209
Submitted by: Alex Wang <alex@alexwang.com>
Approved by: mjacob
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/scsi/scsi_sa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c index 889cc1a..ce077c5 100644 --- a/sys/cam/scsi/scsi_sa.c +++ b/sys/cam/scsi/scsi_sa.c @@ -301,6 +301,10 @@ static struct sa_quirk_entry sa_quirk_table[] = "C15*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_NO_CPAGE, 0, }, #endif + { + { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP", + "C56*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0 + }, { { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP", "T20*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512 |