mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Introduce Genesys GL3224 quirks
The Genesys chip is failing when issueing READ_CAP(16) command. Force a quirk to disable it and use READ_CAP(10) instead. Also, depending on used firmware, GL3224 can be recognized either as 'storage device' or 'mass storage class' - enable both variants in scsi_quirk_table. Submitted by: Wojciech Macek <wma@semihalf.com> Konrad Adamczyk <ka@semihalf.com> Obtained from: Semihalf Sponsored by: Stormshield Reviewed by: mav Differential revision: https://reviews.freebsd.org/D10902
This commit is contained in:
parent
7108339449
commit
631f8f40d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319117
sys/cam/scsi
@ -682,6 +682,13 @@ static struct da_quirk_entry da_quirk_table[] =
|
||||
{T_DIRECT, SIP_MEDIA_REMOVABLE, "*" , "USB DISK*",
|
||||
"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
|
||||
},
|
||||
{
|
||||
/*
|
||||
* Genesys GL3224
|
||||
*/
|
||||
{T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "STORAGE DEVICE*",
|
||||
"120?"}, /*quirks*/ DA_Q_NO_SYNC_CACHE | DA_Q_4K | DA_Q_NO_RC16
|
||||
},
|
||||
{
|
||||
/*
|
||||
* Genesys 6-in-1 Card Reader
|
||||
|
@ -546,6 +546,14 @@ static struct scsi_quirk_entry scsi_quirk_table[] =
|
||||
{ T_DIRECT, SIP_MEDIA_REMOVABLE, "Garmin", "*", "*" },
|
||||
CAM_QUIRK_NORPTLUNS, /*mintags*/2, /*maxtags*/255
|
||||
},
|
||||
{
|
||||
{ T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic", "STORAGE DEVICE*", "120?" },
|
||||
CAM_QUIRK_NORPTLUNS, /*mintags*/2, /*maxtags*/255
|
||||
},
|
||||
{
|
||||
{ T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic", "MassStorageClass", "1533" },
|
||||
CAM_QUIRK_NORPTLUNS, /*mintags*/2, /*maxtags*/255
|
||||
},
|
||||
{
|
||||
/* Default tagged queuing parameters for all devices */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user