diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2005-08-26 11:03:19 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-26 17:36:26 -0400 |
commit | b73fc89f6d1f84326e5e897ad249d00a9f218fd7 (patch) | |
tree | 557d5ba51a4f6c58be0717c0da13c2e409fd6008 /include/linux/libata.h | |
parent | 31433ea369d250ad011577eee6110d3efcb9d861 (diff) |
[PATCH] libata: regularize dma_start/stop arguments
Needed for a few PATA drivers.
Also fix up a wrong comment.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 724b7d1c18ea..33f3ab4eb827 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -365,7 +365,7 @@ struct ata_port_operations { | |||
365 | 365 | ||
366 | void (*host_stop) (struct ata_host_set *host_set); | 366 | void (*host_stop) (struct ata_host_set *host_set); |
367 | 367 | ||
368 | void (*bmdma_stop) (struct ata_port *ap); | 368 | void (*bmdma_stop) (struct ata_queued_cmd *qc); |
369 | u8 (*bmdma_status) (struct ata_port *ap); | 369 | u8 (*bmdma_status) (struct ata_port *ap); |
370 | }; | 370 | }; |
371 | 371 | ||
@@ -424,9 +424,10 @@ extern unsigned int ata_dev_classify(struct ata_taskfile *tf); | |||
424 | extern void ata_dev_id_string(u16 *id, unsigned char *s, | 424 | extern void ata_dev_id_string(u16 *id, unsigned char *s, |
425 | unsigned int ofs, unsigned int len); | 425 | unsigned int ofs, unsigned int len); |
426 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); | 426 | extern void ata_dev_config(struct ata_port *ap, unsigned int i); |
427 | extern void ata_dev_set_protocol(struct ata_device *dev); | ||
427 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); | 428 | extern void ata_bmdma_setup (struct ata_queued_cmd *qc); |
428 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); | 429 | extern void ata_bmdma_start (struct ata_queued_cmd *qc); |
429 | extern void ata_bmdma_stop(struct ata_port *ap); | 430 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); |
430 | extern u8 ata_bmdma_status(struct ata_port *ap); | 431 | extern u8 ata_bmdma_status(struct ata_port *ap); |
431 | extern void ata_bmdma_irq_clear(struct ata_port *ap); | 432 | extern void ata_bmdma_irq_clear(struct ata_port *ap); |
432 | extern void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat); | 433 | extern void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat); |