'\" t .\" Title: scsi_get_device_flags .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SCSI_GET_DEVICE_FLAG" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" scsi_get_device_flags \- get device specific flags from the dynamic device list\&. .SH "SYNOPSIS" .HP \w'int\ scsi_get_device_flags('u .BI "int scsi_get_device_flags(struct\ scsi_device\ *\ " "sdev" ", const\ unsigned\ char\ *\ " "vendor" ", const\ unsigned\ char\ *\ " "model" ");" .SH "ARGUMENTS" .PP \fIsdev\fR .RS 4 scsi_device to get flags for .RE .PP \fIvendor\fR .RS 4 vendor name .RE .PP \fImodel\fR .RS 4 model name .RE .SH "DESCRIPTION" .PP Search the global scsi_dev_info_list (specified by list zero) for an entry matching \fIvendor\fR and \fImodel\fR, if found, return the matching flags value, else return the host or global default settings\&. Called during scan time\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br