Changes in / [3ce5162:ed6fdc7] in mainline
- Location:
- uspace
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/isa.c
r3ce5162 red6fdc7 401 401 402 402 val = skip_spaces(val); 403 irq = (int) 403 irq = (int)strtol(val, &end, 10); 404 404 405 405 if (val != end) -
uspace/drv/bus/usb/usbhid/mouse/mousedev.c
r3ce5162 red6fdc7 167 167 return result; 168 168 } 169 169 /*----------------------------------------------------------------------------*/ 170 170 static bool usb_mouse_process_report(usb_hid_dev_t *hid_dev, 171 171 usb_mouse_t *mouse_dev) … … 305 305 return EOK; 306 306 } 307 307 /*----------------------------------------------------------------------------*/ 308 308 /** Get highest index of a button mentioned in given report. 309 309 * -
uspace/drv/nic/e1k/e1k.c
r3ce5162 red6fdc7 1402 1402 fibril_mutex_unlock(&e1000->rx_lock); 1403 1403 return EOK; 1404 1405 1404 error: 1406 1405 for (i = 0; i < E1000_RX_FRAME_COUNT; i++) { … … 1411 1410 } 1412 1411 } 1413 1414 1412 if (e1000->rx_frame_phys != NULL) { 1415 1413 free(e1000->rx_frame_phys); 1416 1414 e1000->rx_frame_phys = NULL; 1417 1415 } 1418 1419 1416 if (e1000->rx_frame_virt != NULL) { 1420 1417 free(e1000->rx_frame_virt); 1421 1418 e1000->rx_frame_phys = NULL; 1422 1419 } 1423 1424 1420 return rc; 1425 1421 } … … 1646 1642 e1000->tx_frame_phys = NULL; 1647 1643 } 1648 1649 1644 dmamem_unmap_anonymous(e1000->tx_ring_virt); 1650 1645 } -
uspace/drv/nic/lo/lo.c
r3ce5162 red6fdc7 127 127 printf("%s: Adding loopback device '%s'\n", NAME, dev->name); 128 128 return EOK; 129 130 129 error: 131 130 if (bound) 132 131 ddf_fun_unbind(fun); 133 134 132 if (fun != NULL) 135 133 ddf_fun_destroy(fun); -
uspace/drv/nic/rtl8139/general.h
r3ce5162 red6fdc7 29 29 /** @file 30 30 * 31 * General functions and structures used in rtl8139 driver31 * General functions and structures used in rtl8139 driver 32 32 */ 33 33 -
uspace/lib/drv/include/usbhc_iface.h
r3ce5162 red6fdc7 27 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 28 */ 29 30 29 /** @addtogroup libdrv 31 30 * @addtogroup usb 32 31 * @{ 33 32 */ 34 35 33 /** @file 36 34 * @brief USB host controller interface definition. -
uspace/srv/loc/loc.c
r3ce5162 red6fdc7 813 813 * On success, answer will contain EOK int retval. 814 814 * On failure, error code will be sent in retval. 815 *816 815 */ 817 816 static void loc_callback_create(ipc_callid_t iid, ipc_call_t *icall) 818 817 { 819 cb_sess_t *cb_sess = calloc(1, sizeof(cb_sess_t)); 818 cb_sess_t *cb_sess; 819 820 cb_sess = calloc(1, sizeof(cb_sess_t)); 820 821 if (cb_sess == NULL) { 821 822 async_answer_0(iid, ENOMEM); -
uspace/srv/net/net/net.h
r3ce5162 red6fdc7 96 96 97 97 /** Serving network interface driver module index. */ 98 service_id_t sid; 99 async_sess_t *sess; /**< Driver session. */98 service_id_t sid; /**< Service ID */ 99 async_sess_t *sess; /**< Driver session. */ 100 100 101 101 module_t *nil; /**< Serving link layer module index. */ -
uspace/srv/net/nil/nildummy/nildummy.c
r3ce5162 red6fdc7 360 360 services_t sender) 361 361 { 362 packet_t *p; 363 362 364 fibril_rwlock_read_lock(&nildummy_globals.devices_lock); 363 365 … … 369 371 } 370 372 371 p acket_t *p= packet;373 p = packet; 372 374 do { 373 375 nic_send_frame(device->sess, packet_get_data(p),
Note:
See TracChangeset
for help on using the changeset viewer.