Commit Graph
9 Commits
Author SHA1 Message Date
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