pseries: Check for duplicate addresses on the spapr-vio bus
commit9fc380d3ed1cfac7d87dbe2a140e465cac58ed7b
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 12 Dec 2011 18:24:35 +0000 (12 18:24 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 14:49:12 +0000 (3 15:49 +0100)
treedb4788b15b48796ad62334c3e95e3c9f0c0e2772
parent68f3a94c64bbaaf8c7f2daa70de1b5d87a432f86
pseries: Check for duplicate addresses on the spapr-vio bus

Check that devices on the spapr vio bus aren't given duplicate
addresses. Currently we will not run with duplicate devices, the
fdt code will spot it, but the error reporting is not great. With
this patch we can report the error nicely in terms of the device
names given by the user.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr_vio.c