Re: ATI FB driver entry (fix)

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Thu, 31 Dec 1998 11:47:31 +0100 (CET)


On Wed, 30 Dec 1998, Johannes Deisenhofer wrote:
> I had the same problem and have found a fix:
>
> The driver does not mask out the lower bits of the hardware
> adress obtained from the PCI configuration registers.
>
> Something like
>
> addr &= PCI_BASE_ADDRESS_MEM_MASK;
>
> around line 2937 does the trick for me.
>
> Something similiar has to be done for the ifdef'ed SPARC part

Looks OK. I checked all outputs of lspci I got, and indeed the failure/success
depends on the prefetchable flag being set or not.

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

- 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/