* [PATCH] libata: port and device of libata.force ID separated by point
@ 2010-04-21 10:17 Roman Fietze
2010-04-23 0:37 ` Tejun Heo
2010-04-23 1:52 ` Jeff Garzik
0 siblings, 2 replies; 3+ messages in thread
From: Roman Fietze @ 2010-04-21 10:17 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
Hello,
If I understand libata-core correctly, esp. arround line 6572:
/* parse id */
p = strchr(id, '.');
...
the optional device is separated from the port in the libata.force ID
by a point or dot instead of by a colon.
If my assumption is correct, this patch will fix the documentation:
Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
---
Documentation/kernel-parameters.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index e7848a0..ea5a826 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1193,7 +1193,7 @@ and is between 256 and 4096 characters. It is defined in the file
libata.force= [LIBATA] Force configurations. The format is comma
separated list of "[ID:]VAL" where ID is
- PORT[:DEVICE]. PORT and DEVICE are decimal numbers
+ PORT[.DEVICE]. PORT and DEVICE are decimal numbers
matching port, link or device. Basically, it matches
the ATA ID string printed on console by libata. If
the whole ID part is omitted, the last PORT and DEVICE
--
1.7.0.3
Roman
--
Roman Fietze Telemotive AG Büro Mühlhausen
Breitwiesen 73347 Mühlhausen
Tel.: +49(0)7335/18493-45 http://www.telemotive.de
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libata: port and device of libata.force ID separated by point
2010-04-21 10:17 [PATCH] libata: port and device of libata.force ID separated by point Roman Fietze
@ 2010-04-23 0:37 ` Tejun Heo
2010-04-23 1:52 ` Jeff Garzik
1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2010-04-23 0:37 UTC (permalink / raw)
To: Roman Fietze; +Cc: Jeff Garzik, linux-ide
On 04/21/2010 12:17 PM, Roman Fietze wrote:
> Hello,
>
> If I understand libata-core correctly, esp. arround line 6572:
>
> /* parse id */
> p = strchr(id, '.');
> ...
>
> the optional device is separated from the port in the libata.force ID
> by a point or dot instead of by a colon.
>
> If my assumption is correct, this patch will fix the documentation:
>
> Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
Heh, nice catch.
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libata: port and device of libata.force ID separated by point
2010-04-21 10:17 [PATCH] libata: port and device of libata.force ID separated by point Roman Fietze
2010-04-23 0:37 ` Tejun Heo
@ 2010-04-23 1:52 ` Jeff Garzik
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2010-04-23 1:52 UTC (permalink / raw)
To: Roman Fietze; +Cc: linux-ide
On 04/21/2010 06:17 AM, Roman Fietze wrote:
> Hello,
>
> If I understand libata-core correctly, esp. arround line 6572:
>
> /* parse id */
> p = strchr(id, '.');
> ...
>
> the optional device is separated from the port in the libata.force ID
> by a point or dot instead of by a colon.
>
> If my assumption is correct, this patch will fix the documentation:
>
> Signed-off-by: Roman Fietze<roman.fietze@telemotive.de>
> ---
> Documentation/kernel-parameters.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index e7848a0..ea5a826 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1193,7 +1193,7 @@ and is between 256 and 4096 characters. It is defined in the file
>
> libata.force= [LIBATA] Force configurations. The format is comma
> separated list of "[ID:]VAL" where ID is
> - PORT[:DEVICE]. PORT and DEVICE are decimal numbers
> + PORT[.DEVICE]. PORT and DEVICE are decimal numbers
> matching port, link or device. Basically, it matches
> the ATA ID string printed on console by libata. If
applied
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-23 6:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 10:17 [PATCH] libata: port and device of libata.force ID separated by point Roman Fietze
2010-04-23 0:37 ` Tejun Heo
2010-04-23 1:52 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.