aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-02-14 11:52:22 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 17:35:14 -0500
commit6e325a62a0a228cd0222783802b53cce04551776 (patch)
tree5609f9e841024ca57ba8ee7a919955c7589444c7 /drivers/pci/msi.c
parente5548e960f38557825e50806b52cb24c9e730aa2 (diff)
[PATCH] PCI: make MSI quirk inheritable from the pci bus
It turns out AMD 8131 quirk only affects MSI for devices behind the 8131 bridge. Handle this by adding a flags field in pci_bus, inherited from parent to child. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/msi.c')
-rw-r--r--drivers/pci/msi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index d5a67c1bcb98..4de1c17ee573 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -703,6 +703,9 @@ int pci_enable_msi(struct pci_dev* dev)
703 if (dev->no_msi) 703 if (dev->no_msi)
704 return status; 704 return status;
705 705
706 if (dev->bus->bus_flags & PCI_BUS_FLAGS_NO_MSI)
707 return -EINVAL;
708
706 temp = dev->irq; 709 temp = dev->irq;
707 710
708 status = msi_init(); 711 status = msi_init();