Changeset 8b4be29 in mainline
- Timestamp:
- 2006-08-09T18:33:32Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f24137
- Parents:
- d46c6ecd
- Location:
- kernel
- Files:
-
- 3 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
rd46c6ecd r8b4be29 62 62 63 63 CONFIG_I8042 = y 64 DEFS += -DCONFIG_I8042 64 65 65 66 ## Accepted configuration directives -
kernel/arch/ia32/Makefile.inc
rd46c6ecd r8b4be29 81 81 82 82 CONFIG_I8042 = y 83 DEFS += -DCONFIG_I8042 83 84 84 85 ## Accepted configuration directives -
kernel/arch/sparc64/Makefile.inc
rd46c6ecd r8b4be29 61 61 CONFIG_FB = y 62 62 63 ## Compile with support for z8530 controller.64 #65 63 66 CONFIG_Z8530 = y 67 DEFS += -DCONFIG_Z8530 64 ifeq ($(MACHINE),enterprise) 65 ## Compile with support for z8530 controller. 66 # 67 68 CONFIG_Z8530 = y 69 DEFS += -DCONFIG_Z8530 70 endif 71 ifeq ($(MACHINE),ultra) 72 ## Compile with support for ns16550 controller. 73 # 74 75 CONFIG_NS16550 = y 76 DEFS += -DCONFIG_NS16550 77 78 DEFS += -DKBD_ADDR_OVRD=0x1fff13083f8ULL 79 endif 80 68 81 69 82 ARCH_SOURCES = \ -
kernel/arch/sparc64/src/console.c
rd46c6ecd r8b4be29 43 43 #include <genarch/kbd/z8530.h> 44 44 #endif 45 #ifdef CONFIG_ 16550A46 #include <genarch/kbd/ 16550a.h>45 #ifdef CONFIG_NS16550 46 #include <genarch/kbd/ns16550.h> 47 47 #endif 48 48 … … 65 65 bootinfo.screen.bpp, bootinfo.screen.scanline, true); 66 66 67 #ifdef KBD_ADDR_OVRD 68 if (!bootinfo.keyboard.addr) 69 bootinfo.keyboard.addr = KBD_ADDR_OVRD; 70 #endif 71 67 72 if (bootinfo.keyboard.addr) 68 73 kbd_init(); … … 82 87 z8530_poll(); 83 88 #endif 84 #ifdef CONFIG_ 16550A85 16550a_poll();89 #ifdef CONFIG_NS16550 90 ns16550_poll(); 86 91 #endif 87 92 thread_usleep(KEYBOARD_POLL_PAUSE); -
kernel/arch/sparc64/src/drivers/kbd.c
rd46c6ecd r8b4be29 37 37 #include <genarch/kbd/z8530.h> 38 38 #endif 39 #ifdef CONFIG_ 16650A40 #include <genarch/kbd/ 16650a.h>39 #ifdef CONFIG_NS16550 40 #include <genarch/kbd/ns16550.h> 41 41 #endif 42 42 … … 70 70 z8530_init(); 71 71 #endif 72 #ifdef CONFIG_ 16650A73 16650A_init();72 #ifdef CONFIG_NS16550 73 ns16550_init(); 74 74 #endif 75 75 } -
kernel/genarch/Makefile.inc
rd46c6ecd r8b4be29 80 80 genarch/src/kbd/scanc_sun.c 81 81 endif 82 83 ## ns16550 controller 84 ifeq ($(CONFIG_NS16550),y) 85 GENARCH_SOURCES += \ 86 genarch/src/kbd/ns16550.c \ 87 genarch/src/kbd/key.c \ 88 genarch/src/kbd/scanc_sun.c 89 endif -
kernel/genarch/src/kbd/key.c
rd46c6ecd r8b4be29 37 37 #include <genarch/kbd/key.h> 38 38 #include <genarch/kbd/scanc.h> 39 #ifdef CONFIG_I8042 39 40 #include <genarch/kbd/scanc_pc.h> 41 #endif 42 #if (defined(CONFIG_Z8530) || defined(CONFIG_NS16550)) 43 #include <genarch/kbd/scanc_sun.h> 44 #endif 40 45 #include <synch/spinlock.h> 41 46 #include <console/chardev.h> -
kernel/kernel.config
rd46c6ecd r8b4be29 36 36 @ "indy" SGI Indy 37 37 ! [ARCH=mips32] MACHINE (choice) 38 39 # Machine type 40 @ "ultra" Sun Ultra 5 41 @ "enterprise" Sun Enterprise E6500 42 ! [ARCH=sparc64] MACHINE (choice) 38 43 39 44 # Framebuffer support
Note:
See TracChangeset
for help on using the changeset viewer.