diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 6903100e3c83..30c0741c5e5c 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -397,7 +397,7 @@ static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev, ide_pci_device_t *d, | |||
397 | memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports)); | 397 | memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports)); |
398 | hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; | 398 | hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; |
399 | } | 399 | } |
400 | hwif->chipset = ide_pci; | 400 | hwif->chipset = d->chipset ? d->chipset : ide_pci; |
401 | hwif->pci_dev = dev; | 401 | hwif->pci_dev = dev; |
402 | hwif->cds = (struct ide_pci_device_s *) d; | 402 | hwif->cds = (struct ide_pci_device_s *) d; |
403 | hwif->channel = port; | 403 | hwif->channel = port; |