Changeset 153cc76a in mainline for uspace/lib/drv
- Timestamp:
- 2011-12-23T16:42:22Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e1b130
- Parents:
- 4291215 (diff), 2f0dd2a (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/lib/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r4291215 r153cc76a 198 198 pseudocode = &default_pseudocode; 199 199 200 int res = register_irq(irq, dev->handle, ctx->id, pseudocode);200 int res = irq_register(irq, dev->handle, ctx->id, pseudocode); 201 201 if (res != EOK) { 202 202 remove_interrupt_context(&interrupt_contexts, ctx); … … 211 211 interrupt_context_t *ctx = find_interrupt_context(&interrupt_contexts, 212 212 dev, irq); 213 int res = unregister_irq(irq, dev->handle);213 int res = irq_unregister(irq, dev->handle); 214 214 215 215 if (ctx != NULL) { -
uspace/lib/drv/include/ops/hw_res.h
r4291215 r153cc76a 1 1 /* 2 * Copyright (c) 2010 Lenka Trochtova 2 * Copyright (c) 2010 Lenka Trochtova 3 * Copyright (c) 2011 Jan Vesely 3 4 * All rights reserved. 4 5 * … … 42 43 43 44 typedef struct { 44 hw_resource_list_t *(*get_resource_list)(ddf_fun_t *); 45 bool (*enable_interrupt)(ddf_fun_t *); 45 hw_resource_list_t *(*get_resource_list)(ddf_fun_t *); 46 bool (*enable_interrupt)(ddf_fun_t *); 47 int (*dma_channel_setup)(ddf_fun_t *, unsigned, uint32_t, uint16_t, uint8_t); 46 48 } hw_res_ops_t; 47 49
Note:
See TracChangeset
for help on using the changeset viewer.