From owner-cvs-all@FreeBSD.ORG Tue Apr 11 04:39:30 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58AB016A402; Tue, 11 Apr 2006 04:39:30 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1243043D45; Tue, 11 Apr 2006 04:39:30 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3B4dTir072775; Tue, 11 Apr 2006 04:39:29 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3B4dTOD072774; Tue, 11 Apr 2006 04:39:29 GMT (envelope-from sobomax) Message-Id: <200604110439.k3B4dTOD072774@repoman.freebsd.org> From: Maxim Sobolev Date: Tue, 11 Apr 2006 04:39:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/i386/cdboot cdboot.s X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 04:39:30 -0000 sobomax 2006-04-11 04:39:29 UTC FreeBSD src repository Modified files: sys/boot/i386/cdboot cdboot.s Log: When enabling A20 put upper limit on amount of time we wait for the keyboard controller to get ready (65K x ISA access time, visually around 1 second). If we have wait more than that amount it's likely that the hardware is a legacy-free one and simply doesn't have keyboard controller and doesn't require enabling A20 at all. This makes cdboot working for MacBook Pro with Boot Camp. MFC after: 1 day Revision Changes Path 1.14 +10 -3 src/sys/boot/i386/cdboot/cdboot.s