Skip to content
  • Bartlomiej Zolnierkiewicz's avatar
    ide: rework handling of serialized ports (v2) · 702c026b
    Bartlomiej Zolnierkiewicz authored
    
    
    * hpt366: set IDE_HFLAG_SERIALIZE in ->host_flags if needed
      in init_hwif_hpt366().  Remove HPT_SERIALIZE_IO while at it.
    
    * Set IDE_HFLAG_SERIALIZE in ->host_flags if needed in
      ide_init_port().
    
    * Convert init_irq() to use IDE_HFLAG_SERIALIZE together with
      hwif->host to find out ports which need to be serialized.
    
    * Remove no longer needed save_match() and ide_hwif_t.serialized.
    
    v2:
    * Set host's ->host_flags field instead of port's copy.
    
    This patch should fix the incorrect grouping of port(s) from
    host(s) that need serialization with port(s) that happen to use
    the same IRQ(s) but are from the host(s) that don't need it.
    
    Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    702c026b