diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2009-09-25 00:19:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 20:55:13 +0100 |
commit | 00fa43ef09c6bb357d58c14a99181cce09c315c6 (patch) | |
tree | 4431b7bd2d285c129ebadd95aeb34b2b81b683d7 /drivers/usb/storage/usb.h | |
parent | USB: Convert a dev_info to a dev_dbg (diff) | |
download | linux-00fa43ef09c6bb357d58c14a99181cce09c315c6.tar.xz linux-00fa43ef09c6bb357d58c14a99181cce09c315c6.zip |
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/usb.h')
-rw-r--r-- | drivers/usb/storage/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/usb.h b/drivers/usb/storage/usb.h index 2609efb2bd7e..69717134231b 100644 --- a/drivers/usb/storage/usb.h +++ b/drivers/usb/storage/usb.h @@ -132,6 +132,7 @@ struct us_data { /* SCSI interfaces */ struct scsi_cmnd *srb; /* current srb */ unsigned int tag; /* current dCBWTag */ + char scsi_name[32]; /* scsi_host name */ /* control and bulk communications data */ struct urb *current_urb; /* USB requests */ |