diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-10 13:39:03 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-11-10 13:39:03 +0100 |
commit | 09c207eb2e7dd63d51c1f5e2abccf2562e6fd87e (patch) | |
tree | f86b7e796bc1211f3f0b75836d868e78fa50957d /linux | |
parent | de7a51dbb8af4ad7a541067f41ae4e8c2dd42711 (diff) | |
download | gnumach-09c207eb2e7dd63d51c1f5e2abccf2562e6fd87e.tar.gz gnumach-09c207eb2e7dd63d51c1f5e2abccf2562e6fd87e.tar.bz2 gnumach-09c207eb2e7dd63d51c1f5e2abccf2562e6fd87e.zip |
ide: Use default IRQ by default
To avoid even trying to probe IRQs. Nowadays' hardware use the default
IRQ anyway.
* linux/src/drivers/block/ide.c (init_hwif_data): Set hwif->irq to
default_irqs[index].
Diffstat (limited to 'linux')
-rw-r--r-- | linux/src/drivers/block/ide.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/src/drivers/block/ide.c b/linux/src/drivers/block/ide.c index dc20fcba..43b12f1f 100644 --- a/linux/src/drivers/block/ide.c +++ b/linux/src/drivers/block/ide.c @@ -395,6 +395,7 @@ static void init_hwif_data (unsigned int index) /* fill in any non-zero initial values */ hwif->index = index; hwif->io_base = default_io_base[index]; + hwif->irq = default_irqs[index]; hwif->ctl_port = hwif->io_base ? hwif->io_base+0x206 : 0x000; #ifdef CONFIG_BLK_DEV_HD if (hwif->io_base == HD_DATA) |