diff options
Diffstat (limited to 'drivers/misc/ibmasm/dot_command.c')
| -rw-r--r-- | drivers/misc/ibmasm/dot_command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/ibmasm/dot_command.c b/drivers/misc/ibmasm/dot_command.c index 13c52f866e2e..3dd2dfb8da17 100644 --- a/drivers/misc/ibmasm/dot_command.c +++ b/drivers/misc/ibmasm/dot_command.c | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | * | 17 | * |
| 18 | * Copyright (C) IBM Corporation, 2004 | 18 | * Copyright (C) IBM Corporation, 2004 |
| 19 | * | 19 | * |
| 20 | * Author: Max Asböck <amax@us.ibm.com> | 20 | * Author: Max Asböck <amax@us.ibm.com> |
| 21 | * | 21 | * |
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| @@ -44,11 +44,11 @@ void ibmasm_receive_message(struct service_processor *sp, void *message, int mes | |||
| 44 | size = message_size; | 44 | size = message_size; |
| 45 | 45 | ||
| 46 | switch (header->type) { | 46 | switch (header->type) { |
| 47 | case sp_event: | 47 | case sp_event: |
| 48 | ibmasm_receive_event(sp, message, size); | 48 | ibmasm_receive_event(sp, message, size); |
| 49 | break; | 49 | break; |
| 50 | case sp_command_response: | 50 | case sp_command_response: |
| 51 | ibmasm_receive_command_response(sp, message, size); | 51 | ibmasm_receive_command_response(sp, message, size); |
| 52 | break; | 52 | break; |
| 53 | case sp_heartbeat: | 53 | case sp_heartbeat: |
| 54 | ibmasm_receive_heartbeat(sp, message, size); | 54 | ibmasm_receive_heartbeat(sp, message, size); |
| @@ -95,7 +95,7 @@ int ibmasm_send_driver_vpd(struct service_processor *sp) | |||
| 95 | strcat(vpd_data, IBMASM_DRIVER_VPD); | 95 | strcat(vpd_data, IBMASM_DRIVER_VPD); |
| 96 | vpd_data[10] = 0; | 96 | vpd_data[10] = 0; |
| 97 | vpd_data[15] = 0; | 97 | vpd_data[15] = 0; |
| 98 | 98 | ||
| 99 | ibmasm_exec_command(sp, command); | 99 | ibmasm_exec_command(sp, command); |
| 100 | ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); | 100 | ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); |
| 101 | 101 | ||
| @@ -118,7 +118,7 @@ struct os_state_command { | |||
| 118 | * During driver init this function is called with os state "up". | 118 | * During driver init this function is called with os state "up". |
| 119 | * This causes the service processor to start sending heartbeats the | 119 | * This causes the service processor to start sending heartbeats the |
| 120 | * driver. | 120 | * driver. |
| 121 | * During driver exit the function is called with os state "down", | 121 | * During driver exit the function is called with os state "down", |
| 122 | * causing the service processor to stop the heartbeats. | 122 | * causing the service processor to stop the heartbeats. |
| 123 | */ | 123 | */ |
| 124 | int ibmasm_send_os_state(struct service_processor *sp, int os_state) | 124 | int ibmasm_send_os_state(struct service_processor *sp, int os_state) |
