diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-03 16:41:36 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 11:22:16 -0500 |
commit | 71610f55fa4db63dbf5385929a47c9fb2451f332 (patch) | |
tree | b816672eef25e1436111e6c78053612bd22fb016 /drivers/scsi/aic94xx | |
parent | b58602a4bac012b5f4fc12fe6b46ab237b610d5d (diff) |
[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()
[jejb: limit ioctl to returning 20 characters to avoid overrun
on long device names and add a few more conversions]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_tmf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_tmf.c b/drivers/scsi/aic94xx/aic94xx_tmf.c index d4640ef6d44f..78eb86fc6276 100644 --- a/drivers/scsi/aic94xx/aic94xx_tmf.c +++ b/drivers/scsi/aic94xx/aic94xx_tmf.c | |||
@@ -189,7 +189,7 @@ int asd_I_T_nexus_reset(struct domain_device *dev) | |||
189 | asd_clear_nexus_I_T(dev, NEXUS_PHASE_PRE); | 189 | asd_clear_nexus_I_T(dev, NEXUS_PHASE_PRE); |
190 | /* send a hard reset */ | 190 | /* send a hard reset */ |
191 | ASD_DPRINTK("sending %s reset to %s\n", | 191 | ASD_DPRINTK("sending %s reset to %s\n", |
192 | reset_type ? "hard" : "soft", phy->dev.bus_id); | 192 | reset_type ? "hard" : "soft", dev_name(&phy->dev)); |
193 | res = sas_phy_reset(phy, reset_type); | 193 | res = sas_phy_reset(phy, reset_type); |
194 | if (res == TMF_RESP_FUNC_COMPLETE) { | 194 | if (res == TMF_RESP_FUNC_COMPLETE) { |
195 | /* wait for the maximum settle time */ | 195 | /* wait for the maximum settle time */ |