2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 2N/A * SES-2 Enclosure Descriptor Header (Table 8, 6.1.2.2) 2N/A * SES-2 Enclosure Descriptor (Table 8, 6.1.2.2) 2N/A * SES-2 Type Descriptor Header (Table 9, 6.1.2.3) 2N/A * SES-2 Configuration diagnostic page (Table 7, 6.1.2.1) 2N/A * Logically we should be able to use 4 or 8 bytes for a minimum allocation; 2N/A * however, it seems at least some devices will fail the request in that case. 2N/A * SES-2 Element Control and Overall Control fields (Table 59, 7.2.2) 2N/A * SES-2 Element Status and Overall Status fields (Table 60, 7.2.3) 2N/A * SES-2 Device element for the Enclosure Control diagnostic page. 2N/A * SES-2 Device element for the Enclosure Status diagnostic page 2N/A * (Table 64, 7.3.2). 2N/A * SES-2 Array Device element for the Enclosure Status diagnostic page 2N/A * SES-2 Power Supply element for control-type diagnostic pages (T68). 2N/A * SES-2 Power Supply element for status-type diagnostic pages (Table 69, 7.3.4) 2N/A * SES-2 Cooling element for control-type diagnostic pages (Table 70). 2N/A * SES-2 Cooling element for status-type diagnostic pages (Table 71, 7.3.5) 2N/A * The fan_speed fields are multiplied by this factor to obtain the actual 2N/A * SES-2 Temperature Sensor element for control-type diagnostic pages (T74). 2N/A * SES-2 Temperature Sensor element for status-type diagnostic pages 2N/A * SES-2 Door Lock element for control-type diagnostic pages (T76). 2N/A * SES-2 Door Lock element for status-type diagnostic pages (Table 77, 7.3.7) 2N/A * SES-2 Audible Alarm element for control-type diagnostic pages (T78). 2N/A * SES-2 Audible Alarm element for status-type diagnostic pages 2N/A * SES-2 Enclosure Services Controller Electronics element for control-type 2N/A * diagnostic pages (Table 80, 7.3.9). 2N/A * SES-2 Enclosure Services Controller Electronics element for status-type 2N/A * diagnostic pages (Table 81, 7.3.9), 2N/A * SES-2 SCC Controller Electronics element for control-type diagnostic pages 2N/A * (Table 82, 7.3.10). 2N/A * SES-2 SCC Controller Electronics element for status-type diagnostic pages 2N/A * (Table 83, 7.3.10) 2N/A * SES-2 Nonvolatile Cache element for control-type diagnostic pages 2N/A * (Table 84, 7.3.11). 2N/A * SES-2 Nonvolatile Cache element for status-type diagnostic pages (Table 85, 2N/A * Ibid., Table 86 defines the size multipliers as follows: 2N/A * We will calculate the actual size in bytes by doing 2N/A * nvcache_size << (SES2_NVCACHE_SHIFT * multiplier) 2N/A * SES-2 Invalid Operation Reason element for status-type diagnostic pages 2N/A * (Table 88, 7.3.12) 2N/A * Ibid., Invop Type values (Table 89) 2N/A * Ibid., Invalid Operation Reason element for status-type diagnostic pages 2N/A * with Invop Type of 00b (Table 90) 2N/A * Ibid., Invalid Operation Reason element for status-type diagnostic pages 2N/A * with Invop Type of 01b (Table 91) 2N/A * SES-2 Uninterruptible Power Supply element for control-type diagnostic 2N/A * pages (Table 93, 7.3.13) 2N/A * SES-2 Uninterruptible Power Supply element for status-type diagnostic pages 2N/A * (Table 94, 7.3.13) 2N/A * SES-2 Display element for control-type diagnostic pages (Table 95, 7.3.14) 2N/A * SES-2 Display element for status-type diagnostic pages (Table 97, 7.3.14) 2N/A * SES-2 Key Pad Entry element for control-type diagnostic pages (Table 99). 2N/A * SES-2 Key Pad Entry element for status-type diagnostic pages (Table 100, 2N/A * SES-2 Enclosure element for control-type diagnostic pages (Table 101). 2N/A * SES-2 Enclosure element for status-type diagnostic pages (Table 101, 7.3.16) 2N/A * (Table 104, 7.3.17) 2N/A * SES-2 Language element for control-type diagnostic pages (T105) 2N/A * SES-2 Language element for status-type diagnostic pages (Table 105, 7.3.18) 2N/A * SES-2 Communication Port element for control-type diagnostic pages 2N/A * (Table 107, 7.3.19). 2N/A * SES-2 Communication Port element for status-type diagnostic pages 2N/A * (Table 108, 7.3.19) 2N/A * SES-2 Voltage Sensor element for control-type diagnostic pages 2N/A * (Table 109, 7.3.20). 2N/A * SES-2 Voltage Sensor element for status-type diagnostic pages 2N/A * (Table 110, 7.3.20). 2N/A * Ibid. defines the svsi_voltage field as a 16-bit signed 2's complement 2N/A * integer, represented in units of 10 mV. AC voltages are RMS. 2N/A * SES-2 Current Sensor element for control-type diagnostic pages 2N/A * (Table 111, 7.3.21). 2N/A * SES-2 Current Sensor element for status-type diagnostic pages 2N/A * (Table 112, 7.3.21) 2N/A * Ibid. defines the scsi_voltage field in the same way as for voltage above. 2N/A * Units here are 10 mA. AC amperages are RMS. 2N/A * SES-2 SCSI Target Port element for control-type diagnostic pages 2N/A * (Table 113, 7.3.22), SCSI Initiator Port element for control-type 2N/A * diagnostic pages (Table 115, 7.3.23). 2N/A * SES-2 SCSI Target Port element for status-type diagnostic pages (Table 114, 2N/A * 7.3.22), SCSI Initiator Port element for status-type diagnostic pages 2N/A * (Table 116, 7.3.23) 2N/A * SES-2 Simple Subenclosure element for control-type diagnostic pages 2N/A * (Table 117, 7.3.24). 2N/A * SES-2 Simple Subenclosure element for status-type diagnostic pages 2N/A * (Table 117, 7.3.24) 2N/A * SES-2 SAS Expander element for control-type diagnostic pages 2N/A * (Table 119, 7.3.25). 2N/A * SES-2 SAS Expander element for status-type diagnostic pages (Table 120, 2N/A * SES-2 SAS Connector element for control-type diagnostic pages (Table 121, 2N/A * SES-2 SAS Connector element for status-type diagnostic pages (Table 122, 2N/A * SES-2 Enclosure Control diagnostic page (Table 10, 6.1.3) 2N/A * SES-2 Enclosure Status (Table 11, 6.1.4) 2N/A * SES-2 Help Text diagnostic page (Table 13, 6.1.5). 2N/A * SES-2 String Out diagnostic page (Table 14, 6.1.6). 2N/A * SES-2 String In diagnostic page (Table 15, 6.1.7). 2N/A * SES-2 Threshold fields - (Table 17, 6.1.8), (Table 19, 6.1.9). 2N/A * SES-2 Threshold Out diagnostic page (Table 16, 6.1.8). 2N/A * SES-2 Threshold In diagnostic page (Table 18, 6.1.9). 2N/A * SES-2 Element Descriptor diagnostic page (Table 20, 6.1.10). 2N/A * SES-2 Short Enclosure Status diagnostic page (Table 23, 6.1.11). 2N/A * SES-2 Enclosure Busy diagnostic page (Table 24, 6.1.12). 2N/A * SES-2 Additional Element Status diagnostic page (Table 25, 6.1.13). 2N/A * SES-2 Additional Element Status descriptor (EIP == 1) (Table 26, 6.1.13). 2N/A * SES-2 Additional Element Status descriptor (EIP == 0) (Table 27, 6.1.13). 2N/A * SES-2 Port descriptor (Table 30, 6.1.13.2). 2N/A * SES-2 Additional Element Status descriptor for FC (Table 28, 6.1.13.2). 2N/A * SES-2 Additional Element Status descriptor for FC (EIP == 0) 2N/A * (Table 29, 6.1.13.2). 2N/A * SES-2 Additional Element Status descriptor for SAS (Table 31, 6.1.13.3). 2N/A * SES-2 Additional Element Status for SAS Expander elements 2N/A * (Table 36, 6.1.13.3.3). 2N/A * Enclosure Services Controller Electronics elements (Table 38, 6.1.13.3.4). 2N/A * SES-2 Subenclosure Help Text diagnostic page (Table 40, 6.1.14). 2N/A * SES-2 Subenclosure help text format (Table 41, 6.1.14). 2N/A * SES-2 Subenclosure String Out diagnostic page (Table 42, 6.1.15). 2N/A * SES-2 Subenclosure String In diagnostic page (Table 43, 6.1.16). 2N/A * SES-2 Subenclosure string in data format (Table 44, 6.1.16). 2N/A * SES-2 Supported SES Diagnostic Pages diagnostic page (Table 45, 6.1.17). 2N/A * SES-2 Download Microcode Control diagnostic page (Table 46, 6.1.18). 2N/A * SES-2 Download Microcode Status diagnostic page (Table 48-49, 6.1.19). 2N/A * SES-2 Subenclosure Nickname Control diagnostic page (Table 51, 6.1.20). 2N/A * SES-2 Subenclosure Nickname Status diagnostic page (Table 52-53, 6.1.21). 2N/A * SES-2 Mode page code for enclosure services devices (Table 57, 6.3.2). 2N/A#
endif /* _PLUGIN_SES_IMPL_H */