suse man page for scsi_mode_select

Query: scsi_mode_select

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI_MODE_SELECT(9)						  SCSI mid layer					       SCSI_MODE_SELECT(9)

NAME
scsi_mode_select - issue a mode select
SYNOPSIS
int scsi_mode_select(struct scsi_device * sdev, int pf, int sp, int modepage, unsigned char * buffer, int len, int timeout, int retries, struct scsi_mode_data * data, struct scsi_sense_hdr * sshdr);
ARGUMENTS
sdev SCSI device to be queried pf Page format bit (1 == standard, 0 == vendor specific) sp Save page bit (0 == don't save, 1 == save) modepage mode page being requested buffer request buffer (may not be smaller than eight bytes) len length of request buffer. timeout command timeout retries number of retries before failing data returns a structure abstracting the mode header data sshdr place to put sense data (or NULL if no sense to be collected). must be SCSI_SENSE_BUFFERSIZE big.
DESCRIPTION
Returns zero if successful; negative error number or scsi status on error
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSI_MODE_SELECT(9)
Related Man Pages
fc_remote_port_add(9) - suse
scsi_arq_status(9s) - centos
scsi_arq_status(9s) - php
scsi_arq_status(9s) - minix
scsi_arq_status(9s) - v7
Similar Topics in the Unix Linux Community
Unable to install Sol10 on V245, exiting to shell.
Different disk size on different controllers
cannot label 'c0t5000CCA0251EF65Cd0': EFI labeled devices are not supported on root pools
Missing ASM Disks in Solaris 11.3 LDOM