[linux-cirrus] Re: EP93xx patch against linux-2.6.12 is out!

  • From: Robert Whaley <rwhaley@xxxxxxxxxxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Tue, 05 Jul 2005 13:21:33 -0400

Here is a patch to apply on top of the 2.6.11.7-ep93xx patch that:

1. Removes the IO_ADDRESS macro
2. Includes PCMCIA support
3. Adds our SPHERE board (EP9315)
4. Fixes a few minor bugs in the fb driver
5. Adds a probe function to the fb driver that allows the kernel to use video already configured by the bootloader.
6. Change the touchscreen driver to allow it to work with Xfbdev and real mice


Notes:

Unlike the earlier patch PCMCIA and IDE both work (although not DMA for IDE).

This patch does not remove occurences of IO_ADDRESS that were present in files not used by the SPHERE board. Generally speaking these changes are easy to make (simply remove the IO_ADDRESS( and the trailing ). This includes the edb93xx files and the ssp files.

For each board a small file needs to be added to the PCMCIA directory simlar to the file for the SPHERE. In most cases this is simply a copy of the SPHERE file with minor changes to control the PCMCIA power.

Hope this is useful.

Robert



Jean-Philippe Francois wrote:
On Fri, 2005-07-01 at 16:17, Michael Burian wrote:

Jean-Philippe Francois wrote:

Thanks a lot for this.
I don't like the IO_ADDRESS() thing, but I can live with it :)

better ideas?

Dropping it ;) More seriously, I think replacing inl(addr) with readl(IO_ADDRESS(addr)) reduces the code readability. If we had EP93XX_AHB_BASE defined as IO_BASE_VIRT, we could get rid of this IO_ADDRESS macro.

JP Francois






--
Robert Whaley
Applied Data Systems            www.applieddata.net
434-244-9504                rwhaley@xxxxxxxxxxxxxxx

Other related posts: