Commit 2a97afb8 authored by Mutsumi Ishikawa's avatar Mutsumi Ishikawa Committed by James Bottomley

[PATCH] aic79xx build and lun detect problem fix

  http://linux.bkbits.net:8080/linux-2.5/diffs/drivers/scsi/aic7xxx/aic79xx_osm.c@1.16?nav=index.html|src/|src/drivers|src/drivers/scsi|src/drivers/scsi/aic7xxx|hist/drivers/scsi/aic7xxx/aic79xx_osm.c

    This change(latest aic79xx driver and scsi_cmnd changes merging)
    is dropped `hscb->lun = cmd->device->lun;' (in aic79xx_osm.c line
    4272). This change cause lun detect problem. I believe it is still
    needed.
parent cd9be7d7
...@@ -4269,6 +4269,7 @@ ahd_linux_run_device_queue(struct ahd_softc *ahd, struct ahd_linux_device *dev) ...@@ -4269,6 +4269,7 @@ ahd_linux_run_device_queue(struct ahd_softc *ahd, struct ahd_linux_device *dev)
*/ */
hscb->control = 0; hscb->control = 0;
hscb->scsiid = BUILD_SCSIID(ahd, cmd); hscb->scsiid = BUILD_SCSIID(ahd, cmd);
hscb->lun = cmd->device->lun;
scb->hscb->task_management = 0; scb->hscb->task_management = 0;
mask = SCB_GET_TARGET_MASK(ahd, scb); mask = SCB_GET_TARGET_MASK(ahd, scb);
......
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