mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
small INSTALL update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@793 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
01ae4144c4
commit
ea2ffb2286
4 files changed
+9
-2
No files matched your search
@@ -115,6 +115,10 @@ somewhat, not the files in /usr/include/{linux,asm} are used, but instead
|
||||
those in /usr/src/linux/include/{linux,asm}. It is also possible to
|
||||
tell the Makefile the kernel is somewhere else than at /usr/src/linux.
|
||||
|
||||
To keep problems to a minimum, please use a 'vanilla' kernel tree,
|
||||
as distributed on ftp://ftp.kernel/org/pub/linux/kernel, and not one
|
||||
patched by your distribution.
|
||||
|
||||
|
||||
Separate from kernel compilation (compilation option 1)
|
||||
=======================================================
|
||||
|
||||
+2
-1
@@ -5,7 +5,8 @@ system, and may cause problems.
|
||||
Quickstart:
|
||||
* Make sure you have the kernel tree corresponding to your current
|
||||
kernel in /usr/src/linux. Distribution kernels usually won't do,
|
||||
compile your own.
|
||||
compile your own from a 'vanilla' tree (get one from
|
||||
ftp://ftp.kernel/org/pub/linux/kernel/).
|
||||
* Install the i2c package. This won't do any harm, even if use a very
|
||||
recent 2.3 or 2.4 kernel, though it may be unnecessary
|
||||
* Do a `make' followed by a `make install'. The warnings about .d
|
||||
|
||||
@@ -23,7 +23,7 @@ but you may need to download it separately at:
|
||||
http://www.netroedge.com/~lm78
|
||||
Users of kernel 2.3.34 and later (and also all soon to be 2.4.x) kernels
|
||||
will be happy to know that the new I2C implementation has been included
|
||||
in the kernel, but you can still patch it with the latest version
|
||||
in the kernel; you can still patch it with the latest version
|
||||
(see i2c/mkpatch/mkpatch.pl), but this is optional.
|
||||
|
||||
WARNING! The default module installation directory changed since version
|
||||
|
||||
@@ -866,12 +866,14 @@ int __init sensors_init(void)
|
||||
if (!
|
||||
(sensors_proc_header =
|
||||
register_sysctl_table(sensors_proc, 0))) return -ENOMEM;
|
||||
#if 0
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,1))
|
||||
sensors_proc_header->ctl_table->child->de->owner = THIS_MODULE;
|
||||
#else
|
||||
sensors_proc_header->ctl_table->child->de->fill_inode =
|
||||
&sensors_fill_inode;
|
||||
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,1)) */
|
||||
#endif
|
||||
sensors_initialized++;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user