diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-08-05 12:16:57 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-08-05 12:16:57 -0400 |
commit | 39b986a6c73434d122967dc86efb295ab9a28437 (patch) | |
tree | 409dbbd1aa99c158a2de4f1e278f245e5785c956 | |
parent | 242f44261e6c5fdc13e3cd12f949ab717dc37d58 (diff) |
ide: sanitize struct ide_port_ops documentation (take 2)
v2:
Add missing '@'-s. (Noticed by Randy Dunlap)
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | include/linux/ide.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index b846bc44a27e..b1fb15f10a00 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -509,24 +509,33 @@ struct ide_tp_ops { | |||
509 | 509 | ||
510 | extern const struct ide_tp_ops default_tp_ops; | 510 | extern const struct ide_tp_ops default_tp_ops; |
511 | 511 | ||
512 | /** | ||
513 | * struct ide_port_ops - IDE port operations | ||
514 | * | ||
515 | * @init_dev: host specific initialization of a device | ||
516 | * @set_pio_mode: routine to program host for PIO mode | ||
517 | * @set_dma_mode: routine to program host for DMA mode | ||
518 | * @selectproc: tweaks hardware to select drive | ||
519 | * @reset_poll: chipset polling based on hba specifics | ||
520 | * @pre_reset: chipset specific changes to default for device-hba resets | ||
521 | * @resetproc: routine to reset controller after a disk reset | ||
522 | * @maskproc: special host masking for drive selection | ||
523 | * @quirkproc: check host's drive quirk list | ||
524 | * | ||
525 | * @mdma_filter: filter MDMA modes | ||
526 | * @udma_filter: filter UDMA modes | ||
527 | * | ||
528 | * @cable_detect: detect cable type | ||
529 | */ | ||
512 | struct ide_port_ops { | 530 | struct ide_port_ops { |
513 | /* host specific initialization of a device */ | ||
514 | void (*init_dev)(ide_drive_t *); | 531 | void (*init_dev)(ide_drive_t *); |
515 | /* routine to program host for PIO mode */ | ||
516 | void (*set_pio_mode)(ide_drive_t *, const u8); | 532 | void (*set_pio_mode)(ide_drive_t *, const u8); |
517 | /* routine to program host for DMA mode */ | ||
518 | void (*set_dma_mode)(ide_drive_t *, const u8); | 533 | void (*set_dma_mode)(ide_drive_t *, const u8); |
519 | /* tweaks hardware to select drive */ | ||
520 | void (*selectproc)(ide_drive_t *); | 534 | void (*selectproc)(ide_drive_t *); |
521 | /* chipset polling based on hba specifics */ | ||
522 | int (*reset_poll)(ide_drive_t *); | 535 | int (*reset_poll)(ide_drive_t *); |
523 | /* chipset specific changes to default for device-hba resets */ | ||
524 | void (*pre_reset)(ide_drive_t *); | 536 | void (*pre_reset)(ide_drive_t *); |
525 | /* routine to reset controller after a disk reset */ | ||
526 | void (*resetproc)(ide_drive_t *); | 537 | void (*resetproc)(ide_drive_t *); |
527 | /* special host masking for drive selection */ | ||
528 | void (*maskproc)(ide_drive_t *, int); | 538 | void (*maskproc)(ide_drive_t *, int); |
529 | /* check host's drive quirk list */ | ||
530 | void (*quirkproc)(ide_drive_t *); | 539 | void (*quirkproc)(ide_drive_t *); |
531 | 540 | ||
532 | u8 (*mdma_filter)(ide_drive_t *); | 541 | u8 (*mdma_filter)(ide_drive_t *); |