scsi_report_opcode man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

SCSI_REPORT_OPCODE(9)		SCSI mid layer		 SCSI_REPORT_OPCODE(9)

NAME
       scsi_report_opcode - Find out if a given command opcode is supported

SYNOPSIS
       int scsi_report_opcode(struct scsi_device * sdev,
			      unsigned char * buffer, unsigned int len,
			      unsigned char opcode);

ARGUMENTS
       sdev
	   scsi device to query

       buffer
	   scratch buffer (must be at least 20 bytes long)

       len
	   length of buffer

       opcode
	   opcode for command to look up

DESCRIPTION
       Uses the REPORT SUPPORTED OPERATION CODES to look up the given opcode.
       Returns -EINVAL if RSOC fails, 0 if the command opcode is unsupported
       and 1 if the device claims to support the command.

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

       Rob Landley <rob@landley.net>
	   Author.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		 SCSI_REPORT_OPCODE(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net