diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-04-19 17:01:38 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-03 15:25:58 +0200 |
commit | 9ecba1f288d2cf87d1b6a9401d5ce17464eb776d (patch) | |
tree | b72577134de9cf9f114d4b83701388e84a276cc9 /arch/arm/kernel/ecard.h | |
parent | [ARM] rpc: deprecate __ioaddr() and __ioaddrc() helpers (diff) | |
download | linux-9ecba1f288d2cf87d1b6a9401d5ce17464eb776d.tar.xz linux-9ecba1f288d2cf87d1b6a9401d5ce17464eb776d.zip |
[ARM] rpc: ecard: remove deprecated ecard_address() and relatives
ecard_address() is obsolete, and has been marked deprecated since
at least 2.6.12-rc2. All in-tree users have been updated to use
the new approach, so it's time to remove this.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/ecard.h')
-rw-r--r-- | arch/arm/kernel/ecard.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/kernel/ecard.h b/arch/arm/kernel/ecard.h index d7c2dacf935d..4642d436be2a 100644 --- a/arch/arm/kernel/ecard.h +++ b/arch/arm/kernel/ecard.h @@ -54,3 +54,16 @@ struct ex_chunk_dir { #define c_len(x) ((x)->r_len[0]|((x)->r_len[1]<<8)|((x)->r_len[2]<<16)) #define c_start(x) ((x)->r_start) }; + +typedef enum ecard_type { /* Cards address space */ + ECARD_IOC, + ECARD_MEMC, + ECARD_EASI +} card_type_t; + +typedef enum { /* Speed for ECARD_IOC space */ + ECARD_SLOW = 0, + ECARD_MEDIUM = 1, + ECARD_FAST = 2, + ECARD_SYNC = 3 +} card_speed_t; |