mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
Major SIS5595 overhaul
* sis5595.c now understand insmod parameters
* sis5595.c now uses sis5595_ prefix instead of lm78_ prefix
* sis5595.c now supports the correct subset of the LM78 features
(it only knows about 4 voltages, 2 fans and no vid)
* added SIS5595 defines to sensors.h
* fixed a small problem in compat.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@379 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
f808a95c20
commit
cb3131905c
3 files changed
+383
-417
No files matched your search
@@ -63,22 +63,22 @@
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,1,54))
|
||||
#define pci_present pcibios_present
|
||||
#define pci_read_config_byte_united(device,bus,dev,com,res) \
|
||||
pcibios_read_config_byte(bus,dev,com,res);
|
||||
pcibios_read_config_byte(bus,dev,com,res)
|
||||
#define pci_read_config_word_united(device,bus,dev,com,res) \
|
||||
pcibios_read_config_word(bus,dev,com,res);
|
||||
pcibios_read_config_word(bus,dev,com,res)
|
||||
#define pci_write_config_byte_united(device,bus,dev,com,res) \
|
||||
pcibios_write_config_byte(bus,dev,com,res);
|
||||
pcibios_write_config_byte(bus,dev,com,res)
|
||||
#define pci_write_config_word_united(device,bus,dev,com,res) \
|
||||
pcibios_write_config_word(bus,dev,com,res);
|
||||
pcibios_write_config_word(bus,dev,com,res)
|
||||
#else
|
||||
#define pci_read_config_byte_united(device,bus,dev,com,res) \
|
||||
pci_read_config_byte(device,com,res);
|
||||
pci_read_config_byte(device,com,res)
|
||||
#define pci_read_config_word_united(device,bus,dev,com,res) \
|
||||
pci_read_config_word(device,com,res);
|
||||
pci_read_config_word(device,com,res)
|
||||
#define pci_write_config_byte_united(device,bus,dev,com,res) \
|
||||
pci_write_config_byte(device,com,res);
|
||||
pci_write_config_byte(device,com,res)
|
||||
#define pci_write_config_word_united(device,bus,dev,com,res) \
|
||||
pci_write_config_byte(device,com,res);
|
||||
pci_write_config_byte(device,com,res)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user