scsi_dev_info_list_find(9) find a matching dev_info list entry.

SYNOPSIS

struct scsi_dev_info_list * scsi_dev_info_list_find(const char * vendor, const char * model, int key);

ARGUMENTS

vendor

vendor string

model

model (product) string

key

specify list to use

DESCRIPTION

Finds the first dev_info entry matching vendor, model in list specified by key.

RETURNS

pointer to matching entry, or ERR_PTR on failure.

AUTHORS

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

COPYRIGHT