Changeset 03362fbd in mainline for uspace/drv/bus/isa/i8237.c
- Timestamp:
- 2013-02-09T23:14:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22dfd38
- Parents:
- b5d2e57 (diff), 005b765 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/i8237.c
rb5d2e57 r03362fbd 36 36 37 37 #include <assert.h> 38 #include < bool.h>38 #include <stdbool.h> 39 39 #include <errno.h> 40 40 #include <ddi.h> 41 41 #include <ddf/log.h> 42 42 #include <fibril_synch.h> 43 #include <libarch/ddi.h> 43 #include <ddi.h> 44 #include <ddf/log.h> 44 45 #include "i8237.h" 45 46 … … 370 371 } 371 372 372 ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size);373 374 373 /* 16 bit transfers are a bit special */ 374 ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")", 375 pa, size); 375 376 if (is_dma16(channel)) { 376 377 /* Size must be aligned to 16 bits */ … … 387 388 const dma_channel_t dma_channel = controller_8237.channels[channel]; 388 389 389 ddf_msg(LVL_DEBUG, "Setting channel %u , to address %p(%zu), mode %hhx.",390 channel, pa, size, mode);390 ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " " 391 "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode); 391 392 392 393 /* Mask DMA request */
Note:
See TracChangeset
for help on using the changeset viewer.