• Bartlomiej Zolnierkiewicz's avatar
    ide: don't enable IORDY at a probe time · 5880b5de
    Bartlomiej Zolnierkiewicz authored
    * Add 'unsigned long port_flags' field to ide_hwif_t.
    * Add IDE_PFLAG_PROBING port flag and keep it set during probing.
    * Fix ide_pio_need_iordy() to not enable IORDY at a probe time
      (IORDY may lead to controller lock up on certain controllers
       if the port is not occupied).
    Loosely based on the recent libata's fix by Tejun, thanks to Alan
    for the hint that IDE may also need it.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
ide-probe.c 37.4 KB