Skip to content

Commit 93b0f9e

Browse files
committed
ata: sata_sil: Rename sil_blacklist to sil_quirks
Rename the array sil_blacklist to sil_quirks as this name is more neutral and is also consistent with how this driver define quirks with the SIL_QUIRK_XXX flags. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Reviewed-by: Igor Pylypiv <[email protected]>
1 parent ca8040b commit 93b0f9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/ata/sata_sil.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static const struct pci_device_id sil_pci_tbl[] = {
128128
static const struct sil_drivelist {
129129
const char *product;
130130
unsigned int quirk;
131-
} sil_blacklist [] = {
131+
} sil_quirks[] = {
132132
{ "ST320012AS", SIL_QUIRK_MOD15WRITE },
133133
{ "ST330013AS", SIL_QUIRK_MOD15WRITE },
134134
{ "ST340017AS", SIL_QUIRK_MOD15WRITE },
@@ -600,8 +600,8 @@ static void sil_thaw(struct ata_port *ap)
600600
* list, and apply the fixups to only the specific
601601
* devices/hosts/firmwares that need it.
602602
*
603-
* 20040111 - Seagate drives affected by the Mod15Write bug are blacklisted
604-
* The Maxtor quirk is in the blacklist, but I'm keeping the original
603+
* 20040111 - Seagate drives affected by the Mod15Write bug are quirked
604+
* The Maxtor quirk is in sil_quirks, but I'm keeping the original
605605
* pessimistic fix for the following reasons...
606606
* - There seems to be less info on it, only one device gleaned off the
607607
* Windows driver, maybe only one is affected. More info would be greatly
@@ -620,9 +620,9 @@ static void sil_dev_config(struct ata_device *dev)
620620

621621
ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
622622

623-
for (n = 0; sil_blacklist[n].product; n++)
624-
if (!strcmp(sil_blacklist[n].product, model_num)) {
625-
quirks = sil_blacklist[n].quirk;
623+
for (n = 0; sil_quirks[n].product; n++)
624+
if (!strcmp(sil_quirks[n].product, model_num)) {
625+
quirks = sil_quirks[n].quirk;
626626
break;
627627
}
628628

0 commit comments

Comments
 (0)