From aa965e824828a11117c6995b6491db12c93e1e85 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Tue, 21 Aug 2001 22:13:53 +0000 Subject: [PATCH] Add quirks for the Olympus Digital Camera. PR: 26295 Add quirks for the Microtech CameraMate. --- sys/cam/scsi/scsi_da.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 832b26cc73f8..dd5f3569c4e2 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -250,6 +250,14 @@ static struct da_quirk_entry da_quirk_table[] = {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"}, /*quirks*/ DA_Q_NO_6_BYTE }, + { + /* + * the Microtech USB CameraMate does not like + * the sync-cache command, or READ_6. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "eUSB Compact*", "Compact Flash*", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, { /* * The vendor, product and version strings coming from the @@ -258,8 +266,15 @@ static struct da_quirk_entry da_quirk_table[] = */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, + { + /* + * Olympus digital cameras (C-3040ZOOM, C-2040ZOOM, C-1) + * do not support READ_6 commands, only READ_10. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "C-*", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE } - }; static d_open_t daopen;