]> err.no Git - linux-2.6/commitdiff
[libata] pata_serverworks: fill in ->irq_clear hook
authorJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 21:10:53 +0000 (17:10 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 21:10:53 +0000 (17:10 -0400)
Required by libata, as it is called unconditionally.

Fixes an obvious oops.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_serverworks.c

index 75cc5a22da0c738cedcc921830582169a3829021..d62051b8da0500c6747da047878023809cfaf7a5 100644 (file)
@@ -356,6 +356,8 @@ static struct ata_port_operations serverworks_osb4_port_ops = {
        .data_xfer      = ata_pio_data_xfer,
 
        .irq_handler    = ata_interrupt,
+       .irq_clear      = ata_bmdma_irq_clear,
+
        .port_start     = ata_port_start,
        .port_stop      = ata_port_stop,
        .host_stop      = ata_host_stop
@@ -389,6 +391,8 @@ static struct ata_port_operations serverworks_csb_port_ops = {
        .data_xfer      = ata_pio_data_xfer,
 
        .irq_handler    = ata_interrupt,
+       .irq_clear      = ata_bmdma_irq_clear,
+
        .port_start     = ata_port_start,
        .port_stop      = ata_port_stop,
        .host_stop      = ata_host_stop