Commit 8a0b3ef8 authored by Jeff Garzik's avatar Jeff Garzik

[libata sata_nv] sync with 2.4

Driver should be using LIBATA_MAX_PRD not ATA_MAX_PRD,
due to iommu layer splitting.
parent 5c422c68
...@@ -187,7 +187,7 @@ static Scsi_Host_Template nv_sht = { ...@@ -187,7 +187,7 @@ static Scsi_Host_Template nv_sht = {
.eh_strategy_handler = ata_scsi_error, .eh_strategy_handler = ata_scsi_error,
.can_queue = ATA_DEF_QUEUE, .can_queue = ATA_DEF_QUEUE,
.this_id = ATA_SHT_THIS_ID, .this_id = ATA_SHT_THIS_ID,
.sg_tablesize = ATA_MAX_PRD, .sg_tablesize = LIBATA_MAX_PRD,
.max_sectors = ATA_MAX_SECTORS, .max_sectors = ATA_MAX_SECTORS,
.cmd_per_lun = ATA_SHT_CMD_PER_LUN, .cmd_per_lun = ATA_SHT_CMD_PER_LUN,
.emulated = ATA_SHT_EMULATED, .emulated = ATA_SHT_EMULATED,
......
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