Changeset 474afc9 in mainline for uspace/drv
- Timestamp:
- 2011-02-04T22:40:13Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4d73d71
- Parents:
- 89acf204 (diff), e29e09cf (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/drv
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ns8250/ns8250.c
r89acf204 r474afc9 256 256 257 257 if (dev->parent_phone > 0) { 258 ipc_hangup(dev->parent_phone);258 async_hangup(dev->parent_phone); 259 259 dev->parent_phone = 0; 260 260 } … … 888 888 ns8250_get_props(dev, &baud_rate, &parity, &word_length, 889 889 &stop_bits); 890 ipc_answer_4(callid, EOK, baud_rate, parity, word_length,890 async_answer_4(callid, EOK, baud_rate, parity, word_length, 891 891 stop_bits); 892 892 break; … … 899 899 ret = ns8250_set_props(dev, baud_rate, parity, word_length, 900 900 stop_bits); 901 ipc_answer_0(callid, ret);901 async_answer_0(callid, ret); 902 902 break; 903 903 904 904 default: 905 ipc_answer_0(callid, ENOTSUP);905 async_answer_0(callid, ENOTSUP); 906 906 } 907 907 } -
uspace/drv/pciintel/pci.c
r89acf204 r474afc9 478 478 "the device.\n"); 479 479 delete_pci_bus_data(bus_data); 480 ipc_hangup(dev->parent_phone);480 async_hangup(dev->parent_phone); 481 481 return rc; 482 482 } … … 496 496 printf(NAME ": failed to enable configuration ports.\n"); 497 497 delete_pci_bus_data(bus_data); 498 ipc_hangup(dev->parent_phone);498 async_hangup(dev->parent_phone); 499 499 hw_res_clean_resource_list(&hw_resources); 500 500 return EADDRNOTAVAIL; -
uspace/drv/test2/test2.c
r89acf204 r474afc9 103 103 if (dev->parent == NULL) { 104 104 fid_t postpone = fibril_create(postponed_birth, dev); 105 if (postpone == 0) { 106 printf(NAME ": fibril_create() error\n"); 107 return ENOMEM; 108 } 105 109 fibril_add_ready(postpone); 106 110 } else { -
uspace/drv/uhci-hcd/pci.c
r89acf204 r474afc9 117 117 rc = EOK; 118 118 leave: 119 ipc_hangup(parent_phone);119 async_hangup(parent_phone); 120 120 121 121 return rc; -
uspace/drv/usbhid/main.c
r89acf204 r474afc9 83 83 84 84 if (console_callback_phone != -1) { 85 ipc_answer_0(icallid, ELIMIT);85 async_answer_0(icallid, ELIMIT); 86 86 return; 87 87 } 88 88 89 89 console_callback_phone = callback; 90 ipc_answer_0(icallid, EOK);90 async_answer_0(icallid, EOK); 91 91 return; 92 92 } 93 93 94 ipc_answer_0(icallid, EINVAL);94 async_answer_0(icallid, EINVAL); 95 95 } 96 96 -
uspace/drv/usbhub/usbhub.c
r89acf204 r474afc9 199 199 //ports powered, hub seems to be enabled 200 200 201 ipc_hangup(hc);201 async_hangup(hc); 202 202 203 203 //add the hub to list … … 502 502 free(change_bitmap); 503 503 504 ipc_hangup(hc);504 async_hangup(hc); 505 505 fibril_mutex_lock(&usb_hub_list_lock); 506 506 } -
uspace/drv/vhc/conndev.c
r89acf204 r474afc9 90 90 = virtdev_add_device(callback, (sysarg_t)fibril_get_id()); 91 91 if (!dev) { 92 ipc_answer_0(icallid, EEXISTS);93 ipc_hangup(callback);92 async_answer_0(icallid, EEXISTS); 93 async_hangup(callback); 94 94 return; 95 95 } 96 ipc_answer_0(icallid, EOK);96 async_answer_0(icallid, EOK); 97 97 98 98 char devname[DEVICE_NAME_MAXLENGTH + 1]; … … 105 105 } 106 106 107 ipc_answer_0(icallid, EINVAL);107 async_answer_0(icallid, EINVAL); 108 108 } 109 109 -
uspace/drv/vhc/devices.c
r89acf204 r474afc9 34 34 */ 35 35 36 #include <ipc/ipc.h>37 36 #include <adt/list.h> 38 37 #include <bool.h> -
uspace/drv/vhc/hc.c
r89acf204 r474afc9 34 34 */ 35 35 36 #include <ipc/ipc.h>37 36 #include <adt/list.h> 38 37 #include <bool.h> -
uspace/drv/vhc/hcd.c
r89acf204 r474afc9 35 35 36 36 #include <devmap.h> 37 #include <ipc/ipc.h>38 37 #include <async.h> 39 38 #include <unistd.h>
Note:
See TracChangeset
for help on using the changeset viewer.