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 <kou.ishizaki@xxxxxxxxxxxxx> Signed-off-by: Akira Iguchi <akira2.iguchi@xxxxxxxxxxxxx> --- --- 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 - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html