[SCSI] aic79xx: target hotplug fixes
authorHannes Reinecke <hare@suse.de>
Fri, 7 Apr 2006 11:47:03 +0000 (13:47 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 18:23:11 +0000 (13:23 -0500)
commitb0d2364887e94c880680f1e17943cd660bcf8979
treee47c89b7aabe572bc3a807b5cb74abca00382a71
parent441f987ca4cdca9c72aaf32fdd0d0ca9ebf46e94
[SCSI] aic79xx: target hotplug fixes

When a target is added aic79xx tries to be overly clever: it changes
the command on the fly to TEST UNIT READY and tries to requeue the
original command. Sadly this breaks SCSI compability and of course
the midlayer is getting a bit confused by it.

So we're just removing that bit of code and let the midlayer deal with
it. It's clever enough by now. And the driver code is getting simpler.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic79xx.h
drivers/scsi/aic7xxx/aic79xx_core.c