diff options
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index fc393bd95f4a..4eb7bba24a68 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c | |||
@@ -1336,14 +1336,12 @@ ahd_platform_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, | |||
1336 | 1336 | ||
1337 | switch ((dev->flags & (AHD_DEV_Q_BASIC|AHD_DEV_Q_TAGGED))) { | 1337 | switch ((dev->flags & (AHD_DEV_Q_BASIC|AHD_DEV_Q_TAGGED))) { |
1338 | case AHD_DEV_Q_BASIC: | 1338 | case AHD_DEV_Q_BASIC: |
1339 | scsi_adjust_queue_depth(sdev, | 1339 | scsi_set_tag_type(sdev, MSG_SIMPLE_TASK); |
1340 | MSG_SIMPLE_TASK, | 1340 | scsi_activate_tcq(sdev, dev->openings + dev->active); |
1341 | dev->openings + dev->active); | ||
1342 | break; | 1341 | break; |
1343 | case AHD_DEV_Q_TAGGED: | 1342 | case AHD_DEV_Q_TAGGED: |
1344 | scsi_adjust_queue_depth(sdev, | 1343 | scsi_set_tag_type(sdev, MSG_ORDERED_TASK); |
1345 | MSG_ORDERED_TASK, | 1344 | scsi_activate_tcq(sdev, dev->openings + dev->active); |
1346 | dev->openings + dev->active); | ||
1347 | break; | 1345 | break; |
1348 | default: | 1346 | default: |
1349 | /* | 1347 | /* |
@@ -1352,9 +1350,7 @@ ahd_platform_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, | |||
1352 | * serially on the controller/device. This should | 1350 | * serially on the controller/device. This should |
1353 | * remove some latency. | 1351 | * remove some latency. |
1354 | */ | 1352 | */ |
1355 | scsi_adjust_queue_depth(sdev, | 1353 | scsi_deactivate_tcq(sdev, 1); |
1356 | /*NON-TAGGED*/0, | ||
1357 | /*queue depth*/2); | ||
1358 | break; | 1354 | break; |
1359 | } | 1355 | } |
1360 | } | 1356 | } |