mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
nForce cleanup and docs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1366 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
7e4acca8c8
commit
9334e32e6c
4 files changed
+12
-12
No files matched your search
@@ -45,22 +45,12 @@
|
||||
#include "version.h"
|
||||
#include <linux/init.h>
|
||||
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif
|
||||
|
||||
#ifndef PCI_DEVICE_ID_AMD_756
|
||||
#define PCI_DEVICE_ID_AMD_756 0x740B
|
||||
#endif
|
||||
#ifndef PCI_DEVICE_ID_AMD_766
|
||||
#define PCI_DEVICE_ID_AMD_766 0x7413
|
||||
#endif
|
||||
#ifndef PCI_DEVICE_ID_AMD_768
|
||||
#define PCI_DEVICE_ID_AMD_768 0x7443
|
||||
#endif
|
||||
#ifndef PCI_VENDOR_ID_NVIDIA
|
||||
#define PCI_VENDOR_ID_NVIDIA 0x10DE
|
||||
#endif
|
||||
#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE_SMBUS
|
||||
#define PCI_DEVICE_ID_NVIDIA_NFORCE_SMBUS 0x01B4
|
||||
#endif
|
||||
@@ -76,8 +66,8 @@ struct sd {
|
||||
static struct sd supported[] = {
|
||||
{PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_756, 3, "AMD756", 1},
|
||||
{PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_766, 3, "AMD766", 1},
|
||||
{PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_768, 3, "AMD768", 1},
|
||||
{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_SMBUS, 1, "nVidia nForce", 0},
|
||||
{PCI_VENDOR_ID_AMD, 0x7443, 3, "AMD768", 1},
|
||||
{PCI_VENDOR_ID_NVIDIA, 0x01B4, 1, "nVidia nForce", 0},
|
||||
{0, 0, 0}
|
||||
};
|
||||
|
||||
@@ -534,6 +524,10 @@ EXPORT_NO_SYMBOLS;
|
||||
MODULE_AUTHOR("Merlin Hughes <merlin@merlin.org>");
|
||||
MODULE_DESCRIPTION("AMD756/766 SMBus driver");
|
||||
|
||||
#ifdef MODULE_LICENSE
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif
|
||||
|
||||
int init_module(void)
|
||||
{
|
||||
return i2c_amd756_init();
|
||||
|
||||
Reference in new issue
Block a user