[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sh4: mmio based CF support on r2d board.
From: |
Paul Mundt |
Subject: |
Re: [Qemu-devel] [PATCH] sh4: mmio based CF support on r2d board. |
Date: |
Tue, 23 Sep 2008 17:55:19 +0900 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Sep 23, 2008 at 01:31:36AM +0900, address@hidden wrote:
> This patch adds emulation for a CompactFlash on sh4/r2d board.
> I can mount/umount and some read/writes with r2d-1 kernel (no irq mode).
> No heavy/formal test has not be done, though.
>
> The device is CF, but wired to be worked as True-IDE mode, and connected
> directly to SH bus. So, this code is to supports generally mmio based IDEs
> which are supported by "pata_platform" driver in linux kernel.
>
> I wonder where to put function prototype for mmio_ide_init().
> Currently, it is in r2d.c, but I believe it can be in more common place.
>
> Any suggestions?
>
ide.c is likely the best place for it. It looks like there is a bit of
overlap with pmac_ide though. ARM and others that use pata_platform will
want to use this as well.