libata: add ata_ratelimit(), use it in AHCI driver irq handler
This commit is contained in:
parent
643736a58d
commit
67846b3017
3 changed files with 50 additions and 6 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue