From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 11:41:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4247916A4CF for ; Wed, 24 Mar 2004 11:41:56 -0800 (PST) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1470C43D31 for ; Wed, 24 Mar 2004 11:41:56 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 2106 invoked from network); 24 Mar 2004 19:41:55 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 24 Mar 2004 19:41:55 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2OJeoDK006146; Wed, 24 Mar 2004 14:41:43 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 24 Mar 2004 13:36:20 -0500 User-Agent: KMail/1.6 References: <20040318132321.F9436@root.org> In-Reply-To: <20040318132321.F9436@root.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403241336.20303.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: "Schultz, David W" cc: current@freebsd.org cc: Lowell Gilbert cc: Nate Lawson Subject: Re: agp0 hang in 5.2.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 19:41:56 -0000 On Thursday 18 March 2004 04:24 pm, Nate Lawson wrote: > It can't be disabled at the loader prompt? It would need this untested patch: Index: agp_ali.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_ali.c,v retrieving revision 1.9 diff -u -r1.9 agp_ali.c --- agp_ali.c 11 Nov 2003 21:49:18 -0000 1.9 +++ agp_ali.c 24 Mar 2004 18:34:20 -0000 @@ -80,6 +80,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_ali_match(dev); if (desc) { device_verbose(dev); Index: agp_amd.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_amd.c,v retrieving revision 1.16 diff -u -r1.16 agp_amd.c --- agp_amd.c 22 Aug 2003 07:13:20 -0000 1.16 +++ agp_amd.c 24 Mar 2004 18:34:34 -0000 @@ -207,6 +207,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_amd_match(dev); if (desc) { device_verbose(dev); Index: agp_i810.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_i810.c,v retrieving revision 1.25 diff -u -r1.25 agp_i810.c --- agp_i810.c 23 Oct 2003 17:48:30 -0000 1.25 +++ agp_i810.c 24 Mar 2004 18:34:48 -0000 @@ -183,6 +183,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_i810_match(dev); if (desc) { device_t bdev; Index: agp_intel.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_intel.c,v retrieving revision 1.19 diff -u -r1.19 agp_intel.c --- agp_intel.c 17 Sep 2003 02:58:17 -0000 1.19 +++ agp_intel.c 24 Mar 2004 18:34:54 -0000 @@ -124,6 +124,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_intel_match(dev); if (desc) { device_verbose(dev); Index: agp_nvidia.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_nvidia.c,v retrieving revision 1.2 diff -u -r1.2 agp_nvidia.c --- agp_nvidia.c 23 Aug 2003 19:32:18 -0000 1.2 +++ agp_nvidia.c 24 Mar 2004 18:35:02 -0000 @@ -116,6 +116,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_nvidia_match(dev); if (desc) { device_verbose(dev); Index: agp_sis.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_sis.c,v retrieving revision 1.9 diff -u -r1.9 agp_sis.c --- agp_sis.c 22 Aug 2003 07:13:20 -0000 1.9 +++ agp_sis.c 24 Mar 2004 18:35:06 -0000 @@ -82,6 +82,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_sis_match(dev); if (desc) { device_verbose(dev); Index: agp_via.c =================================================================== RCS file: /usr/cvs/src/sys/pci/agp_via.c,v retrieving revision 1.11 diff -u -r1.11 agp_via.c --- agp_via.c 22 Aug 2003 07:13:20 -0000 1.11 +++ agp_via.c 24 Mar 2004 18:35:11 -0000 @@ -90,6 +90,8 @@ { const char *desc; + if (resource_disabled("agp", device_get_unit(dev)) + return (ENXIO); desc = agp_via_match(dev); if (desc) { device_verbose(dev); -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org