ZFCP HBA API Library  1
vlib_sg.h
1 /* SPDX-License-Identifier: EPL-1.0 */
2 /*
3  * Copyright IBM Corp. 2010
4  *
5  * Authors: Sven Schuetz <sven@de.ibm.com>
6  *
7  * File: vlib_sg.h
8  *
9  * Description:
10  * Function declarations for functions using the sg_utils library
11  *
12  */
13 
14 #ifndef _VLIB_SG_H_
15 #define _VLIB_SG_H_
16 
17 #define READCAP10LEN 8
18 #define READCAP16LEN 32
19 
20 HBA_STATUS sgutils_SendScsiInquiry(char *sg_dev, HBA_UINT8 EVPD,
21  HBA_UINT32 PageCode, void *pRspBuffer,
22  HBA_UINT32 *RspBufferSize);
23 HBA_STATUS sgutils_SendReportLUNs(char *sg_dev, char *pRspBuffer,
24  HBA_UINT32 *RspBufferSize);
25 HBA_STATUS sgutils_SendReadCap(char *sg_dev, char *pRspBuffer,
26  HBA_UINT32 *RspBufferSize);
27 
28 #endif /*_VLIB_SG_H_*/