diff options
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index f65b53785a8f..6cda12ba8122 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -57,9 +57,9 @@ enum { | |||
57 | NV_MMIO_BAR = 5, | 57 | NV_MMIO_BAR = 5, |
58 | 58 | ||
59 | NV_PORTS = 2, | 59 | NV_PORTS = 2, |
60 | NV_PIO_MASK = 0x1f, | 60 | NV_PIO_MASK = ATA_PIO4, |
61 | NV_MWDMA_MASK = 0x07, | 61 | NV_MWDMA_MASK = ATA_MWDMA2, |
62 | NV_UDMA_MASK = 0x7f, | 62 | NV_UDMA_MASK = ATA_UDMA6, |
63 | NV_PORT0_SCR_REG_OFFSET = 0x00, | 63 | NV_PORT0_SCR_REG_OFFSET = 0x00, |
64 | NV_PORT1_SCR_REG_OFFSET = 0x40, | 64 | NV_PORT1_SCR_REG_OFFSET = 0x40, |
65 | 65 | ||
@@ -408,6 +408,7 @@ static struct scsi_host_template nv_swncq_sht = { | |||
408 | 408 | ||
409 | static struct ata_port_operations nv_common_ops = { | 409 | static struct ata_port_operations nv_common_ops = { |
410 | .inherits = &ata_bmdma_port_ops, | 410 | .inherits = &ata_bmdma_port_ops, |
411 | .lost_interrupt = ATA_OP_NULL, | ||
411 | .scr_read = nv_scr_read, | 412 | .scr_read = nv_scr_read, |
412 | .scr_write = nv_scr_write, | 413 | .scr_write = nv_scr_write, |
413 | }; | 414 | }; |