aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-06 13:42:25 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-06 13:42:25 +0000
commit442e64375aa3775dd5a54dfe8a26b5b36b59e2d4 (patch)
tree46fcd5f9ba02c25255f0b94f4f12a021ba835f89
parent97bf178703af1a6f6ad12f4efec043a7ccaf484e (diff)
downloadsrc-442e64375aa3775dd5a54dfe8a26b5b36b59e2d4.tar.gz
src-442e64375aa3775dd5a54dfe8a26b5b36b59e2d4.zip
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.
Notes
Notes: svn path=/head/; revision=46556
-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 4dc1c71a14b9..24a0a6a4d292 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*/