MSI: Replace pci_msi_quirk with calls to pci_no_msi()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 25 Jan 2007 08:34:07 +0000 (19:34 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:06 +0000 (15:50 -0800)
commit88187dfa4d8bb565df762f272511d2c91e427e0d
tree451f53265c52ea50bcb43bb4e5854fe9c3359182
parent89298c7a41e71ecb1e0c3f793655e9ce09662ce0
MSI: Replace pci_msi_quirk with calls to pci_no_msi()

I don't see any reason why we need pci_msi_quirk, quirk code can just
call pci_no_msi() instead.

Remove the check of pci_msi_quirk in msi_init(). This is safe as all
calls to msi_init() are protected by calls to pci_msi_supported(),
which checks pci_msi_enable, which is disabled by pci_no_msi().

The pci_disable_msi routines didn't check pci_msi_quirk, only
pci_msi_enable, but as far as I can see that was a bug not a feature.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2.c
drivers/pci/msi.c
drivers/pci/pci.h
drivers/pci/quirks.c