From: Phillip Ezolt <ezolt@perf.zko.dec.com>
To: jay.estabrook@compaq.com
Subject: ioremap incorrectly used in 2.3.15pre-2
Date: Mon, 23 Aug 1999 11:02:14 -0400 (EDT) [thread overview]
Message-ID: <e1e98c4e9ae861dcb7b6006c2eb9d076.axp-list@archive.invalid> (raw)
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
reply other threads:[~1999-08-23 15:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox