diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-12-27 20:56:45 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:18 +0200 |
commit | d350860e29f043e98bfb1da74b26280f1755ab6f (patch) | |
tree | f62d6c4ee07751521fbdf49409828afcea1a5dd2 /src/atibank.h | |
parent | 5fa77f2d122e7267911a15235338d8d3f9eece2e (diff) |
Keep PCI mach64 only (atipreinit.c, atimode.c), drop:
- Chip < ATI_CHIP_88800GXC
- Chipset != ATI_CHIPSET_ATI
- Adapter != ATI_ADAPTER_MACH64
- depth < 8
atimode.c only:
- NewHW.crtc != ATI_CRTC_MACH64
This allows to drop VGACalculate(), VGAWonderCalculate() cruft early.
Diffstat (limited to 'src/atibank.h')
-rw-r--r-- | src/atibank.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/atibank.h b/src/atibank.h index 49ffc54..d50aa68 100644 --- a/src/atibank.h +++ b/src/atibank.h @@ -34,19 +34,10 @@ */ /* - * Bank selection function for VGA Wonder V3 adapters (which are - * single-banked). - */ -#define ATIV3SetRead ATIV3SetReadWrite -#define ATIV3SetWrite ATIV3SetReadWrite -extern miBankProc ATIV3SetReadWrite; - -/* * Bank selection functions for VGA Wonder V4 and V5 adapters. */ extern miBankProc ATIV4V5SetRead, - ATIV4V5SetWrite, - ATIV4V5SetReadWrite; + ATIV4V5SetWrite; /* * Bank selection functions for 28800-x, 68800-x and 88800 based adapters. @@ -63,9 +54,6 @@ extern miBankProc ATIx8800SetRead, extern miBankProc ATIMach64SetReadPacked, ATIMach64SetWritePacked, ATIMach64SetReadWritePacked; -extern miBankProc ATIMach64SetReadPlanar, - ATIMach64SetWritePlanar, - ATIMach64SetReadWritePlanar; /* * The CRT save/restore code also needs a separate banking interface that can @@ -75,8 +63,7 @@ extern miBankProc ATIMach64SetReadPlanar, typedef void ATIBankProc(ATIPtr, unsigned int); typedef ATIBankProc *ATIBankProcPtr; -extern ATIBankProc ATIV3SetBank, - ATIV4V5SetBank, +extern ATIBankProc ATIV4V5SetBank, ATIx8800SetBank, ATIMach64SetBankPacked, ATIMach64SetBankPlanar; |