dragon: Switch COCO_KBD to CONFIG_COCO_KBD
authorAlan Cox <alan@linux.intel.com>
Sat, 9 May 2015 17:12:37 +0000 (18:12 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 9 May 2015 17:12:37 +0000 (18:12 +0100)
One day we'll get a nice configuration system so keep real platform type
config items with CONFIG_ naming.

Kernel/platform-dragon-nx32/config.h
Kernel/platform-dragon-nx32/devtty.c
Kernel/platform-dragon/config.h
Kernel/platform-dragon/devtty.c

index ed78345..9baef76 100644 (file)
@@ -37,7 +37,7 @@ extern unsigned char vt_mangle_6847(unsigned char c);
 #define VT_MAP_CHAR(x) vt_mangle_6847(x)
 
 /* RS/Tandy Color Computer keyboard */
-#undef COCO_KBD
+#undef CONFIG_COCO_KBD
 
 #define TICKSPERSEC 50   /* Ticks per second */
 /* FIXME: This will move once we put the display in the kernel bank and
index a1e421c..35502e2 100644 (file)
@@ -141,7 +141,7 @@ static void keyproc(void)
        }
 }
 
-#ifdef COCO_KBD
+#ifdef CONFIG_COCO_KBD
 uint8_t keyboard[8][7] = {
        { '@', 'h', 'p', 'x', '0', '8', KEY_ENTER },
        { 'a', 'i', 'q', 'y', '1', '9', 0 /* clear - used as ctrl*/ },
index ad81e32..ba5a0c6 100644 (file)
@@ -37,7 +37,7 @@ extern unsigned char vt_mangle_6847(unsigned char c);
 #define VT_MAP_CHAR(x) vt_mangle_6847(x)
 
 /* RS/Tandy Color Computer keyboard */
-#undef COCO_KBD
+#undef CONFIG_COCO_KBD
 
 #define TICKSPERSEC 50   /* Ticks per second */
 /* FIXME: This will move once we put the display in the kernel bank and
index a1e421c..35502e2 100644 (file)
@@ -141,7 +141,7 @@ static void keyproc(void)
        }
 }
 
-#ifdef COCO_KBD
+#ifdef CONFIG_COCO_KBD
 uint8_t keyboard[8][7] = {
        { '@', 'h', 'p', 'x', '0', '8', KEY_ENTER },
        { 'a', 'i', 'q', 'y', '1', '9', 0 /* clear - used as ctrl*/ },