* [PATCH] atyfb (2.6): Fix mmio_start
@ 2004-05-07 2:13 Ville Syrjälä
0 siblings, 0 replies; only message in thread
From: Ville Syrjälä @ 2004-05-07 2:13 UTC (permalink / raw)
To: linux-fbdev-devel
[-- Attachment #1: Type: text/plain, Size: 113 bytes --]
This patch fixes info->fix.mmio_start value.
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
[-- Attachment #2: atyfb-2.6-mmio_start.patch --]
[-- Type: text/plain, Size: 595 bytes --]
--- linux/drivers/video/aty/atyfb_base.c.orig 2004-05-07 03:48:44.109865088 +0300
+++ linux/drivers/video/aty/atyfb_base.c 2004-05-07 03:48:48.282230792 +0300
@@ -2221,11 +2221,11 @@
info->fix.mmio_len = 0x400;
info->fix.accel = FB_ACCEL_ATI_MACH64CT;
} else if (M64_HAS(VT)) {
- info->fix.mmio_start = -0x400;
+ info->fix.mmio_start -= 0x400;
info->fix.mmio_len = 0x800;
info->fix.accel = FB_ACCEL_ATI_MACH64VT;
} else {/* GT */
- info->fix.mmio_start = -0x400;
+ info->fix.mmio_start -= 0x400;
info->fix.mmio_len = 0x800;
info->fix.accel = FB_ACCEL_ATI_MACH64GT;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 2:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07 2:13 [PATCH] atyfb (2.6): Fix mmio_start Ville Syrjälä
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).