diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-12-27 21:16:18 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:18 +0200 |
commit | 817b4b5338dba4d8eb862f1f79ef0edb75aad7f4 (patch) | |
tree | a787118664483b774bf30a3dd54aa87a2379b80d /src/atidac.c | |
parent | d350860e29f043e98bfb1da74b26280f1755ab6f (diff) |
Keep PCI mach64 only, drop:
- Chip < ATI_CHIP_88800GXC
- Chipset != ATI_CHIPSET_ATI
- Adapter != ATI_ADAPTER_MACH64
- depth < 8
Diffstat (limited to 'src/atidac.c')
-rw-r--r-- | src/atidac.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/atidac.c b/src/atidac.c index 95b478de..31533774 100644 --- a/src/atidac.c +++ b/src/atidac.c @@ -29,7 +29,6 @@ #include "ati.h" #include "atidac.h" #include "atimach64io.h" -#include "atimono.h" /* * RAMDAC-related definitions. @@ -189,41 +188,6 @@ ATIDACPreInit #ifndef AVOID_CPIO - if (pATI->depth == 1) - { - rgb blackColour = pScreenInfo->display->blackColour, - whiteColour = pScreenInfo->display->whiteColour; - - if (blackColour.red > maxColour) - blackColour.red = maxColour; - if (blackColour.green > maxColour) - blackColour.green = maxColour; - if (blackColour.blue > maxColour) - blackColour.blue = maxColour; - if (whiteColour.red > maxColour) - whiteColour.red = maxColour; - if (whiteColour.green > maxColour) - whiteColour.green = maxColour; - if (whiteColour.blue > maxColour) - whiteColour.blue = maxColour; - - if ((blackColour.red == whiteColour.red) && - (blackColour.green == whiteColour.green) && - (blackColour.blue == whiteColour.blue)) - { - blackColour.red ^= maxColour; - blackColour.green ^= maxColour; - blackColour.blue ^= maxColour; - } - - pATIHW->lut[(MONO_BLACK * 3) + 0] = blackColour.red; - pATIHW->lut[(MONO_BLACK * 3) + 1] = blackColour.green; - pATIHW->lut[(MONO_BLACK * 3) + 2] = blackColour.blue; - pATIHW->lut[(MONO_WHITE * 3) + 0] = whiteColour.red; - pATIHW->lut[(MONO_WHITE * 3) + 1] = whiteColour.green; - pATIHW->lut[(MONO_WHITE * 3) + 2] = whiteColour.blue; - } - if (pATIHW->crtc == ATI_CRTC_VGA) { /* Initialise overscan to black */ |