summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/udbg.c
diff options
context:
space:
mode:
authorHector Martin <hector@marcansoft.com>2011-08-31 06:32:26 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 09:20:05 +1000
commitc26afe9e8591f306d79aab8071f1d34e4f60b700 (patch)
treeee3e49fef2343c1bf8e752c4a29be9371c143a24 /arch/powerpc/kernel/udbg.c
parent8feaa43494cee5e938fd5a57b9e9bf1c827e6ccd (diff)
downloadlwn-c26afe9e8591f306d79aab8071f1d34e4f60b700.tar.gz
lwn-c26afe9e8591f306d79aab8071f1d34e4f60b700.zip
powerpc/ps3: Add gelic udbg driver
Add a new udbg driver for the PS3 gelic Ehthernet device. This driver shares only a few stucture and constant definitions with the gelic Ethernet device driver, so is implemented as a stand-alone driver with no dependencies on the gelic Ethernet device driver. Signed-off-by: Hector Martin <hector@marcansoft.com> Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/udbg.c')
-rw-r--r--arch/powerpc/kernel/udbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c
index faa82c1f3f68..5b3e98e03158 100644
--- a/arch/powerpc/kernel/udbg.c
+++ b/arch/powerpc/kernel/udbg.c
@@ -67,6 +67,8 @@ void __init udbg_early_init(void)
udbg_init_usbgecko();
#elif defined(CONFIG_PPC_EARLY_DEBUG_WSP)
udbg_init_wsp();
+#elif defined(CONFIG_PPC_EARLY_DEBUG_PS3GELIC)
+ udbg_init_ps3gelic();
#endif
#ifdef CONFIG_PPC_EARLY_DEBUG