diff options
author | Richard Röjfors <richard.rojfors@mocean-labs.com> | 2009-09-22 19:45:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:38 -0400 |
commit | a13abc7b0814da7733c531453a207729b542ecf8 (patch) | |
tree | d79f576744191044e0f6f77d430c182e52f27fdf /drivers/mmc/host/sdhci.h | |
parent | 996ad5686c5f868e67557cc1bfcb2cfdde1a18b4 (diff) |
sdhci: support for ADMA only hosts
Add support for ADMA on SDHCI hosts, not supporting SDMA.
According to the SDHCI specifications a host can support ADMA but not SDMA
Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index afda7f126e0d..ce5f1d73dc04 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -143,7 +143,7 @@ | |||
143 | #define SDHCI_CAN_DO_ADMA2 0x00080000 | 143 | #define SDHCI_CAN_DO_ADMA2 0x00080000 |
144 | #define SDHCI_CAN_DO_ADMA1 0x00100000 | 144 | #define SDHCI_CAN_DO_ADMA1 0x00100000 |
145 | #define SDHCI_CAN_DO_HISPD 0x00200000 | 145 | #define SDHCI_CAN_DO_HISPD 0x00200000 |
146 | #define SDHCI_CAN_DO_DMA 0x00400000 | 146 | #define SDHCI_CAN_DO_SDMA 0x00400000 |
147 | #define SDHCI_CAN_VDD_330 0x01000000 | 147 | #define SDHCI_CAN_VDD_330 0x01000000 |
148 | #define SDHCI_CAN_VDD_300 0x02000000 | 148 | #define SDHCI_CAN_VDD_300 0x02000000 |
149 | #define SDHCI_CAN_VDD_180 0x04000000 | 149 | #define SDHCI_CAN_VDD_180 0x04000000 |
@@ -252,7 +252,7 @@ struct sdhci_host { | |||
252 | spinlock_t lock; /* Mutex */ | 252 | spinlock_t lock; /* Mutex */ |
253 | 253 | ||
254 | int flags; /* Host attributes */ | 254 | int flags; /* Host attributes */ |
255 | #define SDHCI_USE_DMA (1<<0) /* Host is DMA capable */ | 255 | #define SDHCI_USE_SDMA (1<<0) /* Host is SDMA capable */ |
256 | #define SDHCI_USE_ADMA (1<<1) /* Host is ADMA capable */ | 256 | #define SDHCI_USE_ADMA (1<<1) /* Host is ADMA capable */ |
257 | #define SDHCI_REQ_USE_DMA (1<<2) /* Use DMA for this req. */ | 257 | #define SDHCI_REQ_USE_DMA (1<<2) /* Use DMA for this req. */ |
258 | #define SDHCI_DEVICE_DEAD (1<<3) /* Device unresponsive */ | 258 | #define SDHCI_DEVICE_DEAD (1<<3) /* Device unresponsive */ |