[SPARC64]: Fix handling of multiple vdc-port nodes.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 18 Jul 2007 22:15:45 +0000 (15:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 20 Jul 2007 04:27:18 +0000 (21:27 -0700)
commit91ba3c2128e9ee490a9f04bcd5b54749b18e4410
treec90f5711b990468dc684a8859cc9c498b8d4163d
parent48db7b7c50cdb06c85f0ff01b5c19ac34903048b
[SPARC64]: Fix handling of multiple vdc-port nodes.

The "id" property in vdc-port nodes are not unique, they
are all zero.  Therefore assign ID's using the parent's
"cfg-handle" property which will be unique.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/mdesc.c
arch/sparc64/kernel/vio.c
drivers/block/sunvdc.c
include/asm-sparc64/vio.h