diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2018-05-29 06:14:33 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2018-05-29 06:14:33 +0000 |
| commit | 804322b216079962871e9c2dc850267e9b32ba2a (patch) | |
| tree | e78cd70c01d377bf7953fcddd327375bd8747839 /sys/modules/examples/panic_string | |
| parent | e8433520224f34b204337dede5558e03ccbdd2c3 (diff) | |
fix off-by-one in the mapping of the ISA DMA page registers, they actually
start at 0x81; the code used bus_space_map() starting from 0x80 but
used +1 offset for actual I/O, now it maps starting 0x81 and does I/O
without offset
the reads and writes work exactly the same as before, but this frees
0x80 for being mapped independantly
patch provided in PR kern/52468 by Jonathan Chapman; checked against the spec
and also FreeBSD sys/x86/isa/isa_dma.c
Diffstat (limited to 'sys/modules/examples/panic_string')
0 files changed, 0 insertions, 0 deletions
