1 From 07ae95f988a34465bdcb384bfa73c03424fe2312 Mon Sep 17 00:00:00 2001
2 From: Andrew Patterson <andrew.patterson@hp.com>
3 Date: Mon, 10 Nov 2008 15:31:05 -0700
4 Subject: ACPI/PCI: PCI MSI _OSC support capabilities called when root bridge added
8 The _OSC capability OSC_MSI_SUPPORT is set when the root bridge is added
9 with pci_acpi_osc_support(), so we no longer need to do it in the PCI
10 MSI driver. Also adds the function pci_msi_enabled, which returns true
11 if pci=nomsi is not on the kernel command-line.
13 Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
14 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
17 Automatically created from "patches.drivers/acpi-pci-pci-msi-_osc-support-capabilities-called-when-root-bridge-added.patch" by xen-port-patches.py
19 --- sle11-2009-04-20.orig/drivers/pci/msi-xen.c 2009-04-24 13:36:45.000000000 +0200
20 +++ sle11-2009-04-20/drivers/pci/msi-xen.c 2009-01-09 11:10:27.000000000 +0100
21 @@ -804,6 +804,17 @@ void pci_no_msi(void)
26 + * pci_msi_enabled - is MSI enabled?
28 + * Returns true if MSI has not been disabled by the command-line option
31 +int pci_msi_enabled(void)
33 + return pci_msi_enable;
36 void pci_msi_init_pci_dev(struct pci_dev *dev)