diff options
author | Matthew Wilcox | 2009-09-24 16:19:11 -0600 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-12-11 11:55:13 -0800 |
commit | 00fa43ef09c6bb357d58c14a99181cce09c315c6 (patch) | |
tree | 4431b7bd2d285c129ebadd95aeb34b2b81b683d7 /drivers/usb/storage/scsiglue.c | |
parent | b1f0a34ca983a6defb0431aa18c9268eb9ffcc4a (diff) |
USB: usb-storage: Associate the name of the interface with the scsi host
Instead of reporting "SCSI emulation for USB Mass Storage devices",
report "usb-storage 1-4:1.0".
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/scsiglue.c')
-rw-r--r-- | drivers/usb/storage/scsiglue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index cfa26d56ce60..e5e6df39e737 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c @@ -73,7 +73,8 @@ static const char* host_info(struct Scsi_Host *host) { - return "SCSI emulation for USB Mass Storage devices"; + struct us_data *us = host_to_us(host); + return us->scsi_name; } static int slave_alloc (struct scsi_device *sdev) |