Jean Delvare
cff7834fe4
Properly document on which systems the i2c-piix4 SMBus driver will
...
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4053 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 15:08:03 +00:00
Jean Delvare
4e98d0d9f2
i2c-piix4: Drop the fix_hstcfg parameter (2.6 backport)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4051 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 14:36:15 +00:00
Jean Delvare
c33a248478
i2c-piix4: Add ATI IXP200, IXP300, IXP400 support (2.6 backport)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4050 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:45:08 +00:00
Jean Delvare
f4302b1e59
Backport from Linux 2.6:
...
Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3276 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-24 09:47:29 +00:00
Jean Delvare
7f68d835a3
Backport from Linux 2.6:
...
Clean up name string usage in 11 i2c bus drivers:
* Use the pci_driver name for requesting the I/O region rather than
redefining a new string.
* Do not initialize the i2c_adapter name to "unset".
This should save a few data bytes here and there.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3149 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-10-30 10:02:58 +00:00
Jean Delvare
8aca9c7e34
Strip useless whitespace before new line at end of string.
...
Backport from a Linux 2.6 patch from Denis Vlasenko.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3024 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-06-23 20:56:13 +00:00
Jean Delvare
54a9669491
Don't include <linux/version.h> since we don't need to.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2826 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 16:26:51 +00:00
Jean Delvare
4a41567854
Include sensors_compat.h for __devexit_p (only exists since
...
kernel 2.4.17).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2802 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 17:46:24 +00:00
Jean Delvare
a223ec0fd5
Remove owner from i2c_adapter, restore inc_use and dec_use
...
instead.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2772 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-25 21:51:18 +00:00
Mark D. Studebaker
f1b420f2df
from Vojtech Pavlik:
...
I'm sending you this little obvious patch which should enable i2c-piix
to work on IBM servers with ServerWorks chipsets. It still will treat
any IBM/Intel machine as a laptop and refuse to work, but it's better
than before.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2570 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-31 04:08:30 +00:00
Jean Delvare
af741a7b4d
Move IBM detection into dmi_scan.c.
...
Delete dmi_scan.h, now useless.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2423 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:36:19 +00:00
Mark M. Hoffman
c0d34c332e
Backport of patch vs 2.6.1...
...
This patch fixes a "Trying to release non-existent resource" error that
occurs during rmmod when the device isn't actually present. It includes
some other cleanups too: error paths, whitespace, magic numbers, __devinit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2248 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-27 02:47:35 +00:00
Jean Delvare
fb12997188
Change the "Unusual config register" message. Patch more or
...
less by Tom Rini.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2158 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-12 22:50:33 +00:00
Jean Delvare
5bdbb3744f
Display a message if a Force-CPCI735-like config register is
...
found. Should help debugging the problem.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2140 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-06 21:48:32 +00:00
Jean Delvare
9f8ececd48
Disable Tom Tini's workaround by default. It can be re-enabled
...
by using the (new) fix_hstcfg parameter.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2083 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 22:57:38 +00:00
Mark D. Studebaker
39faf50b41
add support for CSB6 based on confirmation in ticket #1424
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Jean Delvare
bb89ea05e3
Force CPCI735 bug workaround (patch by Tom Rini).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1961 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:28:42 +00:00
Mark M. Hoffman
e035136982
Added utility function i2c_delay(1), to replace various "do_pause"
...
(mmh) functions in bus drivers. Backported from the 2.6 work of Greg KH.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1936 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:11:58 +00:00
Mark D. Studebaker
79adb8ba49
check for invalid transaction type
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1778 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-10 01:07:54 +00:00
Mark D. Studebaker
84718f8ff2
partial backport from 2.5.69. Populated the pci_device_id table;
...
left the dmi_scan stuff in there. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1764 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-06 01:51:06 +00:00
Kyosti Malkki
124c706b61
(Kyösti) Clean PCI IDs already defined for 2.4.9.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1708 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-23 23:24:05 +00:00
Kyosti Malkki
1cfe63804a
(Kyösti) Cleanups
...
Copy sysctl enums to chip drivers from sensors.h for now,
as seen in drivers included in 2.5 tree. File no longer included
from kernel side.
Apply i2c-proc change in CVS tagged -km2.
Partial clean and sort of includes everywhere.
Add i2c-dev.h, as a partial copy from i2c.
Add to sensors.h from i2c-proc.h to compile things.
Remove i2c-isa.h.
Reflect header file changes to lib/ and prog/.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Kyosti Malkki
39391ba6ea
(Kyösti) some cleanups for 2.4+
...
Module refcounting using .owner, removing of inc/dec_use.
These require (yet unreleased) i2c 2.8.0+.
Named initializers everywhere. Unified namespace.
Cleanup for 2.5, remove EXPORT_NO_SYMBOLS, declare everything
static. Apply initcalls.
PCI device registration changes for busses started, replicating
from i2c-amd*. While everything does compile, nothing really
works. Well, maybe i2c-amd* ported back from 2.5 tree.
After updating your work directory, run
> cvs diff -u -r LAST-PRE-2-8-I2C > lm-2.8-patches-1
BEWARE: I have not even insmoded any of these yet.
To compile, you need i2c from cvs too.
For 2.4 kernel :
> cvs co -r lk2-4 i2c
For 2.5 kernel :
> cvs co i2c
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1698 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-17 01:19:52 +00:00
Mark D. Studebaker
0d434f6e0b
rename dmi_scan_machine() to dmi_scan_mach() to avoid collision
...
with kernel - ticket #1002
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1541 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-21 20:30:05 +00:00
Mark D. Studebaker
6fa3f5df97
set kernel version for is_unsafe_smbus to 2.5.34.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1521 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-04 12:01:24 +00:00
Mark D. Studebaker
13a8f36a5b
#define cleanup
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1506 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-25 17:23:22 +00:00
Mark D. Studebaker
0e858bda33
change external variable to is_unsafe_smbus
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1498 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-22 00:54:29 +00:00
Mark D. Studebaker
a51387a556
Move dmi detection code from i2c-piix4 to new dmi_scan.c.
...
This permits better kernel patching into kernels that
already have dmi_scan.c.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1478 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-02 01:56:56 +00:00
Mark D. Studebaker
a130da9774
Add DMI code to check for an IBM system and refuse to load
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1467 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-27 18:35:05 +00:00
Mark D. Studebaker
0a92ee5cf0
remove ref. in comment to smbus.h
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1388 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-08 19:49:06 +00:00
Mark D. Studebaker
b41c892413
update one printk
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1300 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-31 00:31:12 +00:00
Mark D. Studebaker
d46a2830ab
check for uninitialized base address - reported by one user
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1257 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-28 04:21:48 +00:00
Mark D. Studebaker
7bd97f4667
Add MODULE_LICENSE("GPL") to all modules
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1201 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 17:48:43 +00:00
Mark D. Studebaker
0d36fd10cf
Add 440MX and Victory66 support to piix4. Implement a
...
'supported' table. i2c adapter name and io region will
always be piix4 now - too hard to do 5 different names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1188 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-19 15:56:20 +00:00
Mark D. Studebaker
51a168ee4a
fix module name in printk.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1163 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-25 14:02:01 +00:00
Mark D. Studebaker
d2f8a04ae3
update serverworks match string
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1155 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-03 02:06:12 +00:00
Philip Edelbrock
8498ff5dd8
(Phil) Patches from Mark Rusk to support Serverworks CSB5.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1152 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-31 17:01:14 +00:00
Philip Edelbrock
f592b02b21
(Phil) Wrapped Serverworks OSB4 support into i2c-piix4.c (briefly tested
...
on both platforms). LM87 support is very far along, and should work
for a majority of users, but some minor tweaks are still on the to-do list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@963 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-22 19:26:21 +00:00
Mark D. Studebaker
a8cf5cbfa2
(mds) add i2c- prefix to module name in version/date printk for those
...
that were missing it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@949 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 00:50:18 +00:00
Frodo Looijaard
6a2c82b491
`indent -kr -i8' on all kernel sources
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@707 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:37:01 +00:00
Frodo Looijaard
888d32f50b
Removing kernel 2.0 and 2.1 compatibility pass 2
...
Eliminated compat.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@705 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:07:29 +00:00
Frodo Looijaard
9480bb5988
Removal of kernel 2.1 and 2.2 compatibility: pass one
...
Removed many #if statements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@704 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 19:30:08 +00:00
Frodo Looijaard
be2a5407e9
Fixed bug in PIIX4 driver: it claimed to do SMBUS_PROC_CALL.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@653 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 01:45:58 +00:00
Frodo Looijaard
5059c482fd
Just to make sure, added `#include <linux/version.h>' at several
...
other places.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@645 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:48:34 +00:00
Frodo Looijaard
7d9d543593
Better 10-bit addresses support changes
...
* Enlarged addresses from 8 to 16 bits at some places.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@586 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 16:30:42 +00:00
Frodo Looijaard
52781e50b4
Preparations for better 10-bit address support
...
Updated for the changes in i2c_smbus_* functions
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@585 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 16:01:24 +00:00
Frodo Looijaard
e9ac105d87
`functionality' support for all bus drivers
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@583 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 13:49:29 +00:00
Frodo Looijaard
3510c0eecc
Fixed module lists and ali15x3 module inclusion
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@558 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-12 21:57:50 +00:00
Frodo Looijaard
acd5a15556
(Frodo) Massive commit of all things related to mkpatch. Let's just say
...
it works great now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@516 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-23 23:43:13 +00:00
Frodo Looijaard
fcbe78a669
First step to make it possible to integrate lm_sensors modules into
...
the kernel.
* <kernel/init.h> is now included for all modules
* Initialization-time only functions and variables are marked with __init
* EXPORT_SYMBOL or EXPORT_NO_SYMBOLS declarations added
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@513 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-23 11:43:58 +00:00