Changeset 287920f in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2006-08-09T13:27:55Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d46c6ecd
Parents:
da74747
Message:

i8042 and z8530 separated, the tree compiles again.
Now there is some duplicated code in i8042.c and z8530.c,
but that can be eliminated in slower pace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/console.c

    rda74747 r287920f  
    3838#include <genarch/fb/fb.h>
    3939#include <arch/drivers/fb.h>
    40 #include <arch/drivers/i8042.h>
    41 #include <genarch/i8042/i8042.h>
     40
     41#include <arch/drivers/kbd.h>
     42#ifdef CONFIG_Z8530
     43#include <genarch/kbd/z8530.h>
     44#endif
     45#ifdef CONFIG_16550A
     46#include <genarch/kbd/16550a.h>
     47#endif
     48
    4249#include <console/chardev.h>
    4350#include <console/console.h>
     
    7279               
    7380        while (1) {
    74                 i8042_poll();           
     81#ifdef CONFIG_Z8530
     82                z8530_poll();
     83#endif
     84#ifdef CONFIG_16550A
     85                16550a_poll();
     86#endif
    7587                thread_usleep(KEYBOARD_POLL_PAUSE);
    7688        }
Note: See TracChangeset for help on using the changeset viewer.