Changeset 357b5f5 in mainline for uspace/srv/hid/kbd
- Timestamp:
- 2011-01-23T20:09:13Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fdb9982c
- Parents:
- cead2aa (diff), 7e36c8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/hid/kbd
- Files:
-
- 5 edited
-
generic/kbd.c (modified) (1 diff)
-
port/adb.c (modified) (2 diffs)
-
port/chardev.c (modified) (2 diffs)
-
port/ns16550.c (modified) (2 diffs)
-
port/z8530.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/generic/kbd.c
rcead2aa r357b5f5 177 177 while (1) { 178 178 callid = async_get_call(&call); 179 switch (IPC_GET_ METHOD(call)) {179 switch (IPC_GET_IMETHOD(call)) { 180 180 case IPC_M_PHONE_HUNGUP: 181 181 if (client_phone != -1) { -
uspace/srv/hid/kbd/port/adb.c
rcead2aa r357b5f5 71 71 72 72 /* NB: The callback connection is slotted for removal */ 73 ipcarg_t phonehash;73 sysarg_t phonehash; 74 74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 75 75 printf(NAME ": Failed to create callback from device\n"); … … 105 105 int retval; 106 106 107 switch (IPC_GET_ METHOD(call)) {107 switch (IPC_GET_IMETHOD(call)) { 108 108 case IPC_M_PHONE_HUNGUP: 109 109 /* TODO: Handle hangup */ -
uspace/srv/hid/kbd/port/chardev.c
rcead2aa r357b5f5 91 91 92 92 /* NB: The callback connection is slotted for removal */ 93 ipcarg_t phonehash;93 sysarg_t phonehash; 94 94 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 95 95 printf(NAME ": Failed to create callback from device\n"); … … 125 125 int retval; 126 126 127 switch (IPC_GET_ METHOD(call)) {127 switch (IPC_GET_IMETHOD(call)) { 128 128 case IPC_M_PHONE_HUNGUP: 129 129 /* TODO: Handle hangup */ -
uspace/srv/hid/kbd/port/ns16550.c
rcead2aa r357b5f5 36 36 37 37 #include <ipc/ipc.h> 38 #include <ipc/ bus.h>38 #include <ipc/irc.h> 39 39 #include <async.h> 40 40 #include <sysinfo.h> … … 122 122 123 123 if (cir_service) 124 async_msg_1(cir_phone, BUS_CLEAR_INTERRUPT,125 IPC_GET_ METHOD(*call));124 async_msg_1(cir_phone, IRC_CLEAR_INTERRUPT, 125 IPC_GET_IMETHOD(*call)); 126 126 } 127 127 -
uspace/srv/hid/kbd/port/z8530.c
rcead2aa r357b5f5 36 36 37 37 #include <ipc/ipc.h> 38 #include <ipc/ bus.h>38 #include <ipc/irc.h> 39 39 #include <async.h> 40 40 #include <sysinfo.h> … … 110 110 111 111 if (cir_service) 112 async_msg_1(cir_phone, BUS_CLEAR_INTERRUPT,113 IPC_GET_ METHOD(*call));112 async_msg_1(cir_phone, IRC_CLEAR_INTERRUPT, 113 IPC_GET_IMETHOD(*call)); 114 114 } 115 115
Note:
See TracChangeset
for help on using the changeset viewer.
