Jeff Garzik <[EMAIL PROTECTED]> writes: > Ronald G Minnich wrote: > > >On Thu, 14 Mar 2002, Jeff Garzik wrote: > > > >>A few notes, blindly enabling IO and MEM for all devices is bad... > >>recall that video devices for example try to decode the same VGA region > >>at the same time. Disabling the IO decode bit in PCI config space for > >>VGA devices is the only generic way to avoid this. > >> > > > >Does "blind" mean "enabling if a device has IO address space". Basically, > >I only enable IO and MEM on devices that have addressable IO and MEM. > >Except for VGA, is this a problem? > > > > It might be :/
I know of one VGA card that locks the bus when you enable mem but not I/O addressing... The current fix was to enable IO addressing as well but if taking a simpler approach might be better. > The kernel already does this for you via pci_enable_device() called by the Linux Etherboot (aka elfBIOS 0.00000000000000000000000000000000000001) has a similiar function that is also used routinely. Eric
