Messages in this thread | | | Subject | Re: 2.5.3-pre1 compile error | Date | Wed, 16 Jan 2002 01:57:30 +0000 (GMT) | From | Alan Cox <> |
| |
> Another weirdo. Where did this come from ??
This looks dubious but with the right results.
> - 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);
The address passed back from the BIOS is a physical address. Not a bus address, not an ISA address. phys_to_virt I suspect is genuinely the right thing in this unusual case.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |