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? -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH
