Re: [PATCH} 2.5.5-pre1 VESA fb

Alan Cox
2002-02-14T15:02:50Z

> This adjusts the VESA fb driver to the new bus mapping API.
> I think that this time this is providing the right replacement.... but
> who knows

The VESA fb window will be higher than the ISA window as its a linear
frame buffer

> - pmi_base = (unsigned short*)bus_to_virt(((unsigned long)screen_info.vesapm_seg << 4) + screen_info.vesapm_off);
> + pmi_base = (unsigned short*)isa_bus_to_virt(((unsigned long)screen_info.vesapm_seg << 4) + screen_info.vesapm_off);

I don't think it actually matters on x86 but phys_to_virt() is probably
more correct