• Tejun Heo's avatar
    libata: backport ATA_FLAG_NO_SRST and ATA_FLAG_ASSUME_ATA, part 2 · 14459f06
    Tejun Heo authored
    Differs from mainline, but the functionality is already there.
    
    P5W-DH Deluxe has ICH7R which doesn't have PMP support but SIMG 4726
    hardwired to the second port of AHCI controller at PCI device 1f.2.
    The 4726 doesn't work as PMP but as a storage processor which can do
    hardware RAID on downstream ports.
    
    When no device is attached to the downstream port of the 4726, pseudo
    ATA device for configuration appears.  Unfortunately, ATA emulation on
    the device is very lousy and causes long hang during boot.
    
    This patch implements workaround for the board.  If the mainboard is
    P5W-DH Deluxe (matched using DMI), only hardreset is used on the
    second port of AHCI controller @ 1f.2 and the hardreset doesn't depend
    on receiving the first FIS and just proceed to IDENTIFY.
    
    This workaround fixes bugzilla #8923.
    
      http://bugzilla.kernel.org/show_bug.cgi?id=8923Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Cc: Jeff Garzik <jeff@garzik.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    14459f06
ahci.c 53.9 KB