-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsahpibladecenter.i
37 lines (31 loc) · 1.45 KB
/
sahpibladecenter.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -*- linux-c -*-
*
* (C) Copyright IBM Corp. 2006
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This
* file and program are licensed under a BSD style license. See
* the Copying file included with the OpenHPI distribution for
* full licensing terms.
*
* Author(s):
* Steve Sherman <[email protected]>
*/
#ifndef __SAHPIBLADECENTER_H
#define __SAHPIBLADECENTER_H
/* Slot Entity Path Numbers */
#define BLADECENTER_SWITCH_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x10
#define BLADECENTER_POWER_SUPPLY_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x11
#define BLADECENTER_PERIPHERAL_BAY_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x12
#define BLADECENTER_SYS_MGMNT_MODULE_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x13
#define BLADECENTER_BLOWER_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x14
#define BLADECENTER_ALARM_PANEL_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x15
#define BLADECENTER_MUX_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x16
#define BLADECENTER_CLOCK_SLOT SAHPI_ENT_CHASSIS_SPECIFIC + 0x17
/* Slot Sensor Numbers */
const SaHpiSensorNumT BLADECENTER_SENSOR_NUM_SLOT_STATE = 0x1010;
const SaHpiSensorNumT BLADECENTER_SENSOR_NUM_MAX_POWER = 0x1012;
const SaHpiSensorNumT BLADECENTER_SENSOR_NUM_ASSIGNED_POWER = 0x1011;
const SaHpiSensorNumT BLADECENTER_SENSOR_NUM_MIN_POWER = 0x1013;
#endif