diff options
author | Corey Minyard <cminyard@mvista.com> | 2015-03-31 12:48:53 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-05-05 14:24:45 -0500 |
commit | b0e9aaa99dfb3036829e91d4f0aae449639e221a (patch) | |
tree | 737024f5452fc39d09fe6fc470c2140359bbd904 /Documentation | |
parent | d467f7a405cf0e7f06ed8d3175607ebb4ed06671 (diff) | |
download | linux-stable-b0e9aaa99dfb3036829e91d4f0aae449639e221a.tar.gz linux-stable-b0e9aaa99dfb3036829e91d4f0aae449639e221a.tar.bz2 linux-stable-b0e9aaa99dfb3036829e91d4f0aae449639e221a.zip |
ipmi:ssif: Ignore spaces when comparing I2C adapter names
Some of the adapters have spaces in their names, but that's really
hard to pass in as a module or kernel parameters. So ignore the
spaces.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/IPMI.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/IPMI.txt b/Documentation/IPMI.txt index 653d5d739d7f..31d1d658827f 100644 --- a/Documentation/IPMI.txt +++ b/Documentation/IPMI.txt @@ -505,7 +505,10 @@ at module load time (for a module) with: The addresses are normal I2C addresses. The adapter is the string name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name. -It is *NOT* i2c-<n> itself. +It is *NOT* i2c-<n> itself. Also, the comparison is done ignoring +spaces, so if the name is "This is an I2C chip" you can say +adapter_name=ThisisanI2cchip. This is because it's hard to pass in +spaces in kernel parameters. The debug flags are bit flags for each BMC found, they are: IPMI messages: 1, driver state: 2, timing: 4, I2C probe: 8 |