Changes in uspace/srv/hid/kbd/port/sun.c [d9fae235:b3d513f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/sun.c
rd9fae235 rb3d513f 39 39 #include <sun.h> 40 40 #include <sysinfo.h> 41 #include <errno.h>42 #include <bool.h>43 41 44 42 /** Sun keyboard virtual port driver. … … 52 50 int kbd_port_init(void) 53 51 { 54 sysarg_t z8530; 55 if (sysinfo_get_value("kbd.type.z8530", &z8530) != EOK) 56 z8530 = false; 57 58 sysarg_t ns16550; 59 if (sysinfo_get_value("kbd.type.ns16550", &ns16550) != EOK) 60 ns16550 = false; 61 62 if (z8530) { 52 if (sysinfo_value("kbd.type.z8530")) { 63 53 if (z8530_port_init() == 0) 64 54 return 0; 65 55 } 66 56 67 if ( ns16550) {57 if (sysinfo_value("kbd.type.ns16550")) { 68 58 if (ns16550_port_init() == 0) 69 59 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.