~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/scsi/scsi_devinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include <linux/moduleparam.h>
7
7
#include <linux/proc_fs.h>
8
8
#include <linux/seq_file.h>
 
9
#include <linux/slab.h>
9
10
 
10
11
#include <scsi/scsi_device.h>
11
12
#include <scsi/scsi_devinfo.h>
168
169
        {"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36},
169
170
        {"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36},
170
171
        {"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36},
171
 
        {"HITACHI", "DF400", "*", BLIST_SPARSELUN},
172
 
        {"HITACHI", "DF500", "*", BLIST_SPARSELUN},
173
 
        {"HITACHI", "DF600", "*", BLIST_SPARSELUN},
174
 
        {"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN},
175
 
        {"HITACHI", "OPEN-E", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN},
 
172
        {"HITACHI", "DF400", "*", BLIST_REPORTLUN2},
 
173
        {"HITACHI", "DF500", "*", BLIST_REPORTLUN2},
 
174
        {"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},
 
175
        {"HITACHI", "OPEN-", "*", BLIST_REPORTLUN2},
176
176
        {"HITACHI", "OP-C-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
177
177
        {"HITACHI", "3380-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
178
178
        {"HITACHI", "3390-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
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
458
 * @sdev:       &scsi_device to get flags for
459
459
 * @vendor:     vendor name
460
460
 * @model:      model name
685
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
690
void scsi_exit_devinfo(void)
691
691
{