From owner-svn-src-head@FreeBSD.ORG Tue Aug 25 14:08:33 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3B35106568E; Tue, 25 Aug 2009 14:08:33 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A24478FC23; Tue, 25 Aug 2009 14:08:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n7PE8XQN030218; Tue, 25 Aug 2009 14:08:33 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n7PE8Xk1030216; Tue, 25 Aug 2009 14:08:33 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <200908251408.n7PE8Xk1030216@svn.freebsd.org> From: Gleb Smirnoff Date: Tue, 25 Aug 2009 14:08:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r196543 - head/sys/i386/isa X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:08:33 -0000 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;