diff options
author | Dan McDonald <danmcd@nexenta.com> | 2012-01-27 00:27:36 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@nexenta.com> | 2012-01-27 00:27:36 -0500 |
commit | bc85e3968c23ab6602e7c5ccc41cba0656c98391 (patch) | |
tree | 676d4aff679695543c069d8e246e889b34e39aca /usr/src | |
parent | 1210f54884e43adf01df70c22de6715184c23aa7 (diff) | |
download | illumos-gate-bc85e3968c23ab6602e7c5ccc41cba0656c98391.tar.gz |
968 fct driver sets incorrect fc-ct revision
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Mathieu Simon <mathieu.simon@simweb.ch>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/comstar/port/fct/fct.c | 3 | ||||
-rw-r--r-- | usr/src/uts/common/sys/fct.h | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/uts/common/io/comstar/port/fct/fct.c b/usr/src/uts/common/io/comstar/port/fct/fct.c index 636ca74d32..a05d1964ec 100644 --- a/usr/src/uts/common/io/comstar/port/fct/fct.c +++ b/usr/src/uts/common/io/comstar/port/fct/fct.c @@ -20,6 +20,7 @@ */ /* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2012 Nexenta Systems, Inc. All rights reserved. */ #include <sys/conf.h> @@ -2739,7 +2740,7 @@ fct_create_solct(fct_local_port_t *port, fct_remote_port_t *query_rp, ASSERT(0); } - FCT_FILL_CTIU_PREAMPLE(p, ctop); + FCT_FILL_CTIU_PREAMBLE(p, ctop); return (cmd); } diff --git a/usr/src/uts/common/sys/fct.h b/usr/src/uts/common/sys/fct.h index 7b464f3e86..0b6774c6da 100644 --- a/usr/src/uts/common/sys/fct.h +++ b/usr/src/uts/common/sys/fct.h @@ -20,6 +20,7 @@ */ /* * 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 @@ -367,14 +368,14 @@ typedef struct fct_port_stat { #define FCT_IOF_FORCE_FCA_DONE 0x20000 /* - * Fill CTIU preample + * Fill CTIU preamble */ #ifdef lint -#define FCT_FILL_CTIU_PREAMPLE(x_payload, x_ctop) _NOTE(EMPTY) +#define FCT_FILL_CTIU_PREAMBLE(x_payload, x_ctop) _NOTE(EMPTY) #else -#define FCT_FILL_CTIU_PREAMPLE(x_payload, x_ctop) \ +#define FCT_FILL_CTIU_PREAMBLE(x_payload, x_ctop) \ do { \ - x_payload[0] = 0x02; \ + x_payload[0] = 0x01; \ x_payload[4] = 0xFC; \ x_payload[5] = 0x02; \ x_payload[8] = 0xFF & (x_ctop >> 8); \ |