Skip to content

Commit

Permalink
[libata] pata_serverworks: fill in ->irq_clear hook
Browse files Browse the repository at this point in the history
Required by libata, as it is called unconditionally.

Fixes an obvious oops.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Sep 26, 2006
1 parent 68d0d7a commit efbf3f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/ata/pata_serverworks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit efbf3f1

Please sign in to comment.