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

Jeff Garzik jeff at garzik.org
Thu Jan 25 12:10:45 EST 2007


Akira Iguchi wrote:
> 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 at toshiba.co.jp>
> Signed-off-by: Akira Iguchi <akira2.iguchi at toshiba.co.jp>

After this round of comments, please resend the entire patchset, so that 
I have everything straight.


> @@ -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 *);
>  


To properly export these functions, (a) remove their declarations from 
drivers/ata/libata.h and (b) add EXPORT_SYMBOL_GPL() declarations.

	Jeff





More information about the Linuxppc-dev mailing list