diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 02:37:46 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 02:37:46 -0500 |
commit | b4d28889f7ebfe498dedaceb773b4c785b97d195 (patch) | |
tree | 7ac1070f4c956d035f40cc3b381b5868b980fafa /include | |
parent | 7dfb869c8e45e5863534f38fdac990829b22964a (diff) | |
parent | 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a (diff) | |
download | kernel-crypto-b4d28889f7ebfe498dedaceb773b4c785b97d195.tar.gz kernel-crypto-b4d28889f7ebfe498dedaceb773b4c785b97d195.tar.xz kernel-crypto-b4d28889f7ebfe498dedaceb773b4c785b97d195.zip |
Merge branch 'tmp'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 4 | ||||
-rw-r--r-- | include/scsi/scsi_eh.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 510aee82113..5915f763b72 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -430,7 +430,7 @@ struct ata_port_operations { void (*bmdma_start) (struct ata_queued_cmd *qc); void (*qc_prep) (struct ata_queued_cmd *qc); - int (*qc_issue) (struct ata_queued_cmd *qc); + unsigned int (*qc_issue) (struct ata_queued_cmd *qc); void (*eng_timeout) (struct ata_port *ap); @@ -518,7 +518,7 @@ extern void ata_port_stop (struct ata_port *ap); extern void ata_host_stop (struct ata_host_set *host_set); extern irqreturn_t ata_interrupt (int irq, void *dev_instance, struct pt_regs *regs); extern void ata_qc_prep(struct ata_queued_cmd *qc); -extern int ata_qc_issue_prot(struct ata_queued_cmd *qc); +extern unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc); extern void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf, unsigned int buflen); extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg, diff --git a/include/scsi/scsi_eh.h b/include/scsi/scsi_eh.h index fabd879c2f2..d160880b2a8 100644 --- a/include/scsi/scsi_eh.h +++ b/include/scsi/scsi_eh.h @@ -35,6 +35,9 @@ static inline int scsi_sense_valid(struct scsi_sense_hdr *sshdr) } +extern void scsi_eh_finish_cmd(struct scsi_cmnd *scmd, + struct list_head *done_q); +extern void scsi_eh_flush_done_q(struct list_head *done_q); extern void scsi_report_bus_reset(struct Scsi_Host *, int); extern void scsi_report_device_reset(struct Scsi_Host *, int, int); extern int scsi_block_when_processing_errors(struct scsi_device *); |