Re: AMD 8131 and MSI quirk

From: Ivan Kokshaysky
Date: Thu Oct 27 2005 - 01:30:16 EST


On Wed, Oct 26, 2005 at 03:51:40PM -0700, Greg KH wrote:
> On Sat, Oct 22, 2005 at 05:32:20PM -0600, Matthew Wilcox wrote:
> > Perhaps the right thing to do is to change pad2 (in struct pci_bus) to
> > bus_flags and make bit 0 PCI_BRIDGE_FLAGS_NO_MSI ?

It would be better to make it a bit field as in struct pci_dev.

- unsigned short pad2;
+ unsigned short no_msi:1;

> Yeah, I can't think of any way to use the device tree to do this, so
> this sounds as good a way as any.

Other pci_bus flags might be useful as well, for instance I thought
of bus->hotplug_bridge or something like that.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/