svn commit: r196543 - head/sys/i386/isa

Gleb Smirnoff glebius at FreeBSD.org
Tue Aug 25 14:08:33 UTC 2009


Author: glebius
Date: Tue Aug 25 14:08:33 2009
New Revision: 196543
URL: http://svn.freebsd.org/changeset/base/196543

Log:
  Fix build broken in r196524.

Modified:
  head/sys/i386/isa/vesa.c

Modified: head/sys/i386/isa/vesa.c
==============================================================================
--- head/sys/i386/isa/vesa.c	Tue Aug 25 13:40:46 2009	(r196542)
+++ head/sys/i386/isa/vesa.c	Tue Aug 25 14:08:33 2009	(r196543)
@@ -1114,14 +1114,6 @@ vesa_set_mode(video_adapter_t *adp, int 
 		default:
 			vesa_adp->va_line_width = info.vi_width * (info.vi_depth / 8);
 			break;
-		case 15:
-		case 16:
-			vesa_adp->va_line_width = info.vi_width*2;
-			break;
-		case 24:
-		case 32:
-			vesa_adp->va_line_width = info.vi_width*4;
-			break;
 		}
 	} else {
 		vesa_adp->va_line_width = info.vi_width;


More information about the svn-src-head mailing list