diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-09-05 15:49:54 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-05 15:49:54 -0400 |
commit | 0ce7625f3c1e3f921f6b83f7e944e00031a39dfa (patch) | |
tree | bf04a478adbad082fe4689cecd02c2cd8c1f6031 /arch/arm/common/scoop.c | |
parent | 027da01d734db0ca9dd1a084339dab07ab576935 (diff) |
[ARM] 2882/1: pxa2xx_sharpsl: Update PCMCIA driver to support variety of new hardware
Patch from Richard Purdie
This patch updates the PCMCIA pxa2xx_sharpsl driver to support multiple scoop
devices by adding a scoop to pcmcia slot mapping structure. It adds platform
support for poodle, is known to work on spitz (which is dual slot) and
should also support collie with a minor amount of further work.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/scoop.c')
-rw-r--r-- | arch/arm/common/scoop.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index cfd0d3e550d9..688a595598c8 100644 --- a/arch/arm/common/scoop.c +++ b/arch/arm/common/scoop.c | |||
@@ -17,6 +17,12 @@ | |||
17 | 17 | ||
18 | #define SCOOP_REG(d,adr) (*(volatile unsigned short*)(d +(adr))) | 18 | #define SCOOP_REG(d,adr) (*(volatile unsigned short*)(d +(adr))) |
19 | 19 | ||
20 | /* PCMCIA to Scoop linkage structures for pxa2xx_sharpsl.c | ||
21 | There is no easy way to link multiple scoop devices into one | ||
22 | single entity for the pxa2xx_pcmcia device */ | ||
23 | int scoop_num; | ||
24 | struct scoop_pcmcia_dev *scoop_devs; | ||
25 | |||
20 | struct scoop_dev { | 26 | struct scoop_dev { |
21 | void *base; | 27 | void *base; |
22 | spinlock_t scoop_lock; | 28 | spinlock_t scoop_lock; |