diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-12 09:32:58 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-12 14:29:10 -0500 |
commit | 6e7846e9c548443c86cfbad9e4defb4bdcfc538b (patch) | |
tree | f92fe0c3ca0000ad7d68bb3caae10d2066a7f78e /include/linux/libata.h | |
parent | 8eabd02c246b808e0e27c3ee9ea17d0349efb06d (diff) |
[PATCH] libata: move cdb_len for host to device
cdb_len is per-device property. Sharing cdb_len on ap results in
inaccurate configuration on revalidation and hotplugging. This patch
makes cdb_len per-device.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 0853032673b..853c98859a9 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -348,6 +348,7 @@ struct ata_device { | |||
348 | 348 | ||
349 | unsigned int multi_count; /* sectors count for | 349 | unsigned int multi_count; /* sectors count for |
350 | READ/WRITE MULTIPLE */ | 350 | READ/WRITE MULTIPLE */ |
351 | unsigned int cdb_len; | ||
351 | 352 | ||
352 | /* for CHS addressing */ | 353 | /* for CHS addressing */ |
353 | u16 cylinders; /* Number of cylinders */ | 354 | u16 cylinders; /* Number of cylinders */ |
@@ -377,7 +378,6 @@ struct ata_port { | |||
377 | unsigned int mwdma_mask; | 378 | unsigned int mwdma_mask; |
378 | unsigned int udma_mask; | 379 | unsigned int udma_mask; |
379 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ | 380 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ |
380 | unsigned int cdb_len; | ||
381 | 381 | ||
382 | struct ata_device device[ATA_MAX_DEVICES]; | 382 | struct ata_device device[ATA_MAX_DEVICES]; |
383 | 383 | ||