suse man page for scsi_get_vpd_page

Query: scsi_get_vpd_page

OS: suse

Section: 9

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

SCSI_GET_VPD_PAGE(9)						  SCSI mid layer					      SCSI_GET_VPD_PAGE(9)

NAME
scsi_get_vpd_page - Get Vital Product Data from a SCSI device
SYNOPSIS
int scsi_get_vpd_page(struct scsi_device * sdev, u8 page, unsigned char * buf, int buf_len);
ARGUMENTS
sdev The device to ask page Which Vital Product Data to return buf where to store the VPD buf_len number of bytes in the VPD buffer area
DESCRIPTION
SCSI devices may optionally supply Vital Product Data. Each 'page' of VPD is defined in the appropriate SCSI document (eg SPC, SBC). If the device supports this VPD page, this routine returns a pointer to a buffer containing the data from that page. The caller is responsible for calling kfree on this pointer when it is no longer needed. If we cannot retrieve the VPD page this routine returns NULL.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSI_GET_VPD_PAGE(9)
Related Man Pages
sg_vpd(8) - centos
fc_remote_port_delete(9) - centos
srp_reconnect_rport(9) - centos
sg_rmsn(8) - suse
sg_vpd(8) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Getting command output to putty window title.
SOCKS proxy &amp; PAM configuration exposure
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB