On Fri, Aug 13, 2004 at 10:39:57AM +0200, Denis Oliver Kropp wrote: > Quoting Ville Syrj�l�: > > The attached patch fixes a problem with the mmio area on mach64. > > > > On some really old cards the mmio area is aligned on 2048 byte boundary > > and on new cards it's on a 4096 byte boundary. Fbdev's mmap() however > > returns a PAGE_SIZE aligned area. So with some cards the registers are > > found at offset PAGE_SIZE - 2048 and on other's they are at PAGE_SIZE - > > 4096. > > > > Can anyone see any potential problems with the patch? > > As long as other drivers have page aligned areas it shouldn't be a problem. > Otherwise, it wouldn't have been working anyways, right?
Right. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/
