]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Improve VIO device naming further.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 20 Jul 2007 05:51:07 +0000 (22:51 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 21 Jul 2007 00:14:13 +0000 (17:14 -0700)
commit58fb666643acee28d347de0b59bb938844c22f83
tree6e05fe6f948720e4bf4e0be9e7ed757d3003dd77
parent3d6e470236bc759f43c9f2377899b526a50e2e63
[SPARC64]: Improve VIO device naming further.

The best scheme to get uniqueness seems to be:

FOO -- If node lacks "id" property
FOO-$(ID) -- If node has "id" but parent lacks "cfg-handle"
FOO-$(ID)-$(CFG_HANDLE) -- If node has both

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/vio.c