* ioremap incorrectly used in 2.3.15pre-2
@ 1999-08-23 15:02 Phillip Ezolt
0 siblings, 0 replies; only message in thread
From: Phillip Ezolt @ 1999-08-23 15:02 UTC (permalink / raw)
To: jay.estabrook
Jay,
In the 2.3.X series, the definition of ioremap must have changed.
Following the example of some other alpha files in the kernel, I changed
the ioremap calls from "ioremap(address)" to "ioremap(address,0)"
pgtable.h:625
-----------------
#define io_remap_page_range(start, busaddr, size, prot) \
remap_page_range(start, virt_to_phys(ioremap(busaddr)), size, prot)
to
#define io_remap_page_range(start, busaddr, size, prot) \
remap_page_range(start, virt_to_phys(ioremap(busaddr,0)), size, prot)
/usr/src/linux/drivers/video/tgafb.c:940
-----------------
Changed from
disp->screen_base = ioremap(fb_info.tga_fb_base);
to
disp->screen_base = ioremap(fb_info.tga_fb_base,0);
Please add these to your patches if they are correct, if not, please fix them.
BTW, Have you had any success with the 2.3.X kernels?
Thanks,
--Phil
Compaq: Business Critical Servers Division/Benchmark Performance Engineering
---------------- Alpha, The Fastest Processor on Earth --------------------
Phillip.Ezolt@compaq.com |C|O|M|P|A|Q| ezolt@perf.zko.dec.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-08-23 15:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-23 15:02 ioremap incorrectly used in 2.3.15pre-2 Phillip Ezolt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox