Date: Thu, 20 Jul 2006 17:25:33 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 102009 for review Message-ID: <200607201725.k6KHPXoH029097@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102009 Change 102009 by imp@imp_lighthouse on 2006/07/20 17:25:06 Bring in device disabling from the newcard tree. Affected files ... .. //depot/projects/arm/src/sys/kern/subr_bus.c#15 edit Differences ... ==== //depot/projects/arm/src/sys/kern/subr_bus.c#15 (text+ko) ==== @@ -2373,6 +2373,11 @@ } return (error); } + if (resource_disabled(device_get_name(dev), device_get_unit(dev))) { + device_disable(dev); + device_printf(dev, "not probed (disabled)\n"); + return (0); + } error = device_attach(dev); return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607201725.k6KHPXoH029097>