summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-06 13:42:25 +0000
committerpeter <peter@FreeBSD.org>1999-05-06 13:42:25 +0000
commit83df0b4ee946c6c5aa9f97cf9a1ab643b54ac6b3 (patch)
tree40307590e19666b31ec42e050a36ee4abce59223
parente0954ac124e7d465dab7c3f87057842ea0ca00a4 (diff)
downloadFreeBSD-src-83df0b4ee946c6c5aa9f97cf9a1ab643b54ac6b3.zip
FreeBSD-src-83df0b4ee946c6c5aa9f97cf9a1ab643b54ac6b3.tar.gz
Move the proc0 init before the driver probe/attach etc since machdep.c
doesn't set curproc anymore, and certain drivers like to tsleep() during probes, usb for example.
-rw-r--r--sys/sys/kernel.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
index 4dc1c71..24a0a6a 100644
--- a/sys/sys/kernel.h
+++ b/sys/sys/kernel.h
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)kernel.h 8.3 (Berkeley) 1/21/94
- * $Id: kernel.h,v 1.53 1999/01/29 23:18:50 dillon Exp $
+ * $Id: kernel.h,v 1.54 1999/04/17 08:36:06 peter Exp $
*/
#ifndef _SYS_KERNEL_H_
@@ -110,10 +110,10 @@ enum sysinit_sub_id {
SI_SUB_KMEM = 0x1800000, /* kernel memory*/
SI_SUB_CPU = 0x2000000, /* CPU resource(s)*/
SI_SUB_KLD = 0x2100000, /* KLD and module setup */
- SI_SUB_DEVFS = 0x2200000, /* get DEVFS ready */
- SI_SUB_DRIVERS = 0x2300000, /* Let Drivers initialize */
- SI_SUB_CONFIGURE = 0x2400000, /* Configure devices */
- SI_SUB_INTRINSIC = 0x2800000, /* proc 0*/
+ SI_SUB_INTRINSIC = 0x2200000, /* proc 0*/
+ SI_SUB_DEVFS = 0x2300000, /* get DEVFS ready */
+ SI_SUB_DRIVERS = 0x2400000, /* Let Drivers initialize */
+ SI_SUB_CONFIGURE = 0x2500000, /* Configure devices */
SI_SUB_RUN_QUEUE = 0x3000000, /* the run queue*/
SI_SUB_VM_CONF = 0x3800000, /* config VM, set limits*/
SI_SUB_VFS = 0x4000000, /* virtual file system*/
OpenPOWER on IntegriCloud