Skip to content

Commit 53b7747

Browse files
bwduncanwsakernel
authored andcommitted
docs: i2c: piix4: Fix typos, add markup, drop link
[JD: Update the subject One more typo fixed Drop the link to lm-sensors' README, it's irrelevant] Signed-off-by: Bruce Duncan <bwduncan@gmail.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 92d5d64 commit 53b7747

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Documentation/i2c/busses/i2c-piix4.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ correct address for this module, you could get in big trouble (read:
6464
crashes, data corruption, etc.). Try this only as a last resort (try BIOS
6565
updates first, for example), and backup first! An even more dangerous
6666
option is 'force_addr=<IOPORT>'. This will not only enable the PIIX4 like
67-
'force' foes, but it will also set a new base I/O port address. The SMBus
67+
'force' does, but it will also set a new base I/O port address. The SMBus
6868
parts of the PIIX4 needs a range of 8 of these addresses to function
6969
correctly. If these addresses are already reserved by some other device,
7070
you will get into big trouble! DON'T USE THIS IF YOU ARE NOT VERY SURE
@@ -86,15 +86,15 @@ If you own Force CPCI735 motherboard or other OSB4 based systems you may need
8686
to change the SMBus Interrupt Select register so the SMBus controller uses
8787
the SMI mode.
8888

89-
1) Use lspci command and locate the PCI device with the SMBus controller:
89+
1) Use ``lspci`` command and locate the PCI device with the SMBus controller:
9090
00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4f)
9191
The line may vary for different chipsets. Please consult the driver source
92-
for all possible PCI ids (and lspci -n to match them). Lets assume the
92+
for all possible PCI ids (and ``lspci -n`` to match them). Let's assume the
9393
device is located at 00:0f.0.
9494
2) Now you just need to change the value in 0xD2 register. Get it first with
95-
command: lspci -xxx -s 00:0f.0
95+
command: ``lspci -xxx -s 00:0f.0``
9696
If the value is 0x3 then you need to change it to 0x1:
97-
setpci -s 00:0f.0 d2.b=1
97+
``setpci -s 00:0f.0 d2.b=1``
9898

9999
Please note that you don't need to do that in all cases, just when the SMBus is
100100
not working properly.
@@ -109,6 +109,3 @@ which can easily get corrupted due to a state machine bug. These are mostly
109109
Thinkpad laptops, but desktop systems may also be affected. We have no list
110110
of all affected systems, so the only safe solution was to prevent access to
111111
the SMBus on all IBM systems (detected using DMI data.)
112-
113-
For additional information, read:
114-
http://www.lm-sensors.org/browser/lm-sensors/trunk/README

0 commit comments

Comments
 (0)