diff options
-rw-r--r-- | sys/alpha/conf/options.alpha | 1 | ||||
-rw-r--r-- | sys/conf/NOTES | 1 | ||||
-rw-r--r-- | sys/conf/options.alpha | 1 | ||||
-rw-r--r-- | sys/conf/options.i386 | 1 | ||||
-rw-r--r-- | sys/dev/syscons/scvidctl.c | 22 | ||||
-rw-r--r-- | sys/i386/conf/LINT | 1 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 1 | ||||
-rw-r--r-- | sys/i386/conf/options.i386 | 1 |
8 files changed, 0 insertions, 29 deletions
diff --git a/sys/alpha/conf/options.alpha b/sys/alpha/conf/options.alpha index 0ded8dc..6303c74 100644 --- a/sys/alpha/conf/options.alpha +++ b/sys/alpha/conf/options.alpha @@ -35,7 +35,6 @@ SC_NO_HISTORY opt_syscons.h SC_NO_SYSMOUSE opt_syscons.h SC_PIXEL_MODE opt_syscons.h SC_RENDER_DEBUG opt_syscons.h -SC_VIDEO_DEBUG opt_syscons.h VGA_ALT_SEQACCESS opt_vga.h VGA_DEBUG opt_vga.h diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 9fa75e7..24e7616 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2218,7 +2218,6 @@ options VM_KMEM_SIZE_SCALE # Undocumented options covering presently broken code #options ASUSCOM_IPAC -#options SC_VIDEO_DEBUG # The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. diff --git a/sys/conf/options.alpha b/sys/conf/options.alpha index 0ded8dc..6303c74 100644 --- a/sys/conf/options.alpha +++ b/sys/conf/options.alpha @@ -35,7 +35,6 @@ SC_NO_HISTORY opt_syscons.h SC_NO_SYSMOUSE opt_syscons.h SC_PIXEL_MODE opt_syscons.h SC_RENDER_DEBUG opt_syscons.h -SC_VIDEO_DEBUG opt_syscons.h VGA_ALT_SEQACCESS opt_vga.h VGA_DEBUG opt_vga.h diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index 3332441..4cae5c0 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -75,7 +75,6 @@ SC_NO_HISTORY opt_syscons.h SC_NO_SYSMOUSE opt_syscons.h SC_PIXEL_MODE opt_syscons.h SC_RENDER_DEBUG opt_syscons.h -SC_VIDEO_DEBUG opt_syscons.h VGA_ALT_SEQACCESS opt_vga.h VGA_DEBUG opt_vga.h diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 305e6f7..0923a7b 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -323,13 +323,6 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, if ((*vidsw[scp->sc->adapter]->get_info)(scp->sc->adp, scp->mode, &info)) return ENODEV; /* this shouldn't happen */ -#ifdef SC_VIDEO_DEBUG - if (scp->scr_buf != NULL) { - printf("set_pixel_mode(): mode:%x, col:%d, row:%d, font:%d\n", - scp->mode, xsize, ysize, fontsize); - } -#endif - /* adjust argument values */ if ((fontsize <= 0) || (fontsize == FONT_NONE)) fontsize = info.vi_cheight; @@ -366,17 +359,6 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, if (ysize <= 0) ysize = info.vi_height/fontsize; -#ifdef SC_VIDEO_DEBUG - if (scp->scr_buf != NULL) { - printf("set_pixel_mode(): mode:%x, col:%d, row:%d, font:%d\n", - scp->mode, xsize, ysize, fontsize); - printf("set_pixel_mode(): window:%p, %dx%d, xoff:%d, yoff:%d\n", - (void *)scp->sc->adp->va_window, info.vi_width, info.vi_height, - (info.vi_width/8 - xsize)/2, - (info.vi_height/fontsize - ysize)/2); - } -#endif - if ((info.vi_width < xsize*8) || (info.vi_height < ysize*fontsize)) return EINVAL; @@ -438,10 +420,6 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, scp->status &= ~UNKNOWN_MODE; -#ifdef SC_VIDEO_DEBUG - printf("set_pixel_mode(): status:%x\n", scp->status); -#endif - if (tp == NULL) return 0; if (tp->t_winsize.ws_col != scp->xsize diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 9fa75e7..24e7616 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -2218,7 +2218,6 @@ options VM_KMEM_SIZE_SCALE # Undocumented options covering presently broken code #options ASUSCOM_IPAC -#options SC_VIDEO_DEBUG # The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 9fa75e7..24e7616 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -2218,7 +2218,6 @@ options VM_KMEM_SIZE_SCALE # Undocumented options covering presently broken code #options ASUSCOM_IPAC -#options SC_VIDEO_DEBUG # The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. diff --git a/sys/i386/conf/options.i386 b/sys/i386/conf/options.i386 index 3332441..4cae5c0 100644 --- a/sys/i386/conf/options.i386 +++ b/sys/i386/conf/options.i386 @@ -75,7 +75,6 @@ SC_NO_HISTORY opt_syscons.h SC_NO_SYSMOUSE opt_syscons.h SC_PIXEL_MODE opt_syscons.h SC_RENDER_DEBUG opt_syscons.h -SC_VIDEO_DEBUG opt_syscons.h VGA_ALT_SEQACCESS opt_vga.h VGA_DEBUG opt_vga.h |