Re: Multiple PCI busses

From: Martin Mares (mj@suse.cz)
Date: Fri Jun 23 2000 - 05:20:33 EST


Hello!

> Add the ATI Mach64 LT Pro on the Lombard Powerbooks (and some other
> PowerMac HW IIRC) to that list of borken cards. In this case, we have a
> MMIO region overlap the video mem region.

Can you send me the vendor ID, device ID, which region it is and what
is the correct size, please?

> How do the 2.2.x kernels handle the bogus S3 sizes?

They don't, but 2.4.x kernels do.

For XFree, the best solution is probably to choose according to kernel
version:

        < 2.2 Use ports to access PCI registers; do the S3 work-arounds
        2.2.x Use /proc/bus/pci to access PCI registers; do the work-arounds
> 2.2 Use /proc/bus/pci to access PCI registers, leave all work-arounds
                to the kernel.

Also, starting with 2.2.x, the X server should not attempt to scan the PCI
bus for devices itself (as it will probably fail on machines with multiple host
bridges) and use /proc/bus/pci/devices instead.

                                Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"RAM = Rarely Adequate Memory"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:25 EST