Revert xf86EnableIO()/xf86DisableIO() on macpcc to NOP for now.

This commit is contained in:
matthieu 2007-12-03 12:45:10 +00:00
parent 847d28e959
commit c19e24c0ad
2 changed files with 6 additions and 1 deletions

View File

@ -55,7 +55,8 @@ ARCH_SOURCES = i386_video.c
endif
if PPC_VIDEO
ARCH_SOURCES = ppc_video.c
ARCH_SOURCES = ppc_video.c \
$(srcdir)/../shared/ioperm_noop.c
endif
if SPARC64_VIDEO

View File

@ -54,8 +54,10 @@
static pointer ppcMapVidMem(int, unsigned long, unsigned long, int flags);
static void ppcUnmapVidMem(int, pointer, unsigned long);
#ifdef __NetBSD__
Bool xf86EnableIO(void);
void xf86DisableIO(void);
#endif
void
xf86OSInitVidMem(VidMemInfoPtr pVidMem)
@ -165,6 +167,7 @@ xf86PrivilegedInit(void)
}
#endif
#ifdef __NetBSD__
Bool xf86EnableIO()
{
int fd = xf86Info.screenFd;
@ -193,3 +196,4 @@ void xf86DisableIO()
}
}
#endif /* __NetBSD__ */