From owner-cvs-all@FreeBSD.ORG Sun Jul 13 03:08:35 2003 Return-Path: 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 00C9F37B401; Sun, 13 Jul 2003 03:08:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E2BD43FBD; Sun, 13 Jul 2003 03:08:34 -0700 (PDT) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6DA8Y0U036190; Sun, 13 Jul 2003 03:08:34 -0700 (PDT) (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6DA8Xd6036189; Sun, 13 Jul 2003 03:08:33 -0700 (PDT) Message-Id: <200307131008.h6DA8Xd6036189@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Sun, 13 Jul 2003 03:08:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/kbd atkbd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 13 Jul 2003 10:08:35 -0000 simokawa 2003/07/13 03:08:33 PDT FreeBSD src repository Modified files: sys/dev/kbd atkbd.c Log: Fix for FAIL_IF_NO_KBD case as expected. Even if we have no AT keyboard, an AT keyboard is registered because it's probed with KB_CONF_PROBE_ONLY flag set during console initialization. Unregister the keyboard if it doesn't present while second probe. This should fix USB keyboard only case without 'kbdcontrol -k /dev/kbd1'. Revision Changes Path 1.40 +3 -1 src/sys/dev/kbd/atkbd.c