Just tested now -

Reboots correctly with usb disabled (also checked I had not fiddled with hw.pci.enable_io_modes).

Cheers

Mark

M. Warner Losh wrote:
In message: <[EMAIL PROTECTED]>
            John Baldwin <[EMAIL PROTECTED]> writes:
: Yes, that's ok.

OK.  I think that the following is sufficient.  Please test and let me
know.

Index: pci.c
===================================================================
RCS file: /cache/ncvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.292
diff -u -r1.292 pci.c
--- pci.c       3 Jun 2005 19:41:06 -0000       1.292
+++ pci.c       31 Aug 2005 20:12:36 -0000
@@ -826,9 +826,14 @@
         * If base is 0, then we have problems.  It is best to ignore
         * such entries for the moment.  These will be allocated later if
         * the driver specifically requests them.
+        *
+        * Similarlly treat maps whose values is the same as the test value
+        * read back.  These maps have had all f's written to them by the
+        * BIOS in an attempt to disable the resources.
         */
-       if (base == 0)
+       if (base == 0 || map == testval)
                return 1;
+
        /*
         * This code theoretically does the right thing, but has
         * undesirable side effects in some cases where peripherals



Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to