mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] "/sys/devices/legacy" is an offending term
@ 2003-10-23 10:50 Holger Schurig
  0 siblings, 0 replies; only message in thread
From: Holger Schurig @ 2003-10-23 10:50 UTC (permalink / raw)
  To: linux-kernel

>   echo 50 > /sys/devices/legacy/sa1100fb/brightness
 
Is there any change to get rid of this "legacy"?  From my (still quite 
limited) understanding of the english language, this means old/outdated 
and has a not-so-good connotation. It's not just a fact, but puts a 
negative value into something. But maybe I'm wrong.
 
Anyway, on embedded arches it makes no sense to say "Oh, PCI is all wow, 
non-pci is all boo".


I talked on the arm-linux-kernel mailing list and Russell King answered:

> I brought this exact point up with Pat Mochel at OLS this year.  At
> the time, he agreed that it should be renamed to "platform".
>
> I don't know if such a change will now be allowed for the 2.6 series,
> since it'll effectively be a user-visible interface change.
>
> I do know that Pat is heavily overloaded with work, which probably
> explains why it hasn't happened.

In the hope that this happens I included a patch below.

If wished, I can provide a bigger patch that renames "
legacy_bus" to "legacy_bus" as well.


#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- linux-2.6/drivers/base/platform.c~legacy-platform
+++ linux-2.6/drivers/base/platform.c
@@ -15,7 +15,7 @@
 #include <linux/init.h>

 struct device legacy_bus = {
-       .bus_id         = "legacy",
+       .bus_id         = "platform",
 };

 /**


-- 
Try Linux 2.6 from BitKeeper for PXA2x0 CPUs at
http://www.mn-logistik.de/unsupported/linux-2.6/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-23 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 10:50 [PATCH] "/sys/devices/legacy" is an offending term Holger Schurig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome