Module Name: xsrc
Committed By: macallan
Date: Thu Jun 28 01:20:42 UTC 2012
Modified Files:
xsrc/external/mit/xf86-video-suntcx/dist/src: tcx_driver.c
Log Message:
unmap THC when we mean THC, remove spurious return in CloseScreen()
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c
diff -u xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c:1.4 xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c:1.5
--- xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c:1.4 Thu May 26 00:56:42 2011
+++ xsrc/external/mit/xf86-video-suntcx/dist/src/tcx_driver.c Thu Jun 28 01:20:42 2012
@@ -748,14 +748,13 @@ TCXCloseScreen(int scrnIndex, ScreenPtr
(pTcx->psdp->width * pTcx->psdp->height * 4));
}
if (pTcx->thc)
- xf86UnmapSbusMem(pTcx->psdp, pTcx->fb, 8192);
+ xf86UnmapSbusMem(pTcx->psdp, pTcx->thc, 8192);
if (pTcx->HWCursor)
xf86SbusHideOsHwCursor (pTcx->psdp);
pScreen->CloseScreen = pTcx->CloseScreen;
return (*pScreen->CloseScreen)(scrnIndex, pScreen);
- return FALSE;
}