diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-31 00:02:26 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-31 00:02:26 -0400 |
commit | 481ff126e8d9be63809e7854badf815e54066eed (patch) | |
tree | c682ce7a20bf129428fc0f3cc393f9c9b39ed678 /include | |
parent | 669a5db411d85a14f86cd92bc16bf7ab5b8aa235 (diff) | |
parent | 9bec2e38527a9f2497b3d976715c672d08d6160d (diff) |
Merge branch 'upstream' into pata-drivers
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ata.h | 4 | ||||
-rw-r--r-- | include/linux/libata.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h index 991b858acc30..d89441907024 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h | |||
@@ -320,8 +320,8 @@ static inline unsigned int ata_id_major_version(const u16 *id) | |||
320 | 320 | ||
321 | static inline int ata_id_current_chs_valid(const u16 *id) | 321 | static inline int ata_id_current_chs_valid(const u16 *id) |
322 | { | 322 | { |
323 | /* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command | 323 | /* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command |
324 | has not been issued to the device then the values of | 324 | has not been issued to the device then the values of |
325 | id[54] to id[56] are vendor specific. */ | 325 | id[54] to id[56] are vendor specific. */ |
326 | return (id[53] & 0x01) && /* Current translation valid */ | 326 | return (id[53] & 0x01) && /* Current translation valid */ |
327 | id[54] && /* cylinders in current translation */ | 327 | id[54] && /* cylinders in current translation */ |
diff --git a/include/linux/libata.h b/include/linux/libata.h index a6d818148ae0..8715305f611f 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -198,7 +198,7 @@ enum { | |||
198 | 198 | ||
199 | /* host set flags */ | 199 | /* host set flags */ |
200 | ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */ | 200 | ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */ |
201 | 201 | ||
202 | /* various lengths of time */ | 202 | /* various lengths of time */ |
203 | ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */ | 203 | ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */ |
204 | ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */ | 204 | ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */ |