[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: No valid MMIO address in PCI config space



On Wed, Feb 28, 2001 at 03:40:48PM -0500, Jay Estabrook wrote:
> Maybe we should use both? ;-}

No, my hack isn't needed, but ignoring disabled ROMs makes a sense
in any case.

> And what about the other OSes that XFree runs on?
> 
> I think the X folks took the "direct" approach, rather than have to
> fiddle around with different facilities in different OSes and even
> different versions, changing over time, etc, etc...

Looking at 4.0 code I have an impression that they try to use OS
facilities if possible...
Interesting, XFree86 on linux *does* read /proc/bus/pci/devices
(Xserver/hw/xfree86/os-support/linux/lnx_pci.c:xf86GetPciSizeFromOS()),
but obviously it fails sometimes. So we just need to fix this
function (or kernel, whichever is broken ;-)
I'll investigate this tomorrow.

Ivan.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []