Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2004 20:39:16 -0500
From:      Lowell Gilbert <freebsd-current-local@be-well.ilk.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: agp0 hang in 5.2.1-RELEASE
Message-ID:  <44lllo5quz.fsf@be-well.ilk.org>
In-Reply-To: <44r7vg5r2j.fsf@be-well.ilk.org>
References:  <20040318132321.F9436@root.org> <200403241336.20303.jhb@FreeBSD.org> <44r7vg5r2j.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Which seems to work, once I added in the missing close-parenthesis in
> the if-condition.

Which would make the patch: 

--- agp_ali.c.orig      Tue Nov 11 11:49:18 2003
+++ agp_ali.c   Thu Mar 25 20:26:48 2004
@@ -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);
--- agp_amd.c.orig      Thu Mar 18 16:25:45 2004
+++ agp_amd.c   Thu Mar 25 20:27:01 2004
@@ -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);
--- agp_i810.c.orig     Thu Mar 18 16:25:45 2004
+++ agp_i810.c  Thu Mar 25 20:27:15 2004
@@ -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;
--- agp_intel.c.orig    Sun Mar 14 03:29:16 2004
+++ agp_intel.c Thu Mar 25 20:25:53 2004
@@ -127,6 +127,8 @@
 {
        const char *desc;
 
+       if (resource_disabled("agp", device_get_unit(dev)))
+               return (ENXIO);
        desc = agp_intel_match(dev);
        if (desc) {
                device_verbose(dev);
--- agp_nvidia.c.orig   Sat Aug 23 11:32:18 2003
+++ agp_nvidia.c        Thu Mar 25 20:27:31 2004
@@ -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);
--- agp_sis.c.orig      Thu Aug 21 23:13:20 2003
+++ agp_sis.c   Thu Mar 25 20:26:34 2004
@@ -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);
--- agp_via.c.orig      Thu Aug 21 23:13:20 2003
+++ agp_via.c   Thu Mar 25 20:26:21 2004
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44lllo5quz.fsf>