Re: [patch] PCI Cleanup

Martin Mares (mj@ucw.cz)
Wed, 14 Aug 2002 09:08:37 +0200


Hi!

> It wants to force its own conf1/conf2 over the BIOS even if BIOS is
> preferred because some BIOSes dont honour the size requested and the
> hardware has bugs.
>
> That to me says there may well be cleaner approaches.

I haven't looked at the current source yet, but the PCI access code
used to work this way: if both BIOS and direct access were enabled
(which was the default) and both worked, BIOS was used only for getting
information about interrupt routing and last bus number and direct
access for everything else. Hence the problematic BIOS calls were used
only if there were no other possibility or the user explicitly told
us to.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
No fortune, no luck, no sig!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/