diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/scsi/scsi_devinfo.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
-rw-r--r-- | drivers/scsi/scsi_devinfo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index 93c2622cb969..43fad4c09beb 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/moduleparam.h> | 6 | #include <linux/moduleparam.h> |
7 | #include <linux/proc_fs.h> | 7 | #include <linux/proc_fs.h> |
8 | #include <linux/seq_file.h> | 8 | #include <linux/seq_file.h> |
9 | #include <linux/slab.h> | ||
9 | 10 | ||
10 | #include <scsi/scsi_device.h> | 11 | #include <scsi/scsi_device.h> |
11 | #include <scsi/scsi_devinfo.h> | 12 | #include <scsi/scsi_devinfo.h> |
@@ -168,11 +169,10 @@ static struct { | |||
168 | {"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36}, | 169 | {"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36}, |
169 | {"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36}, | 170 | {"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36}, |
170 | {"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36}, | 171 | {"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36}, |
171 | {"HITACHI", "DF400", "*", BLIST_SPARSELUN}, | 172 | {"HITACHI", "DF400", "*", BLIST_REPORTLUN2}, |
172 | {"HITACHI", "DF500", "*", BLIST_SPARSELUN}, | 173 | {"HITACHI", "DF500", "*", BLIST_REPORTLUN2}, |
173 | {"HITACHI", "DF600", "*", BLIST_SPARSELUN}, | 174 | {"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2}, |
174 | {"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN}, | 175 | {"HITACHI", "OPEN-", "*", BLIST_REPORTLUN2}, |
175 | {"HITACHI", "OPEN-E", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN}, | ||
176 | {"HITACHI", "OP-C-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, | 176 | {"HITACHI", "OP-C-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, |
177 | {"HITACHI", "3380-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, | 177 | {"HITACHI", "3380-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, |
178 | {"HITACHI", "3390-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, | 178 | {"HITACHI", "3390-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, |
@@ -454,7 +454,7 @@ int scsi_get_device_flags(struct scsi_device *sdev, | |||
454 | 454 | ||
455 | 455 | ||
456 | /** | 456 | /** |
457 | * get_device_flags_keyed - get device specific flags from the dynamic device list. | 457 | * scsi_get_device_flags_keyed - get device specific flags from the dynamic device list |
458 | * @sdev: &scsi_device to get flags for | 458 | * @sdev: &scsi_device to get flags for |
459 | * @vendor: vendor name | 459 | * @vendor: vendor name |
460 | * @model: model name | 460 | * @model: model name |
@@ -685,7 +685,7 @@ MODULE_PARM_DESC(default_dev_flags, | |||
685 | "scsi default device flag integer value"); | 685 | "scsi default device flag integer value"); |
686 | 686 | ||
687 | /** | 687 | /** |
688 | * scsi_dev_info_list_delete - called from scsi.c:exit_scsi to remove the scsi_dev_info_list. | 688 | * scsi_exit_devinfo - remove /proc/scsi/device_info & the scsi_dev_info_list |
689 | **/ | 689 | **/ |
690 | void scsi_exit_devinfo(void) | 690 | void scsi_exit_devinfo(void) |
691 | { | 691 | { |