Commit Graph
13 Commits
Author SHA1 Message Date
Jean Delvare 0247cfa944 Fix byte writes used by eeprom.c. Similar to a recent fix made
to i2c-nforce2.c. Patch by Hans-Frieder Vogt <hfvogt@arcor.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2127 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-01 19:39:00 +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
Jean Delvare f7b40f84b3 Fix includes for compilation on Alpha.
Patch by Kelledin.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1912 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-28 09:57:11 +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 012b4f58a2 backport from kernel 2.5.54 which contained changes from
Christoph Hellwig <hch@lst.de> and Pavel <pavel@ucw.cz>;
      Leave in 3 things: refcounts, init printk, and
      compile #error if i2c is too old.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1693 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-11 18:41:24 +00:00
Mark D. Studebaker 265347c099 more 2.2 fixes from Vojtech
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1662 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-04 02:52:36 +00:00
Mark D. Studebaker eff5784a1a patch from Vojtech on _PEC variants
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1660 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-03 02:59:45 +00:00
Mark D. Studebaker 3467ff5106 compile fixes for i2c-amd8111.c, and add support in mkpatch.
Patch from
            Vojtech Pavlik <vojtech@suse.cz>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1658 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-12-01 21:30:13 +00:00
Mark D. Studebaker 39d845c73b Patch from
Vojtech Pavlik <vojtech@suse.cz>
      Implemented/fixed PEC and process calls, and block reads/writes in
      the driver. ARP now works with smbus-arp.c.
      Removed attempt at 2.2 support. Module doesn't work w/ 2.2 kernels.
      Added check in Module.mk so it won't compile unless CONFIG_X86_64.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1656 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-30 20:14:48 +00:00
Mark D. Studebaker 1b74956ae0 handle 2.2 kernels void request_region()
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1655 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-28 19:57:23 +00:00
Mark D. Studebaker 9e99f3c49d put a big fat error if no i2c-2.7.0 (this is the first
compiled file that would have an error), hopefully cut
      down on tickets when 2.7.0 comes out


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1652 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-27 19:54:53 +00:00
Mark D. Studebaker 3929e57a5b amd8111 support, patch from
+* Vojtech Pavlik <vojtech@suse.cz>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1616 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-17 19:44:46 +00:00