Revert "ata: sata_sil: Rename sil_blacklist to sil_quirks"
This reverts commit 53c620af9a
.
This commit is contained in:
parent
3797787773
commit
f97e2de331
1 changed files with 6 additions and 6 deletions
|
@ -128,7 +128,7 @@ static const struct pci_device_id sil_pci_tbl[] = {
|
||||||
static const struct sil_drivelist {
|
static const struct sil_drivelist {
|
||||||
const char *product;
|
const char *product;
|
||||||
unsigned int quirk;
|
unsigned int quirk;
|
||||||
} sil_quirks[] = {
|
} sil_blacklist [] = {
|
||||||
{ "ST320012AS", SIL_QUIRK_MOD15WRITE },
|
{ "ST320012AS", SIL_QUIRK_MOD15WRITE },
|
||||||
{ "ST330013AS", SIL_QUIRK_MOD15WRITE },
|
{ "ST330013AS", SIL_QUIRK_MOD15WRITE },
|
||||||
{ "ST340017AS", SIL_QUIRK_MOD15WRITE },
|
{ "ST340017AS", SIL_QUIRK_MOD15WRITE },
|
||||||
|
@ -601,8 +601,8 @@ static void sil_thaw(struct ata_port *ap)
|
||||||
* list, and apply the fixups to only the specific
|
* list, and apply the fixups to only the specific
|
||||||
* devices/hosts/firmwares that need it.
|
* devices/hosts/firmwares that need it.
|
||||||
*
|
*
|
||||||
* 20040111 - Seagate drives affected by the Mod15Write bug are quirked
|
* 20040111 - Seagate drives affected by the Mod15Write bug are blacklisted
|
||||||
* The Maxtor quirk is in sil_quirks, but I'm keeping the original
|
* The Maxtor quirk is in the blacklist, but I'm keeping the original
|
||||||
* pessimistic fix for the following reasons...
|
* pessimistic fix for the following reasons...
|
||||||
* - There seems to be less info on it, only one device gleaned off the
|
* - There seems to be less info on it, only one device gleaned off the
|
||||||
* Windows driver, maybe only one is affected. More info would be greatly
|
* Windows driver, maybe only one is affected. More info would be greatly
|
||||||
|
@ -621,9 +621,9 @@ static void sil_dev_config(struct ata_device *dev)
|
||||||
|
|
||||||
ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
|
ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
|
||||||
|
|
||||||
for (n = 0; sil_quirks[n].product; n++)
|
for (n = 0; sil_blacklist[n].product; n++)
|
||||||
if (!strcmp(sil_quirks[n].product, model_num)) {
|
if (!strcmp(sil_blacklist[n].product, model_num)) {
|
||||||
quirks = sil_quirks[n].quirk;
|
quirks = sil_blacklist[n].quirk;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue