diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-01-18 16:27:27 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-01-18 16:27:27 +0000 |
commit | dddd1704449597becfc700482acf1880af9e0a57 (patch) | |
tree | 52e7123798ede923fb775212972b7031e68d32b5 /sys/arch | |
parent | c426d920932d50c6ec971f8f359c04472c341142 (diff) |
Add hotplug support.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm/arm/conf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c index e4fa290a538..d8a78efd272 100644 --- a/sys/arch/arm/arm/conf.c +++ b/sys/arch/arm/arm/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.8 2005/01/04 14:13:06 drahn Exp $ */ +/* $OpenBSD: conf.c,v 1.9 2005/01/18 16:27:26 drahn Exp $ */ /* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */ /* @@ -267,6 +267,8 @@ cdev_decl(xfs_dev); #endif #include "systrace.h" +#include "hotplug.h" + struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ cdev_ctty_init(1,ctty), /* 1: controlling terminal */ @@ -305,7 +307,7 @@ struct cdevsw cdevsw[] = { cdev_lkm_dummy(), /* 34: */ cdev_lkm_init(NLKM,lkm), /* 35: loadable module driver */ cdev_audio_init(NAUDIO,audio), /* 36: generic audio I/O */ - cdev_notdef(), /* 37: removed cpu device */ + cdev_hotplug_init(NHOTPLUG,hotplug), /* 37: devices hot plugging*/ cdev_notdef(), /* 38: removed cpu device */ cdev_lkm_dummy(), /* 39: reserved */ cdev_random_init(1,random), /* 40: random generator */ |