diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 634e3f6a9608..ea66c996e4ec 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -41,17 +41,6 @@ static ide_hwif_t *ide_match_hwif(unsigned long io_base, u8 bootable, const char | |||
41 | ide_hwif_t *hwif; | 41 | ide_hwif_t *hwif; |
42 | 42 | ||
43 | /* | 43 | /* |
44 | * Look for a hwif with matching io_base specified using | ||
45 | * parameters to ide_setup(). | ||
46 | */ | ||
47 | for (h = 0; h < MAX_HWIFS; ++h) { | ||
48 | hwif = &ide_hwifs[h]; | ||
49 | if (hwif->io_ports[IDE_DATA_OFFSET] == io_base) { | ||
50 | if (hwif->chipset == ide_forced) | ||
51 | return hwif; /* a perfect match */ | ||
52 | } | ||
53 | } | ||
54 | /* | ||
55 | * Look for a hwif with matching io_base default value. | 44 | * Look for a hwif with matching io_base default value. |
56 | * If chipset is "ide_unknown", then claim that hwif slot. | 45 | * If chipset is "ide_unknown", then claim that hwif slot. |
57 | * Otherwise, some other chipset has already claimed it.. :( | 46 | * Otherwise, some other chipset has already claimed it.. :( |