|
|
@ -17,6 +17,22 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
This patch fixes various tiny but accumulating issues in the mga |
|
|
|
driver for big-endian machines - e.g. debugged and tested on PowerPC / |
|
|
|
RS/6k: |
|
|
|
|
|
|
|
- use of the correct PCI config space register to get the MMIO range
|
|
|
|
- disable byte-swapping the framebuffer for a little-endian FB
|
|
|
|
- use a tinier probe size for g200 video-ram (the g200 seems to wrap
|
|
|
|
every 8MB boundary - at least here as configured in my RS/6k) and |
|
|
|
harden the memory-access loop a bit |
|
|
|
- fix the XVideo MGACopyMangled for big-endian (...)
|
|
|
|
- added some stray "ScrnInfoPtr pScrn" for compilation with DEBUG
|
|
|
|
defined |
|
|
|
- fixed the debugging macros (for big-endian) and improved them a bit
|
|
|
|
to make debugging for people without the SPEC or long experience with |
|
|
|
the driver easier |
|
|
|
|
|
|
|
diff -ur xc/programs/Xserver/hw/xfree86/drivers/mga/mga.h xc-working/programs/Xserver/hw/xfree86/drivers/mga/mga.h
|
|
|
|
--- xc/programs/Xserver/hw/xfree86/drivers/mga/mga.h 2003-10-10 13:06:02.000000000 +0200
|
|
|
|
+++ xc-working/programs/Xserver/hw/xfree86/drivers/mga/mga.h 2004-02-15 00:51:40.000000000 +0100
|
|
|
|