]> git.baikalelectronics.ru Git - kernel.git/commit
libata: ahci enclosure management bios workaround
authorDavid Milburn <dmilburn@redhat.com>
Fri, 3 Apr 2009 20:36:41 +0000 (15:36 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 7 Apr 2009 00:00:53 +0000 (20:00 -0400)
commit34f4a5264b27b6d51ed678b2033cb654faebe64e
tree6e54bb654c4cc2b33f132444b516fcd67224f3b9
parent79c430a5d097e0483a210bc8fa1ebf9bc4d1ca83
libata: ahci enclosure management bios workaround

During driver initialization ahci_start_port may not be able
to turn LEDs off because the hardware may still be transmitting
a message. And since the BIOS may not be setting the LEDs to
off the drive LEDs may end up in a fault state. This has
been seen on ICH9r and ICH10r when configured in AHCI mode
instead of RAID mode, this patch doesn't key off a specific
set of device IDs but will give the EM transmit bit a chance
to clear if busy.

Signed-off-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c