diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-04 11:24:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-04 11:24:06 -0500 |
commit | 4c10c937cc2eb197db565392db91d429eec71176 (patch) | |
tree | 02d7f15b314441e832f48f0f882882042361396c /include/linux | |
parent | 9bb676966aa85e56af00b353387d3c274a26e480 (diff) | |
parent | 950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6: (49 commits)
drivers/ide: Fix continuation line formats
ide: fixed section mismatch warning in cmd640.c
ide: ide_timing_compute() fixup
ide: make ide_get_best_pio_mode() static
via82cxxx: use ->pio_mode value to determine pair device speed
tx493xide: use ->pio_mode value to determine pair device speed
siimage: use ->pio_mode value to determine pair device speed
palm_bk3710: use ->pio_mode value to determine pair device speed
it821x: use ->pio_mode value to determine pair device speed
cs5536: use ->pio_mode value to determine pair device speed
cs5535: use ->pio_mode value to determine pair device speed
cmd64x: fix handling of address setup timings
amd74xx: use ->pio_mode value to determine pair device speed
alim15x3: fix handling of UDMA enable bit
alim15x3: fix handling of DMA timings
alim15x3: fix handling of command timings
alim15x3: fix handling of address setup timings
ide-timings: use ->pio_mode value to determine fastest PIO speed
ide: change ->set_dma_mode method parameters
ide: change ->set_pio_mode method parameters
...
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ide.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0ec612959042..97e6ab435184 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -515,6 +515,8 @@ 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 pio_mode; /* for ->set_pio_mode _only_ */ | ||
519 | u8 dma_mode; /* for ->dma_pio_mode _only_ */ | ||
518 | u8 dn; /* now wide spread use */ | 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, ... */ |
@@ -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 *); |
@@ -1494,7 +1496,6 @@ int ide_timing_compute(ide_drive_t *, u8, struct ide_timing *, int, int); | |||
1494 | #ifdef CONFIG_IDE_XFER_MODE | 1496 | #ifdef CONFIG_IDE_XFER_MODE |
1495 | int ide_scan_pio_blacklist(char *); | 1497 | int ide_scan_pio_blacklist(char *); |
1496 | const char *ide_xfer_verbose(u8); | 1498 | 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); | 1499 | int ide_pio_need_iordy(ide_drive_t *, const u8); |
1499 | int ide_set_pio_mode(ide_drive_t *, u8); | 1500 | int ide_set_pio_mode(ide_drive_t *, u8); |
1500 | int ide_set_dma_mode(ide_drive_t *, u8); | 1501 | int ide_set_dma_mode(ide_drive_t *, u8); |