summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-26 17:10:53 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-26 17:10:53 -0400
commitefbf3f14204b77e6afc8c13571357173de9ab707 (patch)
tree21a182fa778c6252b19345c82f91ef670b11850d /drivers/ata
parent68d0d7abcc4cfcf0a1eeb49785cb32ec05473e42 (diff)
downloadop-kernel-dev-efbf3f14204b77e6afc8c13571357173de9ab707.zip
op-kernel-dev-efbf3f14204b77e6afc8c13571357173de9ab707.tar.gz
[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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_serverworks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c
index 75cc5a2..d62051b 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
OpenPOWER on IntegriCloud