diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-26 17:10:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-26 17:10:53 -0400 |
commit | efbf3f14204b77e6afc8c13571357173de9ab707 (patch) | |
tree | 21a182fa778c6252b19345c82f91ef670b11850d /drivers/ata | |
parent | 68d0d7abcc4cfcf0a1eeb49785cb32ec05473e42 (diff) |
[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.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 = { | |||
356 | .data_xfer = ata_pio_data_xfer, | 356 | .data_xfer = ata_pio_data_xfer, |
357 | 357 | ||
358 | .irq_handler = ata_interrupt, | 358 | .irq_handler = ata_interrupt, |
359 | .irq_clear = ata_bmdma_irq_clear, | ||
360 | |||
359 | .port_start = ata_port_start, | 361 | .port_start = ata_port_start, |
360 | .port_stop = ata_port_stop, | 362 | .port_stop = ata_port_stop, |
361 | .host_stop = ata_host_stop | 363 | .host_stop = ata_host_stop |
@@ -389,6 +391,8 @@ static struct ata_port_operations serverworks_csb_port_ops = { | |||
389 | .data_xfer = ata_pio_data_xfer, | 391 | .data_xfer = ata_pio_data_xfer, |
390 | 392 | ||
391 | .irq_handler = ata_interrupt, | 393 | .irq_handler = ata_interrupt, |
394 | .irq_clear = ata_bmdma_irq_clear, | ||
395 | |||
392 | .port_start = ata_port_start, | 396 | .port_start = ata_port_start, |
393 | .port_stop = ata_port_stop, | 397 | .port_stop = ata_port_stop, |
394 | .host_stop = ata_host_stop | 398 | .host_stop = ata_host_stop |