diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/ide.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0ec612959042..072fe8c93e6f 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -362,7 +362,7 @@ struct ide_drive_s; | |||
| 362 | struct ide_disk_ops { | 362 | struct ide_disk_ops { |
| 363 | int (*check)(struct ide_drive_s *, const char *); | 363 | int (*check)(struct ide_drive_s *, const char *); |
| 364 | int (*get_capacity)(struct ide_drive_s *); | 364 | int (*get_capacity)(struct ide_drive_s *); |
| 365 | u64 (*set_capacity)(struct ide_drive_s *, u64); | 365 | void (*unlock_native_capacity)(struct ide_drive_s *); |
| 366 | void (*setup)(struct ide_drive_s *); | 366 | void (*setup)(struct ide_drive_s *); |
| 367 | void (*flush)(struct ide_drive_s *); | 367 | void (*flush)(struct ide_drive_s *); |
| 368 | int (*init_media)(struct ide_drive_s *, struct gendisk *); | 368 | int (*init_media)(struct ide_drive_s *, struct gendisk *); |
| @@ -458,7 +458,7 @@ enum { | |||
| 458 | IDE_DFLAG_DOORLOCKING = (1 << 15), | 458 | IDE_DFLAG_DOORLOCKING = (1 << 15), |
| 459 | /* disallow DMA */ | 459 | /* disallow DMA */ |
| 460 | IDE_DFLAG_NODMA = (1 << 16), | 460 | IDE_DFLAG_NODMA = (1 << 16), |
| 461 | /* powermanagment told us not to do anything, so sleep nicely */ | 461 | /* powermanagement told us not to do anything, so sleep nicely */ |
| 462 | IDE_DFLAG_BLOCKED = (1 << 17), | 462 | IDE_DFLAG_BLOCKED = (1 << 17), |
| 463 | /* sleeping & sleep field valid */ | 463 | /* sleeping & sleep field valid */ |
| 464 | IDE_DFLAG_SLEEPING = (1 << 18), | 464 | IDE_DFLAG_SLEEPING = (1 << 18), |
| @@ -515,7 +515,9 @@ struct ide_drive_s { | |||
| 515 | u8 init_speed; /* transfer rate set at boot */ | 515 | u8 init_speed; /* transfer rate set at boot */ |
| 516 | u8 current_speed; /* current transfer rate set */ | 516 | u8 current_speed; /* current transfer rate set */ |
| 517 | u8 desired_speed; /* desired transfer rate set */ | 517 | u8 desired_speed; /* desired transfer rate set */ |
| 518 | u8 dn; /* now wide spread use */ | 518 | u8 pio_mode; /* for ->set_pio_mode _only_ */ |
| 519 | u8 dma_mode; /* for ->set_dma_mode _only_ */ | ||
| 520 | u8 dn; /* now wide spread use */ | ||
| 519 | u8 acoustic; /* acoustic management */ | 521 | u8 acoustic; /* acoustic management */ |
| 520 | u8 media; /* disk, cdrom, tape, floppy, ... */ | 522 | u8 media; /* disk, cdrom, tape, floppy, ... */ |
| 521 | u8 ready_stat; /* min status value for drive ready */ | 523 | u8 ready_stat; /* min status value for drive ready */ |
| @@ -622,8 +624,8 @@ extern const struct ide_tp_ops default_tp_ops; | |||
| 622 | */ | 624 | */ |
| 623 | struct ide_port_ops { | 625 | struct ide_port_ops { |
| 624 | void (*init_dev)(ide_drive_t *); | 626 | void (*init_dev)(ide_drive_t *); |
| 625 | void (*set_pio_mode)(ide_drive_t *, const u8); | 627 | void (*set_pio_mode)(struct hwif_s *, ide_drive_t *); |
| 626 | void (*set_dma_mode)(ide_drive_t *, const u8); | 628 | void (*set_dma_mode)(struct hwif_s *, ide_drive_t *); |
| 627 | int (*reset_poll)(ide_drive_t *); | 629 | int (*reset_poll)(ide_drive_t *); |
| 628 | void (*pre_reset)(ide_drive_t *); | 630 | void (*pre_reset)(ide_drive_t *); |
| 629 | void (*resetproc)(ide_drive_t *); | 631 | void (*resetproc)(ide_drive_t *); |
| @@ -1167,6 +1169,7 @@ extern void ide_stall_queue(ide_drive_t *drive, unsigned long timeout); | |||
| 1167 | extern void ide_timer_expiry(unsigned long); | 1169 | extern void ide_timer_expiry(unsigned long); |
| 1168 | extern irqreturn_t ide_intr(int irq, void *dev_id); | 1170 | extern irqreturn_t ide_intr(int irq, void *dev_id); |
| 1169 | extern void do_ide_request(struct request_queue *); | 1171 | extern void do_ide_request(struct request_queue *); |
| 1172 | extern void ide_requeue_and_plug(ide_drive_t *drive, struct request *rq); | ||
| 1170 | 1173 | ||
| 1171 | void ide_init_disk(struct gendisk *, ide_drive_t *); | 1174 | void ide_init_disk(struct gendisk *, ide_drive_t *); |
| 1172 | 1175 | ||
| @@ -1494,7 +1497,6 @@ int ide_timing_compute(ide_drive_t *, u8, struct ide_timing *, int, int); | |||
| 1494 | #ifdef CONFIG_IDE_XFER_MODE | 1497 | #ifdef CONFIG_IDE_XFER_MODE |
| 1495 | int ide_scan_pio_blacklist(char *); | 1498 | int ide_scan_pio_blacklist(char *); |
| 1496 | const char *ide_xfer_verbose(u8); | 1499 | const char *ide_xfer_verbose(u8); |
| 1497 | u8 ide_get_best_pio_mode(ide_drive_t *, u8, u8); | ||
| 1498 | int ide_pio_need_iordy(ide_drive_t *, const u8); | 1500 | int ide_pio_need_iordy(ide_drive_t *, const u8); |
| 1499 | int ide_set_pio_mode(ide_drive_t *, u8); | 1501 | int ide_set_pio_mode(ide_drive_t *, u8); |
| 1500 | int ide_set_dma_mode(ide_drive_t *, u8); | 1502 | int ide_set_dma_mode(ide_drive_t *, u8); |
