summaryrefslogtreecommitdiff
path: root/sys/modules/examples/panic_string/panic_string.c
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2018-05-29 06:14:33 +0000
committerjdolecek <jdolecek@NetBSD.org>2018-05-29 06:14:33 +0000
commit804322b216079962871e9c2dc850267e9b32ba2a (patch)
treee78cd70c01d377bf7953fcddd327375bd8747839 /sys/modules/examples/panic_string/panic_string.c
parente8433520224f34b204337dede5558e03ccbdd2c3 (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/panic_string.c')
0 files changed, 0 insertions, 0 deletions