From: David Milburn Date: Fri, 20 Mar 2009 19:14:23 +0000 (-0500) Subject: [libata] ahci: correct enclosure LED state save X-Git-Tag: v2.6.30-rc1~669^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208f2a886a2f6cf329c9fcbf8d29a0dd245cc763;p=pandora-kernel.git [libata] ahci: correct enclosure LED state save ahci_transmit_led_message saves off the led_state with a value that includes the port number OR'd in, this incorrect value maybe reported back in ahci_led_store. For instance, if you turn off all the leds for port 1 and cat the value back it will report 1 instead of 0. # echo 0 > /sys/class/scsi_host/host1/em_message # cat /sys/class/scsi_host/host1/em_message 1 Signed-off-by: David Milburn Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed