Re: pci_enable_msi() for everyone?

From: Benjamin Herrenschmidt
Date: Fri Jun 03 2005 - 19:21:36 EST



> Honestly I can think of situations where one driver would want a bit per
> BAR, and many others would just need a single MMIO bit. Don't forget
> legacy decoding too: with -only- a bit per BAR, the driver cannot tell
> the PCI layer that disabling IO means disabling a legacy ISA region
> that's not listed in the PCI BARs.

VGA is too much of a special case here. I'm currently working on a VGA
arbitrer but it will need a separate API (along with a userland
interface). Maybe the kernel side of this API could be folded in that
pci_enable() thing though, I'll have to give it a though...

Ben.


-
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/