Changeset 357b5f5 in mainline for uspace/srv/hw/bus/cuda_adb/cuda_adb.c
- Timestamp:
- 2011-01-23T20:09:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/cuda_adb/cuda_adb.c
rcead2aa r357b5f5 162 162 rc = devmap_device_register("adb/kbd", &devmap_handle); 163 163 if (rc != EOK) { 164 devmap_hangup_phone(DEVMAP_DRIVER);165 164 printf(NAME ": Unable to register device %s.\n", "adb/kdb"); 166 165 return rc; … … 172 171 rc = devmap_device_register("adb/mouse", &devmap_handle); 173 172 if (rc != EOK) { 174 devmap_hangup_phone(DEVMAP_DRIVER);175 173 printf(NAME ": Unable to register device %s.\n", "adb/mouse"); 176 174 return rc; … … 195 193 ipc_callid_t callid; 196 194 ipc_call_t call; 197 ipcarg_t method;195 sysarg_t method; 198 196 devmap_handle_t dh; 199 197 int retval; … … 220 218 while (1) { 221 219 callid = async_get_call(&call); 222 method = IPC_GET_ METHOD(call);220 method = IPC_GET_IMETHOD(call); 223 221 switch (method) { 224 222 case IPC_M_PHONE_HUNGUP:
Note:
See TracChangeset
for help on using the changeset viewer.