DORMANTno replies

[PATCH 1/4] libata.h: add another IRQ calls

From: Akira Iguchi <hidden>
Date: 2007-01-16 10:46:04
Also in: linux-ide

Two IRQ calls are added in ata_port_operations.
- irq_on() is used to enable interrupts. 
- irq_ack() is used to acknowledge a device interrupt.

And there are additional function declarations which are
used in pata_scc.c.

Signed-off-by: Kou Ishizaki <redacted>
Signed-off-by: Akira Iguchi <redacted>
---
--- linux-2.6.20-rc4/include/linux/libata.h.orig	2007-01-17 01:46:12.000000000 +0900
+++ linux-2.6.20-rc4/include/linux/libata.h	2007-01-17 02:14:57.000000000 +0900
@@ -638,6 +638,8 @@ struct ata_port_operations {
 
 	irq_handler_t irq_handler;
 	void (*irq_clear) (struct ata_port *);
+	u8 (*irq_on) (struct ata_port *);
+	u8 (*irq_ack) (struct ata_port *ap, unsigned int chk_drq);
 
 	u32 (*scr_read) (struct ata_port *ap, unsigned int sc_reg);
 	void (*scr_write) (struct ata_port *ap, unsigned int sc_reg,
@@ -761,6 +763,9 @@ extern void ata_port_queue_task(struct a
 extern u32 ata_wait_register(void __iomem *reg, u32 mask, u32 val,
 			     unsigned long interval_msec,
 			     unsigned long timeout_msec);
+unsigned int ata_dev_try_classify(struct ata_port *, unsigned int, u8 *);
+struct ata_probe_ent *ata_probe_ent_alloc(struct device *,
+					  const struct ata_port_info *);
 
 /*
  * Default driver ops implementations
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help