[PATCH v4 1/4] AHCI: Cleanup checking of multiple MSIs/SLM modes

2014-09-25 Thread Alexander Gordeev
Sharing Last Message (SLM) mode is currently checked in two functions: ahci_host_activate() and ahci_init_interrupts(). This update consolidates SLM mode check with activation of multiple MSIs mode. Signed-off-by: Alexander Gordeev Cc: linux-...@vger.kernel.org --- drivers/ata/ahci.c | 18

[PATCH v4 1/4] AHCI: Cleanup checking of multiple MSIs/SLM modes

2014-09-25 Thread Alexander Gordeev
Sharing Last Message (SLM) mode is currently checked in two functions: ahci_host_activate() and ahci_init_interrupts(). This update consolidates SLM mode check with activation of multiple MSIs mode. Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: linux-...@vger.kernel.org ---