fctio.h (a7949318) fctio.h (a3170057)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 * Copyright 2020 RackTop Systems, Inc.
24 */
25#ifndef _FCTIO_H
26#define _FCTIO_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31

--- 132 unchanged lines hidden (view full) ---

164#define FC_HBA_PORTSPEED_UNKNOWN 0 /* Unknown - transceiver */
165 /* incable of reporting */
166#define FC_HBA_PORTSPEED_1GBIT 1 /* 1 GBit/sec */
167#define FC_HBA_PORTSPEED_2GBIT 2 /* 2 GBit/sec */
168#define FC_HBA_PORTSPEED_10GBIT 4 /* 10 GBit/sec */
169#define FC_HBA_PORTSPEED_4GBIT 8 /* 4 GBit/sec */
170#define FC_HBA_PORTSPEED_8GBIT 16 /* 8 GBit/sec */
171#define FC_HBA_PORTSPEED_16GBIT 32 /* 16 GBit/sec */
25 */
26#ifndef _FCTIO_H
27#define _FCTIO_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32

--- 132 unchanged lines hidden (view full) ---

165#define FC_HBA_PORTSPEED_UNKNOWN 0 /* Unknown - transceiver */
166 /* incable of reporting */
167#define FC_HBA_PORTSPEED_1GBIT 1 /* 1 GBit/sec */
168#define FC_HBA_PORTSPEED_2GBIT 2 /* 2 GBit/sec */
169#define FC_HBA_PORTSPEED_10GBIT 4 /* 10 GBit/sec */
170#define FC_HBA_PORTSPEED_4GBIT 8 /* 4 GBit/sec */
171#define FC_HBA_PORTSPEED_8GBIT 16 /* 8 GBit/sec */
172#define FC_HBA_PORTSPEED_16GBIT 32 /* 16 GBit/sec */
173#define FC_HBA_PORTSPEED_32GBIT 64 /* 32 GBit/sec */
172#define FC_HBA_PORTSPEED_NOT_NEGOTIATED (1<<15) /* Speed not established */
173
174#define FCTIO_SUCCESS 0
175#define FCTIO_FAILURE 1
176#define FCTIO_BADWWN 2
177#define FCTIO_MOREDATA 3
178#define FCTIO_OUTOFBOUNDS 4
179

--- 15 unchanged lines hidden ---
174#define FC_HBA_PORTSPEED_NOT_NEGOTIATED (1<<15) /* Speed not established */
175
176#define FCTIO_SUCCESS 0
177#define FCTIO_FAILURE 1
178#define FCTIO_BADWWN 2
179#define FCTIO_MOREDATA 3
180#define FCTIO_OUTOFBOUNDS 4
181

--- 15 unchanged lines hidden ---