* [PATCH] 2.6.12-rc1, ./drivers/base/platform.c
@ 2005-03-22 5:32 All Linux
2005-03-22 6:04 ` Dmitry Torokhov
2005-03-22 18:32 ` Brian Waite
0 siblings, 2 replies; 4+ messages in thread
From: All Linux @ 2005-03-22 5:32 UTC (permalink / raw)
To: linux-kernel
The latest prepatch, 2.6.12-rc1, introduced the following change.
--- a/drivers/base/platform.c 2005-03-17 17:35:04 -08:00
+++ b/drivers/base/platform.c 2005-03-17 17:35:04 -08:00
@@ -131,7 +131,7 @@
pdev->dev.bus = &platform_bus_type;
if (pdev->id != -1)
- snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s%u",
pdev->name, pdev->id);
+ snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s.%u",
pdev->name, pdev->id);
else
strlcpy(pdev->dev.bus_id, pdev->name, BUS_ID_SIZE);
It causes problem, as most platform files, for example,
arch/ppc/platforms/katana.c, still use the old name without ".". I do
not understand why bus_id "mpsc.0" is better than "mpsc0".
Please explain what is the benefit of introducing such a change,
before I can submit a patch for all those platform files to work with
this change.
Please CC me, as I am currently not in the list.
Thanks,
Lee
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] 2.6.12-rc1, ./drivers/base/platform.c
2005-03-22 5:32 [PATCH] 2.6.12-rc1, ./drivers/base/platform.c All Linux
@ 2005-03-22 6:04 ` Dmitry Torokhov
2005-03-22 18:32 ` Brian Waite
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2005-03-22 6:04 UTC (permalink / raw)
To: All Linux; +Cc: linux-kernel
On Tuesday 22 March 2005 00:32, All Linux wrote:
> The latest prepatch, 2.6.12-rc1, introduced the following change.
>
> --- a/drivers/base/platform.c 2005-03-17 17:35:04 -08:00
> +++ b/drivers/base/platform.c 2005-03-17 17:35:04 -08:00
> @@ -131,7 +131,7 @@
> pdev->dev.bus = &platform_bus_type;
>
> if (pdev->id != -1)
> - snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s%u",
> pdev->name, pdev->id);
> + snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s.%u",
> pdev->name, pdev->id);
> else
> strlcpy(pdev->dev.bus_id, pdev->name, BUS_ID_SIZE);
>
> It causes problem, as most platform files, for example,
> arch/ppc/platforms/katana.c, still use the old name without ".". I do
> not understand why bus_id "mpsc.0" is better than "mpsc0".
> Please explain what is the benefit of introducing such a change,
> before I can submit a patch for all those platform files to work with
> this change.
> Please CC me, as I am currently not in the list.
>
Devices/drivers ending with a digit, such as i8250, produce "wierd"
names - i82500, i82501, etc.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] 2.6.12-rc1, ./drivers/base/platform.c
2005-03-22 5:32 [PATCH] 2.6.12-rc1, ./drivers/base/platform.c All Linux
2005-03-22 6:04 ` Dmitry Torokhov
@ 2005-03-22 18:32 ` Brian Waite
2005-03-22 20:22 ` All Linux
1 sibling, 1 reply; 4+ messages in thread
From: Brian Waite @ 2005-03-22 18:32 UTC (permalink / raw)
To: All Linux; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
On Tuesday 22 March 2005 00:32, All Linux wrote:
> It causes problem, as most platform files, for example,
> arch/ppc/platforms/katana.c, still use the old name without ".". I do
Mark Greer recently produced a patch for the katana board among other PPC platforms
to fix this breakage. I'll look for the announcement mail but I recall seeing it a day or two ago.
Thanks
Brian
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] 2.6.12-rc1, ./drivers/base/platform.c
2005-03-22 18:32 ` Brian Waite
@ 2005-03-22 20:22 ` All Linux
0 siblings, 0 replies; 4+ messages in thread
From: All Linux @ 2005-03-22 20:22 UTC (permalink / raw)
To: Brian Waite; +Cc: linux-kernel
On Tue, 22 Mar 2005 13:32:09 -0500, Brian Waite <waite@skycomputers.com> wrote:
> On Tuesday 22 March 2005 00:32, All Linux wrote:
> > It causes problem, as most platform files, for example,
> > arch/ppc/platforms/katana.c, still use the old name without ".". I do
> Mark Greer recently produced a patch for the katana board among other PPC platforms
> to fix this breakage. I'll look for the announcement mail but I recall seeing it a day or two ago.
>
> Thanks
> Brian
>
>
>
Ok, I will wait for Mark Greer's patch. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-22 20:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 5:32 [PATCH] 2.6.12-rc1, ./drivers/base/platform.c All Linux
2005-03-22 6:04 ` Dmitry Torokhov
2005-03-22 18:32 ` Brian Waite
2005-03-22 20:22 ` All Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox