G�rard Roudier wrote:
> This function delegates too much as a whole to the PCI generic layer, IMO.
> Imagine that for sanity I want to allocate all the device resources, but
> only _enable_ part of device features (for example only memory
> transactions). Imagine some special handling to be necessary due to some
> chip bug.
Blindly enabling PIO on VGA devices is bad news, cuz they all want to
grab 0x3?0 ports. I always imagined it as something of a special case
though.
So for VGA devices I agree with you -- I don't care how a device is
"enabled", but it would be nice tell the PCI layer that PIO or MMIO bits
in PCI_COMMAND need special handling. PCI_DONT_TOUCH_PIO and
PCI_DONT_TOUCH_MMIO maybe :)
Jeff
--
Jeff Garzik | Would you *really* want to
Building 1024 | get on a non-stop flight?
MandrakeSoft, Inc. | -- George Carlin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: New topic (PowerPC Linux PCI H... Martin Mares
- Re: New topic (PowerPC Linux PCI H... Alan Cox
- Re: New topic (PowerPC Linux PCI HELL) Vojtech Pavlik
- Re: New topic (PowerPC Linux PCI HELL) Linus Torvalds
- Re: New topic (PowerPC Linux PCI HELL) Richard B. Johnson
- Re: New topic (PowerPC Linux PCI HELL) Linus Torvalds
- Re: New topic (PowerPC Linux PCI HELL) G�rard Roudier
- Re: New topic (PowerPC Linux PCI H... Linus Torvalds
- Re: New topic (PowerPC Linux PCI H... G�rard Roudier
- Re: New topic (PowerPC Linux PCI H... Jeff Garzik
- Re: New topic (PowerPC Linux PCI H... Richard B. Johnson
- Re: New topic (PowerPC Linux PCI H... G�rard Roudier
- Re: New topic (PowerPC Linux PCI H... Richard B. Johnson
- Re: New topic (PowerPC Linux PCI H... Andre Hedrick
- Re: New topic (PowerPC Linux PCI H... Benjamin Herrenschmidt
- Re: New topic (PowerPC Linux PCI H... Alan Cox
- Re: New topic (PowerPC Linux PCI H... G�rard Roudier
- Re: New topic (PowerPC Linux PCI H... Michel Lanners
- Re: New topic (PowerPC Linux PCI H... Jamie Lokier
- Re: New topic (PowerPC Linux PCI H... G�rard Roudier

