Changeset 97c7682 in mainline for uspace/drv/bus


Ignore:
Timestamp:
2012-07-14T11:18:40Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
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.
Message:

Merge mainline changes.

Text conflict in boot/arch/arm32/Makefile.inc:

Trivial conflict around ifeq condition.

Text conflict in kernel/arch/arm32/include/mm/page.h:

Added defines and set_pt_levelx_present function.
COnflict looked horrible because of the armv4/v7 split.

Location:
uspace/drv/bus
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/isa.c

    r0747468 r97c7682  
    201201
    202202        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);
    204205                return NULL;
     206        }
    205207
    206208        fibril_mutex_initialize(&fun->mutex);
     
    552554
    553555        isa_fun_t *fun = isa_fun_create(isa, fun_name);
     556        free(fun_name);
    554557        if (fun == NULL) {
    555                 free(fun_name);
    556558                return NULL;
    557559        }
  • uspace/drv/bus/usb/ehci/res.c

    r0747468 r97c7682  
    109109        return EOK;
    110110}
    111 /*----------------------------------------------------------------------------*/
     111
    112112/** Calls the PCI driver with a request to enable interrupts
    113113 *
     
    127127        return enabled ? EOK : EIO;
    128128}
    129 /*----------------------------------------------------------------------------*/
     129
    130130/** Implements BIOS hands-off routine as described in EHCI spec
    131131 *
  • uspace/drv/bus/usb/ohci/utils/malloc32.h

    r0747468 r97c7682  
    3737#include <assert.h>
    3838#include <malloc.h>
     39#include <unistd.h>
    3940#include <errno.h>
    4041#include <mem.h>
  • uspace/drv/bus/usb/uhci/res.c

    r0747468 r97c7682  
    8686        return EOK;
    8787}
    88 /*----------------------------------------------------------------------------*/
     88
    8989/** Call the PCI driver with a request to enable interrupts
    9090 *
     
    105105        return enabled ? EOK : EIO;
    106106}
    107 /*----------------------------------------------------------------------------*/
     107
    108108/** Call the PCI driver with a request to clear legacy support register
    109109 *
  • uspace/drv/bus/usb/uhci/utils/malloc32.h

    r0747468 r97c7682  
    3636
    3737#include <assert.h>
     38#include <unistd.h>
    3839#include <errno.h>
    3940#include <malloc.h>
     
    9899static inline void * get_page(void)
    99100{
    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,
    101102            AS_AREA_READ | AS_AREA_WRITE);
    102         if (address == (void *) -1)
     103        if (address == AS_MAP_FAILED)
    103104                return NULL;
    104105       
  • uspace/drv/bus/usb/usbmast/main.c

    r0747468 r97c7682  
    302302       
    303303        (void) async_share_out_finalize(callid, &comm_buf);
    304         if (comm_buf == (void *) -1) {
     304        if (comm_buf == AS_MAP_FAILED) {
    305305                async_answer_0(callid, EHANGUP);
    306306                return;
  • uspace/drv/bus/usb/vhc/conndev.c

    r0747468 r97c7682  
    6969       
    7070        if (data_request == 0) {
    71                 async_wait_for(opening_request, NULL);
     71                async_forget(opening_request);
    7272                return;
    7373        }
Note: See TracChangeset for help on using the changeset viewer.