From owner-cvs-src-old@FreeBSD.ORG Mon Feb 16 20:05:15 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8E2C106567F for ; Mon, 16 Feb 2009 20:05:15 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1818FC19 for ; Mon, 16 Feb 2009 20:05:15 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1GK5FgF004086 for ; Mon, 16 Feb 2009 20:05:15 GMT (envelope-from emax@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1GK5FUe004085 for cvs-src-old@freebsd.org; Mon, 16 Feb 2009 20:05:15 GMT (envelope-from emax@repoman.freebsd.org) Message-Id: <200902162005.n1GK5FUe004085@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to emax@repoman.freebsd.org using -f From: Maksim Yevmenkin Date: Mon, 16 Feb 2009 20:04:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/kbdmux kbdmux.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 20:05:16 -0000 emax 2009-02-16 20:04:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/kbdmux kbdmux.c Log: SVN rev 188696 on 2009-02-16 20:04:57Z by emax MFC r188603 Since r188030 the error value for attach is returned, this means if kbdmux fails to attach (possibly due to disable hints) then we get called back for unload. Correctly handle the case where the keyboard isnt found rather than calling panic. Submitted by: thompsa Revision Changes Path 1.15.2.2 +6 -7 src/sys/dev/kbdmux/kbdmux.c