ZFCP HBA API Library
1
vlib_sg_io.h
1
/*
2
* Copyright IBM Corp. 2010
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Common Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.ibm.com/developerworks/library/os-cpl.html
7
*
8
* Authors: Sven Schuetz <sven@de.ibm.com>
9
* contains code from vlib_aux.h
10
* by Andreas Herrmann and Stefan Voelkel
11
*
12
* File: vlib_sg_io.h
13
*
14
* Description:
15
* Function declarations, defines, inlines for calls that use sg_io
16
*
17
*/
18
19
#ifndef VLIB_SG_IO_H_
20
#define VLIB_SG_IO_H_
21
22
#define CT_GIDPN_REQ_LENGTH 24
23
#define CT_GIDPN_RESPONSE_LENGTH 20
24
25
26
HBA_STATUS sg_io_sendRNID(
struct
vlib_adapter
*, wwn_t,
void
*,
int
);
27
HBA_STATUS sg_io_performCTPassThru(
struct
vlib_adapter
*,
void
*,
int
,
void
*,
28
int
);
29
30
#endif
/*VLIB_SG_IO_H_*/
vlib.h
Central header file for the library.
vlib_adapter::ident
struct vlib_adapter_ident ident
Adapter identification.
Definition:
vlib.h:476
vlib_adapter_ident::host
unsigned short host
SCSI host id of this adapter.
Definition:
vlib.h:461
vlib_adapter
Represenation of an adapter in the library.
Definition:
vlib.h:474
Generated by
1.8.18