ahci: EM message type auto detect
commit008dbd61ebee3e647f63bbe8315192e1331cd75f
authorHarry Zhang <harry.zhang@amd.com>
Fri, 23 Apr 2010 09:27:19 +0000 (23 17:27 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 May 2010 21:35:51 +0000 (14 17:35 -0400)
tree2848b7364622cceb29b596c95c7c2681a40adcfc
parentec86c81dfcc52e313920621b1d1e92343a842afe
ahci: EM message type auto detect

Detect enclosure management message type automatically at driver
initialization, instead of using module parameter "ahci_em_messages".

Signed-off-by: Harry Zhang <harry.zhang@amd.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c
drivers/ata/ahci.h
drivers/ata/libahci.c