linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs
@ 2021-12-15 11:33 Bruce Duncan
  2022-01-11 20:21 ` Wolfram Sang
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Duncan @ 2021-12-15 11:33 UTC (permalink / raw)
  To: linux-i2c, Jean Delvare; +Cc: trivial, Bruce Duncan

http://lm-sensors.org no longer exists,
https://github.com/lm-sensors/lm-sensors/issues/3 suggests using
https://hwmon.wiki.kernel.org/

Signed-off-by: Bruce Duncan <bwduncan@gmail.com>
---
 Documentation/i2c/busses/i2c-piix4.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/i2c/busses/i2c-piix4.rst b/Documentation/i2c/busses/i2c-piix4.rst
index cc9000259223..abe6358ffade 100644
--- a/Documentation/i2c/busses/i2c-piix4.rst
+++ b/Documentation/i2c/busses/i2c-piix4.rst
@@ -64,7 +64,7 @@ correct address for this module, you could get in big trouble (read:
 crashes, data corruption, etc.). Try this only as a last resort (try BIOS
 updates first, for example), and backup first! An even more dangerous
 option is 'force_addr=<IOPORT>'. This will not only enable the PIIX4 like
-'force' foes, but it will also set a new base I/O port address. The SMBus
+'force' does, but it will also set a new base I/O port address. The SMBus
 parts of the PIIX4 needs a range of 8 of these addresses to function
 correctly. If these addresses are already reserved by some other device,
 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
 to change the SMBus Interrupt Select register so the SMBus controller uses
 the SMI mode.
 
-1) Use lspci command and locate the PCI device with the SMBus controller:
+1) Use ``lspci`` command and locate the PCI device with the SMBus controller:
    00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4f)
    The line may vary for different chipsets. Please consult the driver source
-   for all possible PCI ids (and lspci -n to match them). Lets assume the
+   for all possible PCI ids (and ``lspci -n`` to match them). Lets assume the
    device is located at 00:0f.0.
 2) Now you just need to change the value in 0xD2 register. Get it first with
-   command: lspci -xxx -s 00:0f.0
+   command: ``lspci -xxx -s 00:0f.0``
    If the value is 0x3 then you need to change it to 0x1:
-   setpci  -s 00:0f.0 d2.b=1
+   ``setpci  -s 00:0f.0 d2.b=1``
 
 Please note that you don't need to do that in all cases, just when the SMBus is
 not working properly.
@@ -111,4 +111,4 @@ of all affected systems, so the only safe solution was to prevent access to
 the SMBus on all IBM systems (detected using DMI data.)
 
 For additional information, read:
-http://www.lm-sensors.org/browser/lm-sensors/trunk/README
+https://hwmon.wiki.kernel.org
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs
  2021-12-15 11:33 [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs Bruce Duncan
@ 2022-01-11 20:21 ` Wolfram Sang
  2022-08-25 12:50   ` Jean Delvare
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2022-01-11 20:21 UTC (permalink / raw)
  To: Bruce Duncan; +Cc: linux-i2c, Jean Delvare, trivial

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

>  For additional information, read:
> -http://www.lm-sensors.org/browser/lm-sensors/trunk/README
> +https://hwmon.wiki.kernel.org

I think the proper replacement is:

https://github.com/lm-sensors/lm-sensors/blob/master/README

?


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs
  2022-01-11 20:21 ` Wolfram Sang
@ 2022-08-25 12:50   ` Jean Delvare
  2022-08-25 13:10     ` Bruce Duncan
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Delvare @ 2022-08-25 12:50 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: Bruce Duncan, linux-i2c, trivial

Hi Wolfram,

On Tue, 11 Jan 2022 21:21:30 +0100, Wolfram Sang wrote:
> >  For additional information, read:
> > -http://www.lm-sensors.org/browser/lm-sensors/trunk/README
> > +https://hwmon.wiki.kernel.org  
> 
> I think the proper replacement is:
> 
> https://github.com/lm-sensors/lm-sensors/blob/master/README
> 
> ?

Yes, but I'd rather remove the pointer completely than update it.
There's nothing specific to the i2c-piix4 driver in that file, so I
can't see any value in mentioning it here.

As Bruce appears to have vanished meanwhile, I'll post an updated
version of the patch shortly myself, including another typo fix.

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs
  2022-08-25 12:50   ` Jean Delvare
@ 2022-08-25 13:10     ` Bruce Duncan
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Duncan @ 2022-08-25 13:10 UTC (permalink / raw)
  To: Jean Delvare, Wolfram Sang; +Cc: linux-i2c, trivial


[-- Attachment #1.1.1: Type: text/plain, Size: 881 bytes --]

Hi,

I wasn't sure what the correct replacement should be either so I'm happy 
for you to post a new patch. Let me know if there's anything you need 
from me.

Bruce

On 25/08/2022 13:50, Jean Delvare wrote:
> Hi Wolfram,
>
> On Tue, 11 Jan 2022 21:21:30 +0100, Wolfram Sang wrote:
>>>   For additional information, read:
>>> -http://www.lm-sensors.org/browser/lm-sensors/trunk/README
>>> +https://hwmon.wiki.kernel.org
>> I think the proper replacement is:
>>
>> https://github.com/lm-sensors/lm-sensors/blob/master/README
>>
>> ?
> Yes, but I'd rather remove the pointer completely than update it.
> There's nothing specific to the i2c-piix4 driver in that file, so I
> can't see any value in mentioning it here.
>
> As Bruce appears to have vanished meanwhile, I'll post an updated
> version of the patch shortly myself, including another typo fix.
>

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 28881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-25 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 11:33 [PATCH] Fix typo, add markup, fix URL in i2c-piix4 docs Bruce Duncan
2022-01-11 20:21 ` Wolfram Sang
2022-08-25 12:50   ` Jean Delvare
2022-08-25 13:10     ` Bruce Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).