mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
Change base-address-setting parameter from force or force_via686a
to force_addr. It is now consistent with the bus PCI adapters
that support base address setting (piix4, i801, viapro).
Other benefit is that via686a_find can now return -ENODEV,
and module will fail to load when base address is not set and
parameter is not used.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1073 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
da40be7ab2
commit
de2652db9e
4 files changed
+32
-30
No files matched your search
+14
-5
@@ -1,4 +1,9 @@
|
||||
All chip drivers have a few insmod module parameters in common. These
|
||||
Paramters for modprobe and insmod
|
||||
=================================
|
||||
|
||||
All chip drivers have a few modprobe module parameters in common.
|
||||
(Insmod can also be used, but we recommend modprobe so that
|
||||
other required modules are automatically loaded.) These
|
||||
parameters can be used when a module is inserted, to give some additional
|
||||
information about how it should function. In this case, they tell where
|
||||
the module should look for what chips. Usually, you don't need them, and
|
||||
@@ -12,15 +17,15 @@ nineteenth and `A' the first). If you want 'any I2C bus', use '-1'
|
||||
(or 65535).
|
||||
|
||||
Each adapter has a number of addresses on I2C/SMBus adapters and/or the
|
||||
ISA bus that are always scanned if no insmod parameters are given. The
|
||||
ISA bus that are always scanned if no modprobe parameters are given. The
|
||||
parameters below override those addresses that are scanned by default.
|
||||
|
||||
All insmod parameters described below take lists of positive integers
|
||||
All modprobe parameters described below take lists of positive integers
|
||||
(unsigned, in the range of 0 to 65535) as their arguments. Integers
|
||||
are separated by comma's, and may be given as ordinary decimal numbers,
|
||||
as octal numbers (by starting them with a `0') or as hexadecimal numbers
|
||||
(by starting them with a `0x'). More information can be found by
|
||||
entering `man insmod'.
|
||||
entering `man modprobe' or `man insmod'.
|
||||
|
||||
`force', `force_*', `ignore' and `probe' parameters take pairs of numbers.
|
||||
Each first (odd) number is a bus number, each second (even) number is
|
||||
@@ -57,7 +62,11 @@ will skip all detection and recognition routines. This can lead to
|
||||
very strange results...
|
||||
|
||||
An example:
|
||||
insmod lm78 force_lm79=9191,0x390 ignore=0,0x2d,1,0x20 probe_range=-1,0,0x7f
|
||||
modprobe lm78 force_lm79=9191,0x390 ignore=0,0x2d,1,0x20 probe_range=-1,0,0x7f
|
||||
# ISA address 0x390 contains a LM79
|
||||
# Scan all I2C addresses (from 0 to 0x7f) for all I2C adapters
|
||||
# But skip address 0x2d on adapter 0, and address 0x20 on adapter 1
|
||||
|
||||
`force_addr' is a parameter used for PCI sensor adapters.
|
||||
It is used to program the base address of the sensor registers.
|
||||
This is required if the BIOS does not initialize the base address.
|
||||
+2
-3
@@ -18,14 +18,13 @@ Authors: Ky
|
||||
Module Parameters
|
||||
-----------------
|
||||
|
||||
force=9191,address Set the I/O base address. Useful for Asus A7V boards
|
||||
force_addr=0xaddr Set the I/O base address. Useful for Asus A7V boards
|
||||
that don't set the address in the BIOS. Does not do a
|
||||
PCI force; the via686a must still be present in lspci.
|
||||
Don't use this unless the driver complains that the
|
||||
base address is not set. Otherwise the driver will
|
||||
recognize both the old and the forced address.
|
||||
|
||||
force_via686a=9191,address Same as force.
|
||||
Example: 'modprobe via686a force_addr=0x290'
|
||||
|
||||
|
||||
Description
|
||||
|
||||
Reference in new issue
Block a user