ahci: Introduce ahci_set_em_messages()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 3 Mar 2010 17:17:45 +0000 (20:17 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 May 2010 21:08:01 +0000 (17:08 -0400)
commit0cbb0e774b0ea0547ec1b9e795637e309327ae27
tree383b5c40d5efa1f2fb86a2a7cfee1a9d2fc621a4
parent439fcaec10cef14a08557623d6f5fa240aaf3e2b
ahci: Introduce ahci_set_em_messages()

Factor out some ahci_em_messages handling code from ahci_init_one().
We would like to reuse it for non-PCI devices.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c