twe_tables.h (67555) | twe_tables.h (91790) |
---|---|
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 67555 2000-10-25 06:59:06Z msmith $ | 27 * $FreeBSD: head/sys/dev/twe/twe_tables.h 91790 2002-03-07 09:55:41Z msmith $ |
28 */ 29 30/* 31 * Lookup table for code-to-text translations. 32 */ 33struct twe_code_lookup { 34 char *string; 35 u_int32_t code; --- 77 unchanged lines hidden (view full) --- 113 {NULL, 0}, 114 {"unknown type", 0} 115}; 116 117struct twe_code_lookup twe_table_aen[] = { 118 {"q queue empty", 0x00}, 119 {"q soft reset", 0x01}, 120 {"c degraded mirror", 0x02}, | 28 */ 29 30/* 31 * Lookup table for code-to-text translations. 32 */ 33struct twe_code_lookup { 34 char *string; 35 u_int32_t code; --- 77 unchanged lines hidden (view full) --- 113 {NULL, 0}, 114 {"unknown type", 0} 115}; 116 117struct twe_code_lookup twe_table_aen[] = { 118 {"q queue empty", 0x00}, 119 {"q soft reset", 0x01}, 120 {"c degraded mirror", 0x02}, |
121 {"p controller error", 0x03}, | 121 {"a controller error", 0x03}, |
122 {"c rebuild fail", 0x04}, 123 {"c rebuild done", 0x05}, 124 {"c incomplete unit", 0x06}, 125 {"c initialisation done", 0x07}, 126 {"c unclean shutdown detected", 0x08}, 127 {"c drive timeout", 0x09}, 128 {"c drive error", 0x0a}, 129 {"c rebuild started", 0x0b}, | 122 {"c rebuild fail", 0x04}, 123 {"c rebuild done", 0x05}, 124 {"c incomplete unit", 0x06}, 125 {"c initialisation done", 0x07}, 126 {"c unclean shutdown detected", 0x08}, 127 {"c drive timeout", 0x09}, 128 {"c drive error", 0x0a}, 129 {"c rebuild started", 0x0b}, |
130 {"p aen queue full", 0xff}, | 130 {"c init started", 0x0c}, 131 {"c logical unit deleted", 0x0d}, 132 {"p SMART threshold exceeded", 0x0f}, 133 {"p ATA UDMA downgrade", 0x21}, 134 {"p ATA UDMA upgrade", 0x22}, 135 {"p sector repair occurred", 0x23}, 136 {"a SBUF integrity check failure", 0x24}, 137 {"p lost cached write", 0x25}, 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 aen queue full", 0xff}, |
131 {NULL, 0}, 132 {"x unknown AEN", 0} 133}; 134 135struct twe_code_lookup twe_table_opcode[] = { 136 {"NOP", 0x00}, 137 {"INIT_CONNECTION", 0x01}, 138 {"READ", 0x02}, --- 23 unchanged lines hidden --- | 147 {NULL, 0}, 148 {"x unknown AEN", 0} 149}; 150 151struct twe_code_lookup twe_table_opcode[] = { 152 {"NOP", 0x00}, 153 {"INIT_CONNECTION", 0x01}, 154 {"READ", 0x02}, --- 23 unchanged lines hidden --- |