Messages in this thread | | | Date | Tue, 15 Jan 2002 18:43:20 -0800 (PST) | Subject | Re: 2.5.3-pre1 compile error | From | "David S. Miller" <> |
| |
From: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Wed, 16 Jan 2002 01:57:30 +0000 (GMT)
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. This slipped thru by accident, it is part of the "kill bus_to_virt" stuff I'm working on with Jens. Oops... - 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/
| |