Changeset 5a6cc679 in mainline for uspace/drv/bus/isa/i8237.c
- Timestamp:
- 2018-01-31T02:21:24Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
-
uspace/drv/bus/isa/i8237.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/i8237.c
r132ab5d1 r5a6cc679 279 279 * 280 280 */ 281 static inline int dma_controller_init(dma_controller_t *controller)281 static inline errno_t dma_controller_init(dma_controller_t *controller) 282 282 { 283 283 assert(controller); 284 int ret = pio_enable(DMA_CONTROLLER_PAGE_BASE, sizeof(dma_page_regs_t),284 errno_t ret = pio_enable(DMA_CONTROLLER_PAGE_BASE, sizeof(dma_page_regs_t), 285 285 (void **) &controller->page_table); 286 286 if (ret != EOK) … … 339 339 * @return Error code. 340 340 */ 341 int dma_channel_setup(unsigned int channel, uint32_t pa, uint32_t size,341 errno_t dma_channel_setup(unsigned int channel, uint32_t pa, uint32_t size, 342 342 uint8_t mode) 343 343 { … … 454 454 * @return Error code. 455 455 */ 456 int dma_channel_remain(unsigned channel, size_t *size)456 errno_t dma_channel_remain(unsigned channel, size_t *size) 457 457 { 458 458 assert(size);
Note:
See TracChangeset
for help on using the changeset viewer.
