Changeset 3bacee1 in mainline for uspace/drv/bus/isa


Ignore:
Timestamp:
2018-04-12T16:27:17Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

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

    r76d0981d r3bacee1  
    293293
    294294        ret = pio_enable(DMA_CONTROLLER_SECOND_BASE,
    295                 sizeof(dma_controller_regs_second_t), (void **) &controller->second);
     295            sizeof(dma_controller_regs_second_t), (void **) &controller->second);
    296296        if (ret != EOK)
    297297                return EIO;
     
    484484        fibril_mutex_unlock(&guard);
    485485
    486         uint16_t remain = (value_high << 8 | value_low) ;
     486        uint16_t remain = (value_high << 8 | value_low);
    487487        /* 16 bit DMA size is in words,
    488488         * the upper bits are bogus for 16bit transfers so we need to get
     
    490490        if (is_dma16(channel))
    491491                remain <<= 1;
    492         *size =  is_dma16(channel) ? remain + 2: remain + 1;
     492        *size =  is_dma16(channel) ? remain + 2 : remain + 1;
    493493        return EOK;
    494494}
Note: See TracChangeset for help on using the changeset viewer.