diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2006-02-14 11:52:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 17:35:14 -0500 |
commit | 6e325a62a0a228cd0222783802b53cce04551776 (patch) | |
tree | 5609f9e841024ca57ba8ee7a919955c7589444c7 /drivers/pci/probe.c | |
parent | e5548e960f38557825e50806b52cb24c9e730aa2 (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/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 3bc0fcd71d03..542e7dfb371b 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -347,6 +347,7 @@ pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr) | |||
347 | child->parent = parent; | 347 | child->parent = parent; |
348 | child->ops = parent->ops; | 348 | child->ops = parent->ops; |
349 | child->sysdata = parent->sysdata; | 349 | child->sysdata = parent->sysdata; |
350 | child->bus_flags = parent->bus_flags; | ||
350 | child->bridge = get_device(&bridge->dev); | 351 | child->bridge = get_device(&bridge->dev); |
351 | 352 | ||
352 | child->class_dev.class = &pcibus_class; | 353 | child->class_dev.class = &pcibus_class; |