'\" t .\" Title: scsi_dev_info_list_add_str .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SCSI_DEV_INFO_LIST_A" "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_dev_info_list_add_str \- parse dev_list and add to the scsi_dev_info_list\&. .SH "SYNOPSIS" .HP \w'int\ scsi_dev_info_list_add_str('u .BI "int scsi_dev_info_list_add_str(char\ *\ " "dev_list" ");" .SH "ARGUMENTS" .PP \fIdev_list\fR .RS 4 string of device flags to add .RE .SH "DESCRIPTION" .PP Parse dev_list, and add entries to the scsi_dev_info_list\&. dev_list is of the form \(lqvendor:product:flag,vendor:product:flag\(rq\&. dev_list is modified via strsep\&. Can be called for command line addition, for proc or mabye a sysfs interface\&. .SH "RETURN" .PP 0 if OK, \-error on failure\&. .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