Module Name: src Committed By: macallan Date: Sat Dec 25 11:51:21 UTC 2010
Modified Files: src/sys/dev/pci: voodoofb.c Log Message: remove some ancient, unused debug code To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/voodoofb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/voodoofb.c diff -u src/sys/dev/pci/voodoofb.c:1.25 src/sys/dev/pci/voodoofb.c:1.26 --- src/sys/dev/pci/voodoofb.c:1.25 Thu Dec 16 06:45:50 2010 +++ src/sys/dev/pci/voodoofb.c Sat Dec 25 11:51:21 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: voodoofb.c,v 1.25 2010/12/16 06:45:50 cegger Exp $ */ +/* $NetBSD: voodoofb.c,v 1.26 2010/12/25 11:51:21 macallan Exp $ */ /* * Copyright (c) 2005, 2006 Michael Lorenz @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.25 2010/12/16 06:45:50 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.26 2010/12/25 11:51:21 macallan Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -159,10 +159,6 @@ int, uint32_t, uint32_t); static void voodoofb_feed_line(struct voodoofb_softc *, int, uint8_t *); -#ifdef VOODOOFB_DEBUG -static void voodoofb_showpal(struct voodoofb_softc *); -#endif - static void voodoofb_wait_idle(struct voodoofb_softc *); #ifdef VOODOOFB_ENABLE_INTR @@ -892,19 +888,6 @@ voodoo3_write32(sc, LAUNCH_2D, latch); } -#ifdef VOODOOFB_DEBUG -static void -voodoofb_showpal(struct voodoofb_softc *sc) -{ - int i, x = 0; - - for (i = 0; i < 16; i++) { - voodoofb_rectfill(sc, x, 0, 64, 64, i); - x += 64; - } -} -#endif - #if 0 static int voodoofb_allocattr(void *cookie, int fg, int bg, int flags, long *attrp)