Changeset a066c1b9 in mainline


Ignore:
Timestamp:
2011-11-14T10:14:50Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
85c4cc45
Parents:
a0d1d9d
Message:

isa: Drop double newlines.

File:
1 edited

Legend:

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

    ra0d1d9d ra066c1b9  
    272272
    273273        /* 16 bit transfers are a bit special */
    274         ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.\n", pa, size);
     274        ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size);
    275275        if (channel > 4) {
    276276                /* Size must be aligned to 16 bits */
     
    285285
    286286        ddf_msg(LVL_DEBUG,
    287             "Setting channel %u, to address %p(%zu), mode %hhx.\n",
     287            "Setting channel %u, to address %p(%zu), mode %hhx.",
    288288            channel, pa, size, mode);
    289289
     
    295295        /* Set mode */
    296296        value = DMA_MODE_CHAN_TO_REG(channel) | mode;
    297         ddf_msg(LVL_DEBUG2, "Writing mode byte: %p:%hhx.\n",
     297        ddf_msg(LVL_DEBUG2, "Writing mode byte: %p:%hhx.",
    298298            dma_channel.mode_address, value);
    299299        pio_write_8(dma_channel.mode_address, value);
     
    304304        /* Low byte */
    305305        value = pa & 0xff;
    306         ddf_msg(LVL_DEBUG2, "Writing address low byte: %p:%hhx.\n",
     306        ddf_msg(LVL_DEBUG2, "Writing address low byte: %p:%hhx.",
    307307            dma_channel.offset_reg_address, value);
    308308        pio_write_8(dma_channel.offset_reg_address, value);
     
    310310        /* High byte */
    311311        value = (pa >> 8) & 0xff;
    312         ddf_msg(LVL_DEBUG2, "Writing address high byte: %p:%hhx.\n",
     312        ddf_msg(LVL_DEBUG2, "Writing address high byte: %p:%hhx.",
    313313            dma_channel.offset_reg_address, value);
    314314        pio_write_8(dma_channel.offset_reg_address, value);
     
    316316        /* Page address - third byte */
    317317        value = (pa >> 16) & 0xff;
    318         ddf_msg(LVL_DEBUG2, "Writing address page byte: %p:%hhx.\n",
     318        ddf_msg(LVL_DEBUG2, "Writing address page byte: %p:%hhx.",
    319319            dma_channel.page_reg_address, value);
    320320        pio_write_8(dma_channel.page_reg_address, value);
     
    325325        /* Low byte */
    326326        value = (size - 1) & 0xff;
    327         ddf_msg(LVL_DEBUG2, "Writing size low byte: %p:%hhx.\n",
     327        ddf_msg(LVL_DEBUG2, "Writing size low byte: %p:%hhx.",
    328328            dma_channel.size_reg_address, value);
    329329        pio_write_8(dma_channel.size_reg_address, value);
     
    331331        /* High byte */
    332332        value = ((size - 1) >> 8) & 0xff;
    333         ddf_msg(LVL_DEBUG2, "Writing size high byte: %p:%hhx.\n",
     333        ddf_msg(LVL_DEBUG2, "Writing size high byte: %p:%hhx.",
    334334            dma_channel.size_reg_address, value);
    335335        pio_write_8(dma_channel.size_reg_address, value);
Note: See TracChangeset for help on using the changeset viewer.