MSI: Blacklist PCI-E chipsets depending on Hypertransport MSI capability
commit6397c75cbc4d7dbc3d07278b57c82a47dafb21b5
authorBrice Goglin <brice@myri.com>
Thu, 31 Aug 2006 05:55:32 +0000 (31 01:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 00:43:52 +0000 (26 17:43 -0700)
treed12791eba1b138c1cf8c82cd9dd50402a3b1f461
parent46ff34633ed09f36ebc4b5c40ac37e592172df74
MSI: Blacklist PCI-E chipsets depending on Hypertransport MSI capability

Introduce msi_ht_cap_enabled() to check the MSI capability in the
Hypertransport configuration space.
It is used in a generic quirk quirk_msi_ht_cap() to check whether
MSI is enabled on hypertransport chipset, and a nVidia specific quirk
quirk_nvidia_ck804_msi_ht_cap() where two 2 HT MSI mappings have to
be checked.
Both quirks set the PCI_BUS_FLAGS_NO_MSI bus flag when MSI is disabled.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c
include/linux/pci_ids.h