Main Page | Class List | Directories | File List | Class Members | File Members

ipmi_msgdefs.h

Go to the documentation of this file.
00001 /*
00002  * ipmi_msgdefs.h
00003  *
00004  * MontaVista IPMI message definitions
00005  *
00006  * Author: MontaVista Software, Inc.
00007  *         Corey Minyard <minyard@mvista.com>
00008  *         source@mvista.com
00009  *
00010  * Copyright 2002,2003 MontaVista Software Inc.
00011  *
00012  *  This program is free software; you can redistribute it and/or modify it
00013  *  under the terms of the GNU General Public License as published by the
00014  *  Free Software Foundation; either version 2 of the License, or (at your
00015  *  option) any later version.
00016  *
00017  *
00018  *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
00019  *  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00020  *  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00021  *  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
00022  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00023  *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00024  *  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00025  *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
00026  *  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
00027  *  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00028  *
00029  *  You should have received a copy of the GNU General Public License along
00030  *  with this program; if not, write to the Free Software Foundation, Inc.,
00031  *  675 Mass Ave, Cambridge, MA 02139, USA.
00032  */
00033 
00034 #ifndef __LINUX_IPMI_MSGDEFS_H
00035 #define __LINUX_IPMI_MSGDEFS_H
00036 
00037 /* Various definitions for IPMI messages used by almost everything in
00038    the IPMI stack. */
00039 
00040 #define IPMI_NETFN_APP_REQUEST  0x06
00041 #define IPMI_NETFN_APP_RESPONSE 0x07
00042 
00043 #define IPMI_BMC_SLAVE_ADDR     0x20
00044 
00045 #define IPMI_GET_DEVICE_ID_CMD          0x01
00046 
00047 #define IPMI_CLEAR_MSG_FLAGS_CMD        0x30
00048 #define IPMI_GET_MSG_FLAGS_CMD          0x31
00049 #define IPMI_SEND_MSG_CMD               0x34
00050 #define IPMI_GET_MSG_CMD                0x33
00051 
00052 #define IPMI_SET_BMC_GLOBAL_ENABLES_CMD 0x2e
00053 #define IPMI_GET_BMC_GLOBAL_ENABLES_CMD 0x2f
00054 #define IPMI_READ_EVENT_MSG_BUFFER_CMD  0x35
00055 
00056 #define IPMI_MAX_MSG_LENGTH     80
00057 
00058 #endif /* __LINUX_IPMI_MSGDEFS_H */

© sourcejam.com 2005-2008