Deleted Added
full compact
twe_tables.h (91790) twe_tables.h (118508)
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/twe/twe_tables.h 91790 2002-03-07 09:55:41Z msmith $
27 * $FreeBSD: head/sys/dev/twe/twe_tables.h 118508 2003-08-05 19:55:21Z ps $
28 */
29
30/*
31 * Lookup table for code-to-text translations.
32 */
33struct twe_code_lookup {
34 char *string;
35 u_int32_t code;

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

138 {"p drive ECC error detected", 0x26},
139 {"p DCB checksum error", 0x27},
140 {"p DCB unsupported version", 0x28},
141 {"c verify started", 0x29},
142 {"c verify failed", 0x2a},
143 {"c verify complete", 0x2b},
144 {"p overwrote bad sector during rebuild", 0x2c},
145 {"p encountered bad sector during rebuild", 0x2d},
28 */
29
30/*
31 * Lookup table for code-to-text translations.
32 */
33struct twe_code_lookup {
34 char *string;
35 u_int32_t code;

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

138 {"p drive ECC error detected", 0x26},
139 {"p DCB checksum error", 0x27},
140 {"p DCB unsupported version", 0x28},
141 {"c verify started", 0x29},
142 {"c verify failed", 0x2a},
143 {"c verify complete", 0x2b},
144 {"p overwrote bad sector during rebuild", 0x2c},
145 {"p encountered bad sector during rebuild", 0x2d},
146 {"a replacement drive too small", 0x2e},
147 {"c array not previously initialized", 0x2f},
148 {"p drive not supported", 0x30},
146 {"a aen queue full", 0xff},
147 {NULL, 0},
148 {"x unknown AEN", 0}
149};
150
151struct twe_code_lookup twe_table_opcode[] = {
152 {"NOP", 0x00},
153 {"INIT_CONNECTION", 0x01},

--- 24 unchanged lines hidden ---
149 {"a aen queue full", 0xff},
150 {NULL, 0},
151 {"x unknown AEN", 0}
152};
153
154struct twe_code_lookup twe_table_opcode[] = {
155 {"NOP", 0x00},
156 {"INIT_CONNECTION", 0x01},

--- 24 unchanged lines hidden ---