Commit efbf3f14 authored by Jeff Garzik's avatar Jeff Garzik

[libata] pata_serverworks: fill in ->irq_clear hook

Required by libata, as it is called unconditionally.

Fixes an obvious oops.
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 68d0d7ab
...@@ -356,6 +356,8 @@ static struct ata_port_operations serverworks_osb4_port_ops = { ...@@ -356,6 +356,8 @@ static struct ata_port_operations serverworks_osb4_port_ops = {
.data_xfer = ata_pio_data_xfer, .data_xfer = ata_pio_data_xfer,
.irq_handler = ata_interrupt, .irq_handler = ata_interrupt,
.irq_clear = ata_bmdma_irq_clear,
.port_start = ata_port_start, .port_start = ata_port_start,
.port_stop = ata_port_stop, .port_stop = ata_port_stop,
.host_stop = ata_host_stop .host_stop = ata_host_stop
...@@ -389,6 +391,8 @@ static struct ata_port_operations serverworks_csb_port_ops = { ...@@ -389,6 +391,8 @@ static struct ata_port_operations serverworks_csb_port_ops = {
.data_xfer = ata_pio_data_xfer, .data_xfer = ata_pio_data_xfer,
.irq_handler = ata_interrupt, .irq_handler = ata_interrupt,
.irq_clear = ata_bmdma_irq_clear,
.port_start = ata_port_start, .port_start = ata_port_start,
.port_stop = ata_port_stop, .port_stop = ata_port_stop,
.host_stop = ata_host_stop .host_stop = ata_host_stop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment