From: Joachim Fenkes Date: Wed, 29 Aug 2007 16:15:17 +0000 (+0200) Subject: [POWERPC] ibmebus: Prevent bus_id collisions X-Git-Tag: v2.6.23-rc6~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8612417b2f78767b96ca434b50d23e5cdfcde07;p=pandora-kernel.git [POWERPC] ibmebus: Prevent bus_id collisions Previously, ibmebus derived a device's bus_id from its location code. The location code is not guaranteed to be unique, so we might get bus_id collisions if two devices share the same location code. The OFDT full_name, however, is unique, so we use that instead (truncating it on the left if it is too long). Signed-off-by: Joachim Fenkes Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed