hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/misc/ibmasm/dot_command.c
....@@ -1,30 +1,16 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * IBM ASM Service Processor Device Driver
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program; if not, write to the Free Software
16
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
174 *
185 * Copyright (C) IBM Corporation, 2004
196 *
207 * Author: Max Asböck <amax@us.ibm.com>
21
- *
228 */
239
2410 #include "ibmasm.h"
2511 #include "dot_command.h"
2612
27
-/**
13
+/*
2814 * Dispatch an incoming message to the specific handler for the message.
2915 * Called from interrupt context.
3016 */
....@@ -62,7 +48,7 @@
6248 #define INIT_BUFFER_SIZE 32
6349
6450
65
-/**
51
+/*
6652 * send the 4.3.5.10 dot command (driver VPD) to the service processor
6753 */
6854 int ibmasm_send_driver_vpd(struct service_processor *sp)
....@@ -113,7 +99,7 @@
11399 unsigned char data;
114100 };
115101
116
-/**
102
+/*
117103 * send the 4.3.6 dot command (os state) to the service processor
118104 * During driver init this function is called with os state "up".
119105 * This causes the service processor to start sending heartbeats the