diff options
author | Tejun Heo <htejun@gmail.com> | 2006-03-01 02:09:35 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-03 17:31:04 -0500 |
commit | d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e (patch) | |
tree | d102151d0e1b4014c920def6a3257f031ffd56d6 /include/linux/libata.h | |
parent | d133ecab8ff1233c2eb3ecb94f7956aa10002300 (diff) |
[PATCH] libata: convert dev->id to pointer
Convert dev->id from array to pointer. This is to accomodate
revalidation. During revalidation, both old and new IDENTIFY pages
should be accessible and single ->id array doesn't cut it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
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 22e86cb2d166..9f273dd1958c 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -339,7 +339,7 @@ struct ata_device { | |||
339 | unsigned long flags; /* ATA_DFLAG_xxx */ | 339 | unsigned long flags; /* ATA_DFLAG_xxx */ |
340 | unsigned int class; /* ATA_DEV_xxx */ | 340 | unsigned int class; /* ATA_DEV_xxx */ |
341 | unsigned int devno; /* 0 or 1 */ | 341 | unsigned int devno; /* 0 or 1 */ |
342 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ | 342 | u16 *id; /* IDENTIFY xxx DEVICE data */ |
343 | u8 pio_mode; | 343 | u8 pio_mode; |
344 | u8 dma_mode; | 344 | u8 dma_mode; |
345 | u8 xfer_mode; | 345 | u8 xfer_mode; |