OSDN Git Service

AHCI: Cleanup checking of multiple MSIs/SLM modes
authorAlexander Gordeev <agordeev@redhat.com>
Thu, 25 Sep 2014 13:13:21 +0000 (15:13 +0200)
committerTejun Heo <tj@kernel.org>
Sun, 28 Sep 2014 15:43:56 +0000 (11:43 -0400)
commitc3ebd6a9b614ef1fbb5a44a3a33cd639ff4694bf
treedf33c8be5ae2ac6d0bbd21400a643df9b8de9b5f
parent6d8ca28fa688a9354bc9fbc935bdaeb3651b6677
AHCI: Cleanup checking of multiple MSIs/SLM modes

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 <agordeev@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
drivers/ata/ahci.c
drivers/ata/ahci.h