Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
r_heartbeat.c File Reference
#include <linux/sched.h>
#include "ibmasm.h"
#include "dot_command.h"

Go to the source code of this file.

Functions

void ibmasm_init_reverse_heartbeat (struct service_processor *sp, struct reverse_heartbeat *rhb)
 
int ibmasm_start_reverse_heartbeat (struct service_processor *sp, struct reverse_heartbeat *rhb)
 
void ibmasm_stop_reverse_heartbeat (struct reverse_heartbeat *rhb)
 

Function Documentation

void ibmasm_init_reverse_heartbeat ( struct service_processor sp,
struct reverse_heartbeat rhb 
)

Definition at line 49 of file r_heartbeat.c.

int ibmasm_start_reverse_heartbeat ( struct service_processor sp,
struct reverse_heartbeat rhb 
)

start_reverse_heartbeat Loop forever, sending a reverse heartbeat dot command to the service processor, then sleeping. The loop comes to an end if the service processor fails to respond 3 times or we were interrupted.

Definition at line 61 of file r_heartbeat.c.

void ibmasm_stop_reverse_heartbeat ( struct reverse_heartbeat rhb)

Definition at line 95 of file r_heartbeat.c.

Variable Documentation

unsigned char command[3]

Definition at line 37 of file r_heartbeat.c.

Definition at line 36 of file r_heartbeat.c.