|
@@ -1218,16 +1218,12 @@ static void drive_release_dev (struct device *dev)
|
|
|
complete(&drive->gendev_rel_comp);
|
|
|
}
|
|
|
|
|
|
-#ifndef ide_default_irq
|
|
|
-#define ide_default_irq(irq) 0
|
|
|
-#endif
|
|
|
-
|
|
|
static int hwif_init(ide_hwif_t *hwif)
|
|
|
{
|
|
|
int old_irq;
|
|
|
|
|
|
if (!hwif->irq) {
|
|
|
- hwif->irq = ide_default_irq(hwif->io_ports.data_addr);
|
|
|
+ hwif->irq = __ide_default_irq(hwif->io_ports.data_addr);
|
|
|
if (!hwif->irq) {
|
|
|
printk("%s: DISABLED, NO IRQ\n", hwif->name);
|
|
|
return 0;
|
|
@@ -1257,7 +1253,7 @@ static int hwif_init(ide_hwif_t *hwif)
|
|
|
* It failed to initialise. Find the default IRQ for
|
|
|
* this port and try that.
|
|
|
*/
|
|
|
- hwif->irq = ide_default_irq(hwif->io_ports.data_addr);
|
|
|
+ hwif->irq = __ide_default_irq(hwif->io_ports.data_addr);
|
|
|
if (!hwif->irq) {
|
|
|
printk("%s: Disabled unable to get IRQ %d.\n",
|
|
|
hwif->name, old_irq);
|