Print this page
968 fct driver sets incorrect fc-ct revision
*** 18,27 ****
--- 18,28 ----
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _FCT_H
#define _FCT_H
/*
*** 365,382 ****
*/
#define FCT_IOF_FCA_DONE 0x10000
#define FCT_IOF_FORCE_FCA_DONE 0x20000
/*
! * Fill CTIU preample
*/
#ifdef lint
! #define FCT_FILL_CTIU_PREAMPLE(x_payload, x_ctop) _NOTE(EMPTY)
#else
! #define FCT_FILL_CTIU_PREAMPLE(x_payload, x_ctop) \
do { \
! x_payload[0] = 0x02; \
x_payload[4] = 0xFC; \
x_payload[5] = 0x02; \
x_payload[8] = 0xFF & (x_ctop >> 8); \
x_payload[9] = 0xFF & (x_ctop); \
} while (0)
--- 366,383 ----
*/
#define FCT_IOF_FCA_DONE 0x10000
#define FCT_IOF_FORCE_FCA_DONE 0x20000
/*
! * Fill CTIU preamble
*/
#ifdef lint
! #define FCT_FILL_CTIU_PREAMBLE(x_payload, x_ctop) _NOTE(EMPTY)
#else
! #define FCT_FILL_CTIU_PREAMBLE(x_payload, x_ctop) \
do { \
! x_payload[0] = 0x01; \
x_payload[4] = 0xFC; \
x_payload[5] = 0x02; \
x_payload[8] = 0xFF & (x_ctop >> 8); \
x_payload[9] = 0xFF & (x_ctop); \
} while (0)