Changeset 8a5962f in mainline


Ignore:
Timestamp:
2011-11-14T09:32:23Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ec388d7
Parents:
9991c47
Message:

libdrv, hw_res: Add forgotten ddf_fun_t* argument.

Set pointer to uint32_t, ISA DMA is limited to 24 bit addresses.

Location:
uspace/lib/drv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_hw_res.c

    r9991c47 r8a5962f  
    11/*
    22 * Copyright (c) 2010 Lenka Trochtova
     3 * Copyright (c) 2011 Jan Vesely
    34 * All rights reserved.
    45 *
     
    112113
    113114        const int ret = hw_res_ops->dma_channel_setup(
    114             channel, address, size, mode);
     115            fun, channel, address, size, mode);
    115116        async_answer_0(callid, ret);
    116117}
  • uspace/lib/drv/include/ops/hw_res.h

    r9991c47 r8a5962f  
    11/*
    2  * Copyright (c) 2010 Lenka Trochtova
     2 * Copyright (c) 2010 Lenka Trochtova
     3 * Copyright (c) 2011 Jan Vesely
    34 * All rights reserved.
    45 *
     
    4445         hw_resource_list_t *(*get_resource_list)(ddf_fun_t *);
    4546         bool (*enable_interrupt)(ddf_fun_t *);
    46          int (*dma_channel_setup)(unsigned, uintptr_t, uint16_t, uint8_t);
     47         int (*dma_channel_setup)(ddf_fun_t *,
     48             unsigned, uint32_t, uint16_t, uint8_t);
    4749} hw_res_ops_t;
    4850
Note: See TracChangeset for help on using the changeset viewer.