]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] aic7xxx: fix ahc_done check SCB_ACTIVE for tagged transactions
authorDavid Milburn <dmilburn@redhat.com>
Fri, 25 Jan 2008 18:16:18 +0000 (12:16 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:03:39 +0000 (13:03 -0600)
commit969ceffb6696ac361db9dbc33c83f855dbdb1528
treeb542507aa954eef1311b94f7b43ea31c23c10f1e
parent2adbfa333ad2c365bd27f3cf21ae464501d9619d
[SCSI] aic7xxx: fix ahc_done check SCB_ACTIVE for tagged transactions

The driver only needs to check the SCB_ACTIVE flag if the SCB is not
in the untagged queue.

If the driver is in error recovery, you may end panic'ing on a TUR
that is in the untagged queue.

Attempting to queue an ABORT message
CDB: 0x0 0x0 0x0 0x0 0x0 0x0
SCB 3 done'd twice

This patch is included in Adaptec's 6.3.11 driver on their website.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c