libata: add ata_ratelimit(), use it in AHCI driver irq handler

This commit is contained in:
Jeff Garzik
2005-10-05 02:58:32 -04:00
parent 643736a58d
commit 67846b3017
3 changed files with 50 additions and 6 deletions

View File

@@ -410,6 +410,8 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn
extern int ata_scsi_error(struct Scsi_Host *host);
extern int ata_scsi_release(struct Scsi_Host *host);
extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc);
extern int ata_ratelimit(void);
/*
* Default driver ops implementations
*/