PERFORCE change 122734 for review

Maxim Zhuravlev thioretic at FreeBSD.org
Mon Jul 2 18:54:16 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=122734

Change 122734 by thioretic at thioretic on 2007/07/02 18:54:01

	Just corrected an unfortunate mistake

Affected files ...

.. //depot/projects/soc2007/thioretic_gidl/kern/subr_bus.c#3 edit

Differences ...

==== //depot/projects/soc2007/thioretic_gidl/kern/subr_bus.c#3 (text+ko) ====

@@ -1762,7 +1762,7 @@
 		for (dl = first_matching_driver(dc, child);
 		     dl;
 		     dl = next_matching_driver(dc, child, dl)) {
-			if ((child->state == DS_ALIVE && (dl->driver->flags & (DR_LOWEST|DR_STACKAWARE))) || (child->state != DS_ALIVE && (dl->driver->flags & ~(DR_LOWEST|DR_STACKAWARE))))
+			if ((child->state == DS_ALIVE && dl->driver->flags & DR_STACKAWARE && dl->driver->flags & DR_LOWEST) || (child->state != DS_ALIVE && dl->driver->flags & ~DR_LOWEST))
 				continue;
 			PDEBUG(("Trying %s", DRIVERNAME(dl->driver->devops)));
 			device_set_driver(child, dl->driver);


More information about the p4-projects mailing list