Commit Graph
23 Commits
Author SHA1 Message Date
Alexander Malysh b1986134c3 (amalysh)
* i2c-sis630.c: sync with 2.6.0-X driver version


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2014 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 11:45:04 +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
Alexander Malysh bb6298c2f2 added block data read/write support. Minor cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1926 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 22:35:17 +00:00
Alexander Malysh 1843d33fb7 Fixed sis630 detection. We need ISA brigde and not the pci device
supplied by pci-core. Tickets #1350 and #1351 should be closed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1925 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-30 20:40:27 +00:00
Mark D. Studebaker 06ea29ef6c -Wall cleanup (returns in probe functions)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1814 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-23 01:21:04 +00:00
Mark D. Studebaker 01ea959a80 populate pci_device_id table. untested.
Took out the force code which may need to be put back in somehow.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1769 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-07 20:05:10 +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 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
Alexander Malysh fc1716194b fixed logic by restoring of Host Master Clock
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1630 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-20 00:15:02 +00:00
Mark D. Studebaker deb1793ab5 remove #ifndef for ID, 2.7.0 release will require i2c-2.7.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1623 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-18 21:04:40 +00:00
Alexander Malysh 4150b4030a fixed the same bug as by i2c-sis645 (kill smbus transaction)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1555 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-26 10:13:07 +00:00
Alexander Malysh 564dbecad2 Fixed typo in sis630_access.
Fixed logical error by restoring of Host Master Clock


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1551 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-24 10:50:31 +00:00
Alexander Malysh faa57a4ef4 (amalysh)
Added high_clock module option.If this option is set
        used Host Master Clock 56KHz (default 14KHz).For now we are save old Host
        Master Clock and after transaction completed restore (otherwise
        it's confuse BIOS and hung Laptop).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1540 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-21 00:05:37 +00:00
Alexander Malysh 7e6dbdb292 log entry for support sis730
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1538 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 21:45:58 +00:00
Alexander Malysh 4771c4318b added sis730 as supported device
as of info from Philip Edelbrock <phil@netroedge.com>
My Info:
	pci device id 6300 is Intergrated VGA for sis630/730 chips
	(see http://www.plasma-online.de/index.html?content=http%3A//www.plasma-online.de/english/identify/picture/sis.html)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1536 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-18 21:14:08 +00:00
Alexander Malysh 258c226b26 don't set Host Master Clock to 56KHz (it's hung my Laptop)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1527 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-15 19:53:12 +00:00
Alexander Malysh c6dc4fdbb7 Fixed missing semicolon
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1515 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-01 18:53:11 +00:00
Alexander Malysh b4bb628fff added force option, can be useful for testing i2c-sis630 on other SIS chips
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1510 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-28 21:53:53 +00:00
Alexander Malysh 26bd5449e1 Added status: beta
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1508 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-28 19:08:14 +00:00
Alexander Malysh 417224a8a2 (amalysh)
Fixed the typo in sis630_access
Changed sis630_transaction. Now it's 2x faster...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1504 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-25 14:33:27 +00:00
Mark D. Studebaker b7bd5c3350 i2c-sis630 driver from
Alexander Malysh <amalysh@web.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1497 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-22 00:34:31 +00:00