diff options
author | Kean Johnson <kean@armory.com> | 2005-06-10 06:54:04 +0000 |
---|---|---|
committer | Kean Johnson <kean@armory.com> | 2005-06-10 06:54:04 +0000 |
commit | 43cd56b87ff1866778b43e494ab3dcbd9017c140 (patch) | |
tree | e3a86e350dd14d81c8bacba094c3fc094f417ae1 /src/ct_bank.c | |
parent | b9c4a3ddd1fe26da0e7b4c0e87f603d6c645b17d (diff) |
SCO port update for SCO OpenServer 5 and UnixWare 7. A few general cleanupssco_port_update
and bugs not specifically related to the port fixed along the way.
Diffstat (limited to 'src/ct_bank.c')
-rw-r--r-- | src/ct_bank.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ct_bank.c b/src/ct_bank.c index 1e478ee..3be2776 100644 --- a/src/ct_bank.c +++ b/src/ct_bank.c @@ -53,12 +53,15 @@ /* Driver specific headers */ #include "ct_driver.h" -#ifdef __arm32__ -/*#include <machine/sysarch.h>*/ +#if defined(__arm32__) && defined(__NetBSD__) +#include <machine/sysarch.h> #define arm32_drain_writebuf() sysarch(1, 0) -#define ChipsBank(pScreen) CHIPSPTR(xf86Screens[pScreen->myNum])->Bank +#elif defined(__arm32__) +#define arm32_drain_writebuf() #endif +#define ChipsBank(pScreen) CHIPSPTR(xf86Screens[pScreen->myNum])->Bank + #ifdef DIRECT_REGISTER_ACCESS int CHIPSSetRead(ScreenPtr pScreen, int bank) |