All of lore.kernel.org
 help / color / mirror / Atom feed
* board/device file names, and machine names
@ 2010-03-02 21:29 Daniel Walker
  2010-03-02 22:56 ` Brian Swetland
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Daniel Walker @ 2010-03-02 21:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I was wondering if you (or the list) had any suggestions for proper
names to use in these two cases. Under mach-msm we have tons of devices
that could be added, and it can sometimes be hard to isolate a sane
name ..

I'll use the Nexus One device as an example .. HTC originally called
this device the HTC Passion prior to release.. Google named the same
device "mahimahi" prior to release .. Then finally it was released as
Nexus One .

So one device has at least three names (more I'm sure),

	Passion
	Mahimahi
	Nexus One

Google has most of the code support under board files with the name
mahimahi.

To me it makes a lot more sense to use a mass marketed name like "Nexus
One" .. Few people know what an HTC Passion is, and extremely few know
what "mahimahi" is.

Here is a link to mach-msm from Google's tree so you can see the naming
they use,

http://android.git.kernel.org/?p=kernel/msm.git;a=tree;f=arch/arm/mach-msm;h=f67bef98c885df15781d3122e3325f6164884118;hb=refs/heads/android-msm-2.6.29-nexusone

Another example of this is,

arch/arm/mach-msm/board-trout.c

which in mainline we renamed to,

arch/arm/mach-msm/board-dream.c

Dream is actually a released name, so it seems to make more sense.
However, there are many other names we could have used.

machine_is_xx names have a similar kind of problem .. However, it's lot
easier to mainline a machine_is_xxx name ..

Any comments welcome, since this stuff is disputed and up in the air.
I'm sure many other projects have faced similar problems also.

Daniel

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

end of thread, other threads:[~2010-03-03 22:27 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02 21:29 board/device file names, and machine names Daniel Walker
2010-03-02 22:56 ` Brian Swetland
2010-03-02 23:29   ` Daniel Walker
2010-03-02 23:38     ` Brian Swetland
2010-03-03  3:42     ` Bill Gatliff
2010-03-03  3:36   ` Bill Gatliff
2010-03-03  8:00     ` Brian Swetland
2010-03-03 19:08   ` Theodore Tso
2010-03-03 19:22     ` Theodore Tso
2010-03-03 19:24     ` Russell King - ARM Linux
2010-03-02 23:51 ` Russell King - ARM Linux
2010-03-03  0:39   ` Daniel Walker
2010-03-03  0:47     ` Tim Bird
2010-03-03  0:52       ` Daniel Walker
2010-03-03  1:01         ` Brian Swetland
2010-03-03  3:52     ` Bill Gatliff
2010-03-03  8:42     ` Russell King - ARM Linux
2010-03-03  9:17       ` Pavel Machek
2010-03-03  9:47         ` Russell King - ARM Linux
2010-03-03 10:00           ` Pavel Machek
2010-03-03 10:08             ` Russell King - ARM Linux
2010-03-03 10:18               ` Pavel Machek
2010-03-03 10:18                 ` Pavel Machek
2010-03-03 10:19                 ` Russell King - ARM Linux
2010-03-03 10:19                   ` Russell King - ARM Linux
2010-03-03 14:24                   ` Pavel Machek
2010-03-03 14:24                     ` Pavel Machek
2010-03-03 14:38       ` Daniel Walker
2010-03-03 22:08   ` Nicolas Pitre
2010-03-03 22:27     ` Brian Swetland
2010-03-03  3:25 ` Bill Gatliff

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.