Add (hopefully temporary) kludge to define PCI_MAGIC_IO_RANGE on shark and

make accelerated X work again.
This used to be defined in machine/param.h but lately the param.h from
arch/arm is installed in machine/ instead of the one from arch/shark, so the
Xserver didn't see PCI_MAGIC_IO_RANGE and couldn't figure out how to map its
IO space.
This commit is contained in:
macallan 2013-11-27 02:04:48 +00:00
parent 9299334f79
commit 9b3f3c1555

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2013/02/28 13:28:36 macallan Exp $
# $NetBSD: Makefile,v 1.36 2013/11/27 02:04:48 macallan Exp $
.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"
@ -77,6 +77,10 @@ CPPFLAGS.${_FN}= -DWSCONS_SUPPORT -DPCVT_SUPPORT -DUSESTDRES -DHAVE_SYSV_
.endfor
.endif
.if ${MACHINE} == "shark"
CPPFLAGS.ppc_video.c += -DPCI_MAGIC_IO_RANGE=0xf0000000
.endif
.if ${MACHINE} == "dreamcast" || \
${MACHINE} == "hpcsh"
SRCS.bsd+= ppc_video.c pm_noop.c agp_noop.c