summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/82xx
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2007-03-22 17:00:46 +0100
committerPaul Mackerras <paulus@samba.org>2007-04-13 06:12:42 +1000
commit0727702a3a6a9e33db4a4f9a038327d014753b6e (patch)
tree93927603e896da1d5eb8e774502f4ac609b122ab /arch/powerpc/platforms/82xx
parent370a908db154f51008cea41e67e7409efa251c7b (diff)
downloadlinux-3.10-0727702a3a6a9e33db4a4f9a038327d014753b6e.tar.gz
linux-3.10-0727702a3a6a9e33db4a4f9a038327d014753b6e.tar.bz2
linux-3.10-0727702a3a6a9e33db4a4f9a038327d014753b6e.zip
[POWERPC] ibmebus: change probe/remove interface from using loc-code to DT path
In some cases, multiple OFDT nodes might share the same location code, so the location code is not a unique identifier for an OFDT node. Changed the ibmebus probe/remove interface to use the DT path of the device node instead of the location code. The DT path must be written into probe/remove right as it would appear in the "devspec" attribute of the ebus device: relative to the DT root, with a leading slash and without a trailing slash. One trailing newline will not hurt; multiple newlines will (like perl's chomp()). Example: Add a device "/proc/device-tree/foo@12345678" to ibmebus like this: echo /foo@12345678 > /sys/bus/ibmebus/probe Remove the device like this: echo /foo@12345678 > /sys/bus/ibmebus/remove Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/82xx')
0 files changed, 0 insertions, 0 deletions