Gxt2000p Patch
Geert Uytterhoeven
geert at linux-m68k.org
Sun Nov 11 21:03:41 EST 2001
On Sat, 10 Nov 2001, Joseph Manojlovich wrote:
> Here's the patch which I think fixes the video card issues I described
> in my last email.
>
> Joe Manojlovich
> manojlov at cse.psu.edu
>
> --- linuxppc/drivers/video/offb.c Sat Nov 10 18:04:42 2001
> +++ offb.c Sat Nov 10 18:43:36 2001
> @@ -393,7 +393,8 @@
> unsigned long res_size = pitch*height*depth/8;
>
> if (!request_mem_region(res_start, res_size, "offb"))
> - return;
> + if (!(dp && device_is_compatible(dp, "pci1014,b7")))
> + return;
>
What are the values res_start and res_size for which request_mem_region()
fails? What does /proc/iomem says?
This can only be a workaround for the problem, not a fix. The real fix is
probably a fix for the global bus resources.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list