From owner-svn-src-stable-8@FreeBSD.ORG Fri Apr 15 20:28:38 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7B9C106566B; Fri, 15 Apr 2011 20:28:38 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A5AC28FC19; Fri, 15 Apr 2011 20:28:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p3FKScxK081097; Fri, 15 Apr 2011 20:28:38 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p3FKScid081095; Fri, 15 Apr 2011 20:28:38 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201104152028.p3FKScid081095@svn.freebsd.org> From: John Baldwin Date: Fri, 15 Apr 2011 20:28:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r220673 - stable/8/sys/isa X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 20:28:38 -0000 Author: jhb Date: Fri Apr 15 20:28:38 2011 New Revision: 220673 URL: http://svn.freebsd.org/changeset/base/220673 Log: MFC 220126: - Enable an extra debugging bootverbose printf when probing ISA PNP cards listing each card as it is found on non-PC98 (PC98 already had this). - Increase the length of the DELAY() used before timing out while reading PNP resource data. Modified: stable/8/sys/isa/pnp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/isa/pnp.c ============================================================================== --- stable/8/sys/isa/pnp.c Fri Apr 15 20:26:36 2011 (r220672) +++ stable/8/sys/isa/pnp.c Fri Apr 15 20:28:38 2011 (r220673) @@ -209,7 +209,7 @@ pnp_get_resource_info(u_char *buffer, in for (j = 0; j < 100; j++) { if ((inb((pnp_rd_port << 2) | 0x3)) & 0x1) break; - DELAY(1); + DELAY(10); } if (j == 100) { printf("PnP device failed to report resource data\n"); @@ -743,10 +743,10 @@ pnp_isolation_protocol(device_t parent) printf("A Normal-ISA-PnP card (%s).\n", pnp_eisaformat(id.vendor_id)); } +#endif if (bootverbose) printf("Reading PnP configuration for %s.\n", pnp_eisaformat(id.vendor_id)); -#endif error = pnp_read_resources(&resources, &space, &len); if (error) break;