dell-smm-hwmon.c (c9f289701540baeef9ac7c9977d67a7259f404db) dell-smm-hwmon.c (149ed3d404c9bd00f0fadc35215a9e7a54c5cfd0)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
4 *
5 * Copyright (C) 2001 Massimo Dal Zotto <dz@debian.org>
6 *
7 * Hwmon integration:
8 * Copyright (C) 2011 Jean Delvare <jdelvare@suse.de>
9 * Copyright (C) 2013, 2014 Guenter Roeck <linux@roeck-us.net>
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
4 *
5 * Copyright (C) 2001 Massimo Dal Zotto <dz@debian.org>
6 *
7 * Hwmon integration:
8 * Copyright (C) 2011 Jean Delvare <jdelvare@suse.de>
9 * Copyright (C) 2013, 2014 Guenter Roeck <linux@roeck-us.net>
10 * Copyright (C) 2014, 2015 Pali Rohár <pali.rohar@gmail.com>
10 * Copyright (C) 2014, 2015 Pali Rohár <pali@kernel.org>
11 */
12
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
14
15#include <linux/cpu.h>
16#include <linux/delay.h>
17#include <linux/module.h>
18#include <linux/types.h>

--- 62 unchanged lines hidden (view full) ---

81#define I8K_HWMON_HAVE_TEMP8 (1 << 7)
82#define I8K_HWMON_HAVE_TEMP9 (1 << 8)
83#define I8K_HWMON_HAVE_TEMP10 (1 << 9)
84#define I8K_HWMON_HAVE_FAN1 (1 << 10)
85#define I8K_HWMON_HAVE_FAN2 (1 << 11)
86#define I8K_HWMON_HAVE_FAN3 (1 << 12)
87
88MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)");
11 */
12
13#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
14
15#include <linux/cpu.h>
16#include <linux/delay.h>
17#include <linux/module.h>
18#include <linux/types.h>

--- 62 unchanged lines hidden (view full) ---

81#define I8K_HWMON_HAVE_TEMP8 (1 << 7)
82#define I8K_HWMON_HAVE_TEMP9 (1 << 8)
83#define I8K_HWMON_HAVE_TEMP10 (1 << 9)
84#define I8K_HWMON_HAVE_FAN1 (1 << 10)
85#define I8K_HWMON_HAVE_FAN2 (1 << 11)
86#define I8K_HWMON_HAVE_FAN3 (1 << 12)
87
88MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)");
89MODULE_AUTHOR("Pali Rohár <pali.rohar@gmail.com>");
89MODULE_AUTHOR("Pali Rohár <pali@kernel.org>");
90MODULE_DESCRIPTION("Dell laptop SMM BIOS hwmon driver");
91MODULE_LICENSE("GPL");
92MODULE_ALIAS("i8k");
93
94static bool force;
95module_param(force, bool, 0);
96MODULE_PARM_DESC(force, "Force loading without checking for supported models");
97

--- 1244 unchanged lines hidden ---
90MODULE_DESCRIPTION("Dell laptop SMM BIOS hwmon driver");
91MODULE_LICENSE("GPL");
92MODULE_ALIAS("i8k");
93
94static bool force;
95module_param(force, bool, 0);
96MODULE_PARM_DESC(force, "Force loading without checking for supported models");
97

--- 1244 unchanged lines hidden ---