diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/crypto.h | 5 | ||||
| -rw-r--r-- | include/linux/elevator.h | 2 | ||||
| -rw-r--r-- | include/linux/mmc/mmc.h | 6 |
3 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 3c89df6e7768..d88bf8aa8b47 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> | 4 | * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> |
| 5 | * Copyright (c) 2002 David S. Miller (davem@redhat.com) | 5 | * Copyright (c) 2002 David S. Miller (davem@redhat.com) |
| 6 | * Copyright (c) 2005 Herbert Xu <herbert@gondor.apana.org.au> | ||
| 6 | * | 7 | * |
| 7 | * Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@fast.no> | 8 | * Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@fast.no> |
| 8 | * and Nettle, by Niels Möller. | 9 | * and Nettle, by Niels Möller. |
| @@ -126,7 +127,11 @@ struct crypto_alg { | |||
| 126 | unsigned int cra_blocksize; | 127 | unsigned int cra_blocksize; |
| 127 | unsigned int cra_ctxsize; | 128 | unsigned int cra_ctxsize; |
| 128 | unsigned int cra_alignmask; | 129 | unsigned int cra_alignmask; |
| 130 | |||
| 131 | int cra_priority; | ||
| 132 | |||
| 129 | const char cra_name[CRYPTO_MAX_ALG_NAME]; | 133 | const char cra_name[CRYPTO_MAX_ALG_NAME]; |
| 134 | const char cra_driver_name[CRYPTO_MAX_ALG_NAME]; | ||
| 130 | 135 | ||
| 131 | union { | 136 | union { |
| 132 | struct cipher_alg cipher; | 137 | struct cipher_alg cipher; |
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 4a6f50e31c73..23fe746a1d51 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
| @@ -66,7 +66,7 @@ struct elevator_type | |||
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | /* | 68 | /* |
| 69 | * each queue has an elevator_queue assoicated with it | 69 | * each queue has an elevator_queue associated with it |
| 70 | */ | 70 | */ |
| 71 | struct elevator_queue | 71 | struct elevator_queue |
| 72 | { | 72 | { |
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index aef6042f8f0b..ccd3e13de1e8 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
| @@ -27,14 +27,15 @@ struct mmc_command { | |||
| 27 | #define MMC_RSP_MASK (3 << 0) | 27 | #define MMC_RSP_MASK (3 << 0) |
| 28 | #define MMC_RSP_CRC (1 << 3) /* expect valid crc */ | 28 | #define MMC_RSP_CRC (1 << 3) /* expect valid crc */ |
| 29 | #define MMC_RSP_BUSY (1 << 4) /* card may send busy */ | 29 | #define MMC_RSP_BUSY (1 << 4) /* card may send busy */ |
| 30 | #define MMC_RSP_OPCODE (1 << 5) /* response contains opcode */ | ||
| 30 | 31 | ||
| 31 | /* | 32 | /* |
| 32 | * These are the response types, and correspond to valid bit | 33 | * These are the response types, and correspond to valid bit |
| 33 | * patterns of the above flags. One additional valid pattern | 34 | * patterns of the above flags. One additional valid pattern |
| 34 | * is all zeros, which means we don't expect a response. | 35 | * is all zeros, which means we don't expect a response. |
| 35 | */ | 36 | */ |
| 36 | #define MMC_RSP_R1 (MMC_RSP_SHORT|MMC_RSP_CRC) | 37 | #define MMC_RSP_R1 (MMC_RSP_SHORT|MMC_RSP_CRC|MMC_RSP_OPCODE) |
| 37 | #define MMC_RSP_R1B (MMC_RSP_SHORT|MMC_RSP_CRC|MMC_RSP_BUSY) | 38 | #define MMC_RSP_R1B (MMC_RSP_SHORT|MMC_RSP_CRC|MMC_RSP_OPCODE|MMC_RSP_BUSY) |
| 38 | #define MMC_RSP_R2 (MMC_RSP_LONG|MMC_RSP_CRC) | 39 | #define MMC_RSP_R2 (MMC_RSP_LONG|MMC_RSP_CRC) |
| 39 | #define MMC_RSP_R3 (MMC_RSP_SHORT) | 40 | #define MMC_RSP_R3 (MMC_RSP_SHORT) |
| 40 | #define MMC_RSP_R6 (MMC_RSP_SHORT|MMC_RSP_CRC) | 41 | #define MMC_RSP_R6 (MMC_RSP_SHORT|MMC_RSP_CRC) |
| @@ -64,6 +65,7 @@ struct mmc_data { | |||
| 64 | #define MMC_DATA_WRITE (1 << 8) | 65 | #define MMC_DATA_WRITE (1 << 8) |
| 65 | #define MMC_DATA_READ (1 << 9) | 66 | #define MMC_DATA_READ (1 << 9) |
| 66 | #define MMC_DATA_STREAM (1 << 10) | 67 | #define MMC_DATA_STREAM (1 << 10) |
| 68 | #define MMC_DATA_MULTI (1 << 11) | ||
| 67 | 69 | ||
| 68 | unsigned int bytes_xfered; | 70 | unsigned int bytes_xfered; |
| 69 | 71 | ||
