summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-24 20:53:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-24 20:53:57 +0000
commit6a39dd6efa87824d9c9032ab61f7692387a83d3c (patch)
tree242724764c25e51cf6fd6bd7b111bb96433c329f /sys/dev/rasops
parentcf56e293fb9663924c8dba3d5b50702a40899a41 (diff)
from martin@netbsd:
Remove RAY_USE_AMEM. This option claimed to use attribute memory access for the registers, which was true, but actually the same as the driver did without this option. What it realy did is work around a stupid bug in the driver that did not use the "offset" result from the pcmcia_mem_map call mapping the CIS memory. We got away with this for a long time since on i386 and typical pcmcia bridged the offset returned will be 0. It always failed (without RAY_USE_AMEM=1) if the check for a different function CCR aliases in pcmcia.c failed and mapped the CCR base new - this time at the CCR base of this function (0xf00), so all register acceses (that had 0xf00 added) happened way off in neverland. Now we do not hardcode the CCR base to the register definitions, but instead use the offset returned by pcmcia_mem_map. This makes the driver work with and without CCR base aliases being found.
Diffstat (limited to 'sys/dev/rasops')
0 files changed, 0 insertions, 0 deletions