MODULE_PARM_DESC(panic_op,"Sets if the IPMI driver will attempt to store panic information in the event log in the event of a panic. Set to 'none' for no, 'event' for a single event, or 'string' for a generic event and the panic string in IPMI OEM events.");
MODULE_PARM_DESC(panic_op,"Sets if the IPMI driver will attempt to store panic information in the event log in the event of a panic. Set to 'none' for no, 'event' for a single event, or 'string' for a generic event and the panic string in IPMI OEM events.");
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_IPMI_PROC_INTERFACE
staticstructproc_dir_entry*proc_ipmi_root;
staticstructproc_dir_entry*proc_ipmi_root;
#endif /* CONFIG_PROC_FS */
#endif /* CONFIG_IPMI_PROC_INTERFACE */
/* Remain in auto-maintenance mode for this amount of time (in ms). */
/* Remain in auto-maintenance mode for this amount of time (in ms). */
#define IPMI_MAINTENANCE_MODE_TIMEOUT 30000
#define IPMI_MAINTENANCE_MODE_TIMEOUT 30000
...
@@ -267,7 +267,7 @@ struct ipmi_my_addrinfo {
...
@@ -267,7 +267,7 @@ struct ipmi_my_addrinfo {
unsignedcharlun;
unsignedcharlun;
};
};
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_IPMI_PROC_INTERFACE
structipmi_proc_entry{
structipmi_proc_entry{
char*name;
char*name;
structipmi_proc_entry*next;
structipmi_proc_entry*next;
...
@@ -449,10 +449,13 @@ struct ipmi_smi {
...
@@ -449,10 +449,13 @@ struct ipmi_smi {
conststructipmi_smi_handlers*handlers;
conststructipmi_smi_handlers*handlers;
void*send_info;
void*send_info;
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_IPMI_PROC_INTERFACE
/* A list of proc entries for this interface. */
/* A list of proc entries for this interface. */
structmutexproc_entry_lock;
structmutexproc_entry_lock;
structipmi_proc_entry*proc_entries;
structipmi_proc_entry*proc_entries;
structproc_dir_entry*proc_dir;
charproc_dir_name[10];
#endif
#endif
/* Driver-model device for the system interface. */
/* Driver-model device for the system interface. */