Changeset 7c3fb9b in mainline for uspace/drv/bus/isa/i8237.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/isa/i8237.c
rfac0ac7 r7c3fb9b 485 485 486 486 uint16_t remain = (value_high << 8 | value_low); 487 /* 16 bit DMA size is in words, 487 /* 488 * 16 bit DMA size is in words, 488 489 * the upper bits are bogus for 16bit transfers so we need to get 489 * rid of them. Using limited type works well.*/ 490 * rid of them. Using limited type works well. 491 */ 490 492 if (is_dma16(channel)) 491 493 remain <<= 1;
Note:
See TracChangeset
for help on using the changeset viewer.