Changeset 97c7682 in mainline for uspace/drv/bus
- Timestamp:
- 2012-07-14T11:18:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 804d9b6
- Parents:
- 0747468 (diff), f0348c8 (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/bus
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/isa.c
r0747468 r97c7682 201 201 202 202 isa_fun_t *fun = ddf_fun_data_alloc(fnode, sizeof(isa_fun_t)); 203 if (fun == NULL) 203 if (fun == NULL) { 204 ddf_fun_destroy(fnode); 204 205 return NULL; 206 } 205 207 206 208 fibril_mutex_initialize(&fun->mutex); … … 552 554 553 555 isa_fun_t *fun = isa_fun_create(isa, fun_name); 556 free(fun_name); 554 557 if (fun == NULL) { 555 free(fun_name);556 558 return NULL; 557 559 } -
uspace/drv/bus/usb/ehci/res.c
r0747468 r97c7682 109 109 return EOK; 110 110 } 111 /*----------------------------------------------------------------------------*/ 111 112 112 /** Calls the PCI driver with a request to enable interrupts 113 113 * … … 127 127 return enabled ? EOK : EIO; 128 128 } 129 /*----------------------------------------------------------------------------*/ 129 130 130 /** Implements BIOS hands-off routine as described in EHCI spec 131 131 * -
uspace/drv/bus/usb/ohci/utils/malloc32.h
r0747468 r97c7682 37 37 #include <assert.h> 38 38 #include <malloc.h> 39 #include <unistd.h> 39 40 #include <errno.h> 40 41 #include <mem.h> -
uspace/drv/bus/usb/uhci/res.c
r0747468 r97c7682 86 86 return EOK; 87 87 } 88 /*----------------------------------------------------------------------------*/ 88 89 89 /** Call the PCI driver with a request to enable interrupts 90 90 * … … 105 105 return enabled ? EOK : EIO; 106 106 } 107 /*----------------------------------------------------------------------------*/ 107 108 108 /** Call the PCI driver with a request to clear legacy support register 109 109 * -
uspace/drv/bus/usb/uhci/utils/malloc32.h
r0747468 r97c7682 36 36 37 37 #include <assert.h> 38 #include <unistd.h> 38 39 #include <errno.h> 39 40 #include <malloc.h> … … 98 99 static inline void * get_page(void) 99 100 { 100 void *address = as_area_create( (void *) -1, UHCI_REQUIRED_PAGE_SIZE,101 void *address = as_area_create(AS_AREA_ANY, UHCI_REQUIRED_PAGE_SIZE, 101 102 AS_AREA_READ | AS_AREA_WRITE); 102 if (address == (void *) -1)103 if (address == AS_MAP_FAILED) 103 104 return NULL; 104 105 -
uspace/drv/bus/usb/usbmast/main.c
r0747468 r97c7682 302 302 303 303 (void) async_share_out_finalize(callid, &comm_buf); 304 if (comm_buf == (void *) -1) {304 if (comm_buf == AS_MAP_FAILED) { 305 305 async_answer_0(callid, EHANGUP); 306 306 return; -
uspace/drv/bus/usb/vhc/conndev.c
r0747468 r97c7682 69 69 70 70 if (data_request == 0) { 71 async_ wait_for(opening_request, NULL);71 async_forget(opening_request); 72 72 return; 73 73 }
Note:
See TracChangeset
for help on using the changeset viewer.