diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2006-01-11 21:57:54 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2006-01-11 21:57:54 +0000 |
commit | 7b43941da7357f0b79c69b29b553427b8212177c (patch) | |
tree | 5b0376a3a5366c2c2c64a456d267c657e056f4ed /sys/arch/hppa | |
parent | a87cc8468fb69df03f02b00e4ec4ff35361c9fd9 (diff) |
hotplug(4) and hotplugd(8) here
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/conf.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa/conf/GENERIC b/sys/arch/hppa/conf/GENERIC index 27fa85cb5df..d234a698905 100644 --- a/sys/arch/hppa/conf/GENERIC +++ b/sys/arch/hppa/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.81 2006/01/09 21:29:38 jsg Exp $ +# $OpenBSD: GENERIC,v 1.82 2006/01/11 21:57:53 martin Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -304,4 +304,5 @@ safte* at scsibus? ses* at scsibus? uk* at scsibus? +pseudo-device hotplug 1 # devices hot plugging pseudo-device wsmux 2 # mouse and keyboard multiplexor diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c index a405f2c8972..66774ba8449 100644 --- a/sys/arch/hppa/hppa/conf.c +++ b/sys/arch/hppa/hppa/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.35 2005/12/31 22:41:36 miod Exp $ */ +/* $OpenBSD: conf.c,v 1.36 2006/01/11 21:57:53 martin Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -107,6 +107,7 @@ cdev_decl(com); #include "pf.h" #include "systrace.h" +#include "hotplug.h" #ifdef USER_PCICONF #include "pci.h" @@ -179,6 +180,7 @@ struct cdevsw cdevsw[] = cdev_urio_init(NURIO,urio), /* 44: USB Diamond Rio 500 */ cdev_tty_init(NUCOM,ucom), /* 45: USB tty */ cdev_usbdev_init(NUSCANNER,uscanner), /* 46: USB scanners */ + cdev_hotplug_init(NHOTPLUG,hotplug), /* 47: devices hot plugging */ cdev_lkm_dummy(), cdev_lkm_dummy(), cdev_lkm_dummy(), |