]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] add missing transport configure points for target and host
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 5 Jan 2008 15:38:30 +0000 (09:38 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:17 +0000 (11:29 -0600)
commitd70436edc60e0350024aab1d03bbc1804606290d
tree75bd7c48501fc2e220e89115a3ec08a9cb829a59
parent31adaf57198639cfd958dca2b38a98a742dcad42
[SCSI] add missing transport configure points for target and host

While trying to convert the SPI transport class to attribute groups, I
discovered that we don't actually have any transport configure points
for either the target or the host.  This patch adds these missing
transport class triggers.  The host one is simply done after the add,
the target one tries to be more clever and add it after devices may have
been placed on the target (so the device configure will have set up the
target parameters).

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