On Sat, 31 Jul 2004, Ken Moffat wrote: > On Sat, 31 Jul 2004, Sven Luther wrote: > > On Sat, Jul 31, 2004 at 04:24:09PM +0100, Ken Moffat wrote: > > > On Sat, 31 Jul 2004, Sven Luther wrote: > > > > What graphic card and thus fbdev are you using ? > > > > > > > The notorious radeon 9200se, but under 2.6.7 I'm not using a console fb > > > yet, just a vga console. X11R6.7.0 just recognises the card and works > > > without any of the old magic incantations. > > > > Interesting, i was not able to use the vgaconsole on my pegasos. Do you have > > any patches for that ? > > > > From the A1 2.4 stuff - > > diff -Nuar linux-2.4.25-vanilla/drivers/video/vgacon.c > linux-2.4.25-amigaone/drivers/video/vgacon.c > --- linux-2.4.25-vanilla/drivers/video/vgacon.c 2002-08-24 > 13:27:39.000000000 +0100 > +++ linux-2.4.25-amigaone/drivers/video/vgacon.c 2004-06-19 > 18:00:53.000000000 +0100 > @@ -212,7 +212,11 @@ > else /* If not, it is color. */ > { > vga_can_do_color = 1; > +#ifdef CONFIG_AMIGAONE > + vga_vram_base = 0xFD0B8000; /* Mapped by the startup */ > +#else > vga_vram_base = 0xb8000; > +#endif > vga_video_port_reg = 0x3d4; > vga_video_port_val = 0x3d5; > if ((ORIG_VIDEO_EGA_BX & 0xff) != 0x10)
That's not the correct fix. VGA_MAP_MEM() should take into account the ISA memory space offset. And in fact it does, cfr. include/asm-ppc/vga.h, just make sure to initialize vgacon_remap_base with the correct ISA memory space offset. > There's a similar patch for vga16fb.c - Vga16fb doesn't use VGA_MAP_MEM(), it just uses ioremap() on the VGA memory. But arch/ppc/mm/pgtable.c has a special case for mapping memory below 16 MiB, and adds _ISA_MEM_BASE to such addresses. So you have to make sure to initialize _ISA_MEM_BASE with the correct ISA memory space offset as well. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] 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