• Bartlomiej Zolnierkiewicz's avatar
    [PATCH] ide_init_default_hwifs() -> ide_init_default_irq() · c407acc1
    Bartlomiej Zolnierkiewicz authored
    init_ide_data() initializes default IDE interfaces but without default IRQ
    (hwif->irq and hwif->hw.irq fields) so introduce ide_init_default_irq() and
    remove redundant ide_init_default_hwifs() (except arm26 and arm ones).
    
    As a side-effect it fixes:
    - CONFIG_BLK_DEV_HD_IDE if !CONFIG_BLK_DEV_IDEPCI (i386)
    - hwif->noprobe shouldn't be 0 if !hwif->io_ports[IDE_DATA_OFFSET]
      (alpha, i386, ia64, mips, sh, x86_64)
    c407acc1
ide.h 1.63 KB