diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:24 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:24 +0200 |
commit | a2cdee5a9a93360165d0576bbc7e9ccb3127afee (patch) | |
tree | 0a8b381c5224a12c837cb9376d256fa00f7e50e8 /drivers | |
parent | 7c199a5496d0579d388636ee34a954e2e566d2fb (diff) | |
download | op-kernel-dev-a2cdee5a9a93360165d0576bbc7e9ccb3127afee.zip op-kernel-dev-a2cdee5a9a93360165d0576bbc7e9ccb3127afee.tar.gz |
ide: remove IDE_CHIPSET_* macros
They just obfuscate the code.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ide-probe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index a27c039..8cfce50 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1105,7 +1105,8 @@ static int init_irq (ide_hwif_t *hwif) sa = IRQF_SHARED; #endif /* __mc68000__ */ - if (IDE_CHIPSET_IS_PCI(hwif->chipset)) + if (hwif->chipset == ide_pci || hwif->chipset == ide_cmd646 || + hwif->chipset == ide_ali14xx) sa = IRQF_SHARED; if (io_ports->ctl_addr) |