[SCSI] Add target alloc/destroy callbacks to the host template
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 24 May 2005 17:06:38 +0000 (12:06 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 26 May 2005 15:27:53 +0000 (11:27 -0400)
commita283bd37d00e92e8874ca6325ae071691d4db388
tree4c436d59fc326e3545c575a88b92fd31ace841a5
parent631e8a1398ce4cfef8b30678d51daf0c64313a09
[SCSI] Add target alloc/destroy callbacks to the host template

This gives the HBA driver notice when a target is created and
destroyed to allow it to manage its own target based allocations
accordingly.

This is a much reduced verson of the original patch sent in by
James.Smart@Emulex.com

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c
include/scsi/scsi_device.h
include/scsi/scsi_host.h