Changeset 1809

Show
Ignore:
Timestamp:
06/22/03 17:14:18 (5 years ago)
Author:
mds
Message:

updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r1808 r1809  
    4343                - Remove #ifndef THIS_MODULE 
    4444                - Remove #ifndef MODULE_LICENSE 
     45                - Remove other 2.1/2.2 #ifdefs 
    4546                - Remove #include "sensors.h", copy SYSCTL defs to module 
     47                - Remove excess #includes 
    4648                - Remove argument in i2c_register_entry() 
    4749                - Remove dummy xxx_command() definition 
    4850                - Remove EXPORT_NO_SYMBOLS 
    4951                - 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 
    5154                - Use module_init() and module_exit() 
    5255                - Update to new i2c_driver struct definition 
  • lm-sensors/trunk/INSTALL

    r1636 r1809  
    11============================================================================= 
    22 
    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!!! 
     3DETAILED INSTALLATION INSTRUCTIONS 
     4See QUICKSTART for the simple version. 
     5 
     6REQUIRES i2c-2.8.0 or later!!! 
     7 
     8FOR 2.5 KERNELS, Do not attempt to compile this package. 
     9                 Use the drivers already in the 2.5 kernel development tree. 
    910 
    1011============================================================================= 
     
    4647Note: as of kernel 2.3.34, the i2c code is integrated into the 
    4748mainstream kernels. Unfortunately, this lm_sensors release REQUIRES 
    48 i2c-2.7.0 or later, which is not in kernels through 2.4.19
     49i2c-2.8.0 or later, which is not in kernels through 2.4.21
    4950Therefore, you must download and install the i2c package with 
    5051the same version number or higher as this lm_sensors package. 
     
    6162                                          LM_SENSORS 
    6263I2C                      | option 1 (modules)      option 2 (patch kernel) 
     64-------------------------+------------------------------------------------ 
    6365option 1 (modules)       |      YES                      NO 
    6466option 2 (modules)       |      YES                      YES 
  • lm-sensors/trunk/QUICKSTART

    r1636 r1809  
    77 
    88Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules). 
    9 This is the recommended EASIEST METHOD. 
     9This is by far the EASIEST METHOD. 
    1010Other methods are described in INSTALL. 
    1111------------------------------------------ 
     
    2020    cannot replace it with modules in the next step. 
    2121 
     22  * Do `lsmod'. If there are any old i2c or sensors modules loaded, 
     23    you MUST remove them (as root) with `rmmod'. 
     24 
    2225  * Download, build, and install the latest i2c package, 
    23     (i2c-2.7.0 or later). 
     26    (i2c-2.8.0 or later). 
    2427    Quickstart for i2c: make; make install; depmod -a 
    2528 
     
    3538  * Do (as root) `depmod -a'. 
    3639 
    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. 
    4042 
    4143  * Do (as root) `ldconfig'. 
     
    5355  * Run `sensors' to see your output. 
    5456 
    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  
    3232* Return from suspend 
    3333 - Reinitialize i2c client. 
    34  
    35 * 2.4 / 2.5 cleanup 
    36   See adm1021, lm75, i2c-amd756, and i2c-amd8111 in kernel 2.5.54 for examples 
    37         - 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_exit 
    42         - Check return value of request_region(), don't use check_region() 
    43         - C99 initializers 
    44         - Remove excess #includes 
    45         - interrupts/locking 
    46         - Remove #ifdef MODULE, THIS_MODULE, MODULE_LICENSE, etc. 
    47         - Remove EXPORT_NO_SYMBOLS 
    48         - Remove other 2.1/2.2 #ifdefs 
    4934 
    5035* Handle -1 returns from i2c layer rather than just delivering 0xFF to