diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:40 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:40 -0400 |
commit | 6982daf71ca9a0b0c36043315e1968b3cb709b7c (patch) | |
tree | d3388ee3d67ba24392c3036b6d070aa20602e5c8 /include/linux/ide.h | |
parent | 7f612f272ad8abe82411f368bfacf793b466e1b3 (diff) |
ide: convert 'pio_mode' device setting to use DS_SYNC flag
* Convert 'pio_mode' device setting to use DS_SYNC flag.
* Remove unused special_t.b.{set_tune,serviced} and ide_drive_t.tune_req.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 3e418b996ef5..a5e1888b1dab 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -262,8 +262,6 @@ static inline int __ide_default_irq(unsigned long base) | |||
262 | * set_geometry : respecify drive geometry | 262 | * set_geometry : respecify drive geometry |
263 | * recalibrate : seek to cyl 0 | 263 | * recalibrate : seek to cyl 0 |
264 | * set_multmode : set multmode count | 264 | * set_multmode : set multmode count |
265 | * set_tune : tune interface for drive | ||
266 | * serviced : service command | ||
267 | * reserved : unused | 265 | * reserved : unused |
268 | */ | 266 | */ |
269 | typedef union { | 267 | typedef union { |
@@ -272,9 +270,7 @@ typedef union { | |||
272 | unsigned set_geometry : 1; | 270 | unsigned set_geometry : 1; |
273 | unsigned recalibrate : 1; | 271 | unsigned recalibrate : 1; |
274 | unsigned set_multmode : 1; | 272 | unsigned set_multmode : 1; |
275 | unsigned set_tune : 1; | 273 | unsigned reserved : 5; |
276 | unsigned serviced : 1; | ||
277 | unsigned reserved : 3; | ||
278 | } b; | 274 | } b; |
279 | } special_t; | 275 | } special_t; |
280 | 276 | ||
@@ -514,7 +510,6 @@ struct ide_drive_s { | |||
514 | u8 ready_stat; /* min status value for drive ready */ | 510 | u8 ready_stat; /* min status value for drive ready */ |
515 | u8 mult_count; /* current multiple sector setting */ | 511 | u8 mult_count; /* current multiple sector setting */ |
516 | u8 mult_req; /* requested multiple sector setting */ | 512 | u8 mult_req; /* requested multiple sector setting */ |
517 | u8 tune_req; /* requested drive tuning setting */ | ||
518 | u8 io_32bit; /* 0=16-bit, 1=32-bit, 2/3=32bit+sync */ | 513 | u8 io_32bit; /* 0=16-bit, 1=32-bit, 2/3=32bit+sync */ |
519 | u8 bad_wstat; /* used for ignoring ATA_DF */ | 514 | u8 bad_wstat; /* used for ignoring ATA_DF */ |
520 | u8 head; /* "real" number of heads */ | 515 | u8 head; /* "real" number of heads */ |