Scroll to navigation

SCSI_DEV_INFO_LIST_F(9) SCSI mid layer 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

const char * vendor

vendor string

const char * model

model (product) string

int 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

June 2017 Kernel Hackers Manual 4.11