diff options
author | Olof Johansson <olof@lixom.net> | 2007-05-12 10:50:41 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-25 02:58:05 -0400 |
commit | 8fa336d889caa72637e0860f53fa40ef66dcceaf (patch) | |
tree | 49d7340e01512639d2e610c1630ecd124e4220c6 /arch/powerpc/sysdev | |
parent | 0c358e70762861f8d479f3fa8bec358c599ba04a (diff) |
[POWERPC] pasemi: Electra IDE/pata_platform glue
Glue code to hook up the pata_platform on the PA Semi Electra eval board.
CFE sets up device tree entries for the IDE interface, with device type
'ide' and compatible field 'electra-ide'.
We unfortunately need to modify the resources before calling the generic
platform driver, since the device tree only has one register window in
it and the driver expects two. Adding this as an of_platform driver
instead doesn't give us any benefit, it just adds one more layer of
register/probe functions.
Since CONFIG_PATA_PLATFORM depends on CONFIG_EMBEDDED, add that as a
default for PPC_PASEMI.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions