diff options
98 files changed, 10476 insertions, 1443 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index db95c547c09d..86af29f53bbe 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
| @@ -1353,6 +1353,8 @@ config SCSI_LPFC | |||
| 1353 | tristate "Emulex LightPulse Fibre Channel Support" | 1353 | tristate "Emulex LightPulse Fibre Channel Support" |
| 1354 | depends on PCI && SCSI | 1354 | depends on PCI && SCSI |
| 1355 | select SCSI_FC_ATTRS | 1355 | select SCSI_FC_ATTRS |
| 1356 | select GENERIC_CSUM | ||
| 1357 | select CRC_T10DIF | ||
| 1356 | help | 1358 | help |
| 1357 | This lpfc driver supports the Emulex LightPulse | 1359 | This lpfc driver supports the Emulex LightPulse |
| 1358 | Family of Fibre Channel PCI host adapters. | 1360 | Family of Fibre Channel PCI host adapters. |
diff --git a/drivers/scsi/aic94xx/aic94xx_dev.c b/drivers/scsi/aic94xx/aic94xx_dev.c index 64136c56e706..33072388ea16 100644 --- a/drivers/scsi/aic94xx/aic94xx_dev.c +++ b/drivers/scsi/aic94xx/aic94xx_dev.c | |||
| @@ -84,7 +84,7 @@ static void asd_set_ddb_type(struct domain_device *dev) | |||
| 84 | struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; | 84 | struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; |
| 85 | int ddb = (int) (unsigned long) dev->lldd_dev; | 85 | int ddb = (int) (unsigned long) dev->lldd_dev; |
| 86 | 86 | ||
| 87 | if (dev->dev_type == SATA_PM_PORT) | 87 | if (dev->dev_type == SAS_SATA_PM_PORT) |
| 88 | asd_ddbsite_write_byte(asd_ha,ddb, DDB_TYPE, DDB_TYPE_PM_PORT); | 88 | asd_ddbsite_write_byte(asd_ha,ddb, DDB_TYPE, DDB_TYPE_PM_PORT); |
| 89 | else if (dev->tproto) | 89 | else if (dev->tproto) |
| 90 | asd_ddbsite_write_byte(asd_ha,ddb, DDB_TYPE, DDB_TYPE_TARGET); | 90 | asd_ddbsite_write_byte(asd_ha,ddb, DDB_TYPE, DDB_TYPE_TARGET); |
| @@ -116,7 +116,7 @@ void asd_set_dmamode(struct domain_device *dev) | |||
| 116 | int ddb = (int) (unsigned long) dev->lldd_dev; | 116 | int ddb = (int) (unsigned long) dev->lldd_dev; |
| 117 | u32 qdepth = 0; | 117 | u32 qdepth = 0; |
| 118 | 118 | ||
| 119 | if (dev->dev_type == SATA_DEV || dev->dev_type == SATA_PM_PORT) { | 119 | if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM_PORT) { |
| 120 | if (ata_id_has_ncq(ata_dev->id)) | 120 | if (ata_id_has_ncq(ata_dev->id)) |
| 121 | qdepth = ata_id_queue_depth(ata_dev->id); | 121 | qdepth = ata_id_queue_depth(ata_dev->id); |
| 122 | asd_ddbsite_write_dword(asd_ha, ddb, SATA_TAG_ALLOC_MASK, | 122 | asd_ddbsite_write_dword(asd_ha, ddb, SATA_TAG_ALLOC_MASK, |
| @@ -140,8 +140,8 @@ static int asd_init_sata(struct domain_device *dev) | |||
| 140 | int ddb = (int) (unsigned long) dev->lldd_dev; | 140 | int ddb = (int) (unsigned long) dev->lldd_dev; |
