1SCSI_DEV_INFO_LIST_A(9)         SCSI mid layer         SCSI_DEV_INFO_LIST_A(9)
2
3
4

NAME

6       scsi_dev_info_list_add - add one dev_info list entry.
7

SYNOPSIS

9       int scsi_dev_info_list_add(int compatible, char * vendor, char * model,
10                                  char * strflags, int flags);
11

ARGUMENTS

13       compatible
14           if true, null terminate short strings. Otherwise space pad.
15
16       vendor
17           vendor string
18
19       model
20           model (product) string
21
22       strflags
23           integer string
24
25       flags
26           if strflags NULL, use this flag value
27

DESCRIPTION

29       Create and add one dev_info entry for vendor, model, strflags or flag.
30       If compatible, add to the tail of the list, do not space pad, and set
31       devinfo->compatible. The scsi_static_device_list entries are added with
32       compatible 1 and clfags NULL.
33

RETURNS

35       0 OK, -error on failure.
36

AUTHORS

38       James Bottomley <James.Bottomley@hansenpartnership.com>
39           Author.
40
41       Rob Landley <rob@landley.net>
42           Author.
43
45Kernel Hackers Manual 2.6.         June 2019           SCSI_DEV_INFO_LIST_A(9)
Impressum