From owner-svn-src-all@FreeBSD.ORG Sat Jun 18 03:16:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4B9D106566C; Sat, 18 Jun 2011 03:16:51 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C4F298FC12; Sat, 18 Jun 2011 03:16:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p5I3Gpr0019804; Sat, 18 Jun 2011 03:16:51 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p5I3Gp6o019802; Sat, 18 Jun 2011 03:16:51 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201106180316.p5I3Gp6o019802@svn.freebsd.org> From: Warner Losh Date: Sat, 18 Jun 2011 03:16:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r223219 - head/sys/dev/pccbb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2011 03:16:51 -0000 Author: imp Date: Sat Jun 18 03:16:51 2011 New Revision: 223219 URL: http://svn.freebsd.org/changeset/base/223219 Log: More expeirmentation suggests that 10ms isn't as reliable as previously thought, but 100ms seems to be. Likely there's a good middle ground, but for now be conservative. Modified: head/sys/dev/pccbb/pccbb.c Modified: head/sys/dev/pccbb/pccbb.c ============================================================================== --- head/sys/dev/pccbb/pccbb.c Sat Jun 18 02:25:08 2011 (r223218) +++ head/sys/dev/pccbb/pccbb.c Sat Jun 18 03:16:51 2011 (r223219) @@ -811,14 +811,14 @@ cbb_power(device_t brdev, int volts) mtx_unlock(&sc->mtx); /* - * Relax for 10ms. Some bridges appear to assert this signal + * Relax for 100ms. Some bridges appear to assert this signal * right away, but before the card has stabilized. Other * cards need need more time to cope up reliabily. * Experiments with troublesome setups show this to be a * "cheap" way to enhance reliabilty. We need not do this for * "off" since we don't touch the card after we turn it off. */ - pause("cbbPwr", min(hz / 100, 1)); + pause("cbbPwr", min(hz / 10, 1)); /* * The TOPIC95B requires a little bit extra time to get its