aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
commit1f2cf8b0014fdfa3141449b508aca25e78c078a7 (patch)
tree2bbed83a1c7f5fc037cd64c2af108f081aff4c65 /include/linux
parent807b90d0be23b8d088d4369b02539dada70f03f4 (diff)
ide: add ->port_init_devs method to ide_hwif_t
* Add ->port_init_devs method to ide_hwif_t for a host specific initialization of devices on a port. Call the new method from ide_port_init_devices(). * Convert ht6560b, qd65xx and opti621 host drivers to use the new ->port_init_devs method. There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 7b24358a6f8a..9f195078ff99 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -514,6 +514,8 @@ typedef struct hwif_s {
514#if 0 514#if 0
515 ide_hwif_ops_t *hwifops; 515 ide_hwif_ops_t *hwifops;
516#else 516#else
517 /* host specific initialization of devices on a port */
518 void (*port_init_devs)(struct hwif_s *);
517 /* routine to program host for PIO mode */ 519 /* routine to program host for PIO mode */
518 void (*set_pio_mode)(ide_drive_t *, const u8); 520 void (*set_pio_mode)(ide_drive_t *, const u8);
519 /* routine to program host for DMA mode */ 521 /* routine to program host for DMA mode */