Changeset 1809
- Timestamp:
- 06/22/03 17:14:18 (5 years ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (1 diff)
- lm-sensors/trunk/INSTALL (modified) (3 diffs)
- lm-sensors/trunk/QUICKSTART (modified) (4 diffs)
- lm-sensors/trunk/TODO (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r1808 r1809 43 43 - Remove #ifndef THIS_MODULE 44 44 - Remove #ifndef MODULE_LICENSE 45 - Remove other 2.1/2.2 #ifdefs 45 46 - Remove #include "sensors.h", copy SYSCTL defs to module 47 - Remove excess #includes 46 48 - Remove argument in i2c_register_entry() 47 49 - Remove dummy xxx_command() definition 48 50 - Remove EXPORT_NO_SYMBOLS 49 51 - Remove init_MUTEX #define 50 - Remove xxx_inc_use() and xxx_dec_use() functions 52 - Remove xxx_inc_use() and xxx_dec_use() functions; modules 53 no longer adjust their own refcounts 51 54 - Use module_init() and module_exit() 52 55 - Update to new i2c_driver struct definition lm-sensors/trunk/INSTALL
r1636 r1809 1 1 ============================================================================= 2 2 3 INSTALLATION INSTRUCTIONS 4 5 REQUIRES i2c-2.7.0 or later!!! 6 7 FOR 2.5 KERNELS, we do not recommend attempting to compile this package. 8 Use kernel patches linked from our download page instead!!! 3 DETAILED INSTALLATION INSTRUCTIONS 4 See QUICKSTART for the simple version. 5 6 REQUIRES i2c-2.8.0 or later!!! 7 8 FOR 2.5 KERNELS, Do not attempt to compile this package. 9 Use the drivers already in the 2.5 kernel development tree. 9 10 10 11 ============================================================================= … … 46 47 Note: as of kernel 2.3.34, the i2c code is integrated into the 47 48 mainstream kernels. Unfortunately, this lm_sensors release REQUIRES 48 i2c-2. 7.0 or later, which is not in kernels through 2.4.19.49 i2c-2.8.0 or later, which is not in kernels through 2.4.21. 49 50 Therefore, you must download and install the i2c package with 50 51 the same version number or higher as this lm_sensors package. … … 61 62 LM_SENSORS 62 63 I2C | option 1 (modules) option 2 (patch kernel) 64 -------------------------+------------------------------------------------ 63 65 option 1 (modules) | YES NO 64 66 option 2 (modules) | YES YES lm-sensors/trunk/QUICKSTART
r1636 r1809 7 7 8 8 Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules). 9 This is the recommendedEASIEST METHOD.9 This is by far the EASIEST METHOD. 10 10 Other methods are described in INSTALL. 11 11 ------------------------------------------ … … 20 20 cannot replace it with modules in the next step. 21 21 22 * Do `lsmod'. If there are any old i2c or sensors modules loaded, 23 you MUST remove them (as root) with `rmmod'. 24 22 25 * Download, build, and install the latest i2c package, 23 (i2c-2. 7.0 or later).26 (i2c-2.8.0 or later). 24 27 Quickstart for i2c: make; make install; depmod -a 25 28 … … 35 38 * Do (as root) `depmod -a'. 36 39 37 * Add the line 38 /usr/local/lib 39 to /etc/ld.so.conf if it is not there yet. 40 * Verify that /usr/local/lib is listed in /etc/ld.so.conf; 41 add it if it isn't. 40 42 41 43 * Do (as root) `ldconfig'. … … 53 55 * Run `sensors' to see your output. 54 56 55 * That's it! If you have problems, read the INSTALL document and,56 of course our excellent FAQ (doc/FAQ).57 * That's it! If you have problems, read our excellent FAQ 58 (doc/FAQ or doc/lm_sensors-FAQ.html). lm-sensors/trunk/TODO
r1703 r1809 32 32 * Return from suspend 33 33 - Reinitialize i2c client. 34 35 * 2.4 / 2.5 cleanup36 See adm1021, lm75, i2c-amd756, and i2c-amd8111 in kernel 2.5.54 for examples37 - Remove inc_use and dec_use in adapters and chips, convert to owner.38 Modules shouldn't adjust their own refcounts.39 - Convert PCI drivers to use pci_driver structs,40 registration, etc.41 - Use module_init and module_exit42 - Check return value of request_region(), don't use check_region()43 - C99 initializers44 - Remove excess #includes45 - interrupts/locking46 - Remove #ifdef MODULE, THIS_MODULE, MODULE_LICENSE, etc.47 - Remove EXPORT_NO_SYMBOLS48 - Remove other 2.1/2.2 #ifdefs49 34 50 35 * Handle -1 returns from i2c layer rather than just delivering 0xFF to
