diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-26 23:10:53 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-26 23:10:53 +0200 |
commit | efbf3f14204b77e6afc8c13571357173de9ab707 (patch) | |
tree | 21a182fa778c6252b19345c82f91ef670b11850d | |
parent | [PATCH] pata_serverworks: correct PCI ID in cable detection table (diff) | |
download | linux-efbf3f14204b77e6afc8c13571357173de9ab707.tar.xz linux-efbf3f14204b77e6afc8c13571357173de9ab707.zip |
[libata] pata_serverworks: fill in ->irq_clear hook
Required by libata, as it is called unconditionally.
Fixes an obvious oops.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/pata_serverworks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 75cc5a22da0c..d62051b8da05 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c @@ -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 |