Name

scsi_get_device_flags — get device specific flags from the dynamic device list.

Synopsis

int scsi_get_device_flags (struct scsi_device * sdev,
 const unsigned char * vendor,
 const unsigned char * model);
 

Arguments

struct scsi_device * sdev

&scsi_device to get flags for

const unsigned char * vendor

vendor name

const unsigned char * model

model name

Description

Search the global scsi_dev_info_list (specified by list zero) for an entry matching vendor and model, if found, return the matching flags value, else return the host or global default settings. Called during scan time.