From owner-cvs-all@FreeBSD.ORG Sat Jan 10 05:09:22 2004 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 B6BB216A4CE; Sat, 10 Jan 2004 05:09:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E34B143D1F; Sat, 10 Jan 2004 05:09:21 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0AD9L0B022506; Sat, 10 Jan 2004 05:09:21 -0800 (PST) (envelope-from sobomax@repoman.freebsd.org) Received: (from sobomax@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0AD9L8X022505; Sat, 10 Jan 2004 05:09:21 -0800 (PST) (envelope-from sobomax) Message-Id: <200401101309.i0AD9L8X022505@repoman.freebsd.org> From: Maxim Sobolev Date: Sat, 10 Jan 2004 05:09:21 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/moused moused.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: Sat, 10 Jan 2004 13:09:22 -0000 sobomax 2004/01/10 05:09:21 PST FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Fix serious ugliness introduced in 1.61, which leads to long delay in boot sequence when machine is started without attached USB mouse. Only do repeated attempts to re-open device if the usb module has been actually loaded. Also fix broken logic in doing delays between open attempts - do delays between attempts, not after each attempt. Due to previous behaviour being very annoying for notebook owners this is a good 5.2 MFC candidate. MFC after: 2 days Revision Changes Path 1.65 +11 -5 src/usr.sbin/moused/moused.c