scsi_get_device_flags

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

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

sdev


scsi_device to get flags for

vendor

vendor name

model

model name

DESCRIPTION

Search the scsi_dev_info_list 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.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.