SCSI_DEV_INFO_LIST_F(9)

NAME
scsi_dev_info_list_find - 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.

RETURN

pointer to matching entry, or ERR_PTR on failure.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>
    Author.

Rob Landley <rob@landley.net>
    Author.

COPYRIGHT