aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index 0d97890af681..be7c39552980 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -588,6 +588,10 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
588 u8 rev = isa->revision; 588 u8 rev = isa->revision;
589 pci_dev_put(isa); 589 pci_dev_put(isa);
590 590
591 if ((id->device == 0x0415 || id->device == 0x3164) &&
592 (config->id != id->device))
593 continue;
594
591 if (rev >= config->rev_min && rev <= config->rev_max) 595 if (rev >= config->rev_min && rev <= config->rev_max)
592 break; 596 break;
593 } 597 }