From owner-cvs-all@FreeBSD.ORG Fri Apr 14 03:47:52 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 4478B16A403; Fri, 14 Apr 2006 03:47:52 +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 1285243D45; Fri, 14 Apr 2006 03:47:52 +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 k3E3lpZs059859; Fri, 14 Apr 2006 03:47:51 GMT (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3E3lpdY059858; Fri, 14 Apr 2006 03:47:51 GMT (envelope-from sobomax) Message-Id: <200604140347.k3E3lpdY059858@repoman.freebsd.org> From: Maxim Sobolev Date: Fri, 14 Apr 2006 03:47:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/boot/i386/cdboot cdboot.s src/sys/boot/i386/pxeldr pxeldr.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: Fri, 14 Apr 2006 03:47:52 -0000 sobomax 2006-04-14 03:47:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/cdboot cdboot.s sys/boot/i386/pxeldr pxeldr.S Log: MFC: 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/pxeldr working for MacBook Pro with Boot Camp and other legacy-free i386 hardware like IBM Netvista S40. Approved by: re (scottl) Revision Changes Path 1.13.8.1 +10 -3 src/sys/boot/i386/cdboot/cdboot.s 1.13.8.1 +10 -3 src/sys/boot/i386/pxeldr/pxeldr.S