Query: scsi_dev_info_list_add
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_DEV_INFO_LIST_A(9) SCSI mid layer SCSI_DEV_INFO_LIST_A(9)NAMEscsi_dev_info_list_add - add one dev_info list entry.SYNOPSISint scsi_dev_info_list_add(int compatible, char * vendor, char * model, char * strflags, int flags);ARGUMENTScompatible if true, null terminate short strings. Otherwise space pad. vendor vendor string model model (product) string strflags integer string flags if strflags NULL, use this flag valueDESCRIPTIONCreate and add one dev_info entry for vendor, model, strflags or flag. If compatible, add to the tail of the list, do not space pad, and set devinfo->compatible. The scsi_static_device_list entries are added with compatible 1 and clfags NULL.RETURNS0 OK, -error on failure.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_DEV_INFO_LIST_A(9)