Move the non-conditional 'default KGDB_8250_NOMODULE' statement to the end of
list since otherwise the choice always defaults to it.
Signed-off-by: Sergey Shtylyov <[EMAIL PROTECTED]>
---
And I thought I fixed this in August -- apparently, either Vitaly was oblivious
to push it upstream or the patch slipped thru the cracks, like some others...
This patch goes atop of all the patchset but to apply it, you'll have to modify
several arch-specific patches which added the 'default' statements to the wrong
places. I'm not really sure how to handle such cases -- perhaps I should have
sent updates to each of these patches?
Index: linux-2.6/lib/Kconfig.kgdb
===================================================================
--- linux-2.6.orig/lib/Kconfig.kgdb
+++ linux-2.6/lib/Kconfig.kgdb
@@ -45,7 +45,6 @@ config KGDB_CONSOLE
choice
prompt "Method for KGDB communication"
depends on KGDB
- default KGDB_8250_NOMODULE
default KGDB_MPSC if SERIAL_MPSC
default KGDB_CPM_UART if (8xx || 8260)
default KGDB_SIBYTE if SIBYTE_SB1xxx_SOC
@@ -53,6 +52,7 @@ choice
default KGDB_SH_SCI if SERIAL_SH_SCI
default KGDB_PXA_SERIAL if ARCH_PXA
default KGDB_AMBA_PL011 if ARM_AMBA
+ default KGDB_8250_NOMODULE
help
There are a number of different ways in which you can communicate
with KGDB. The most common is via serial, with the 8250 driver
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport