summaryrefslogtreecommitdiffstats
path: root/sys/i4b/driver/i4b_ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/driver/i4b_ctl.c')
-rw-r--r--sys/i4b/driver/i4b_ctl.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/i4b/driver/i4b_ctl.c b/sys/i4b/driver/i4b_ctl.c
index bafe362..9a2b789 100644
--- a/sys/i4b/driver/i4b_ctl.c
+++ b/sys/i4b/driver/i4b_ctl.c
@@ -41,10 +41,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#ifdef DEVFS
-#include <sys/devfsext.h>
-#endif
-
#include <machine/i4b_debug.h>
#include <machine/i4b_ioctl.h>
@@ -82,17 +78,6 @@ static void i4bctlattach(void *);
PSEUDO_SET(i4bctlattach, i4b_i4bctldrv);
/*---------------------------------------------------------------------------*
- * initialization at kernel load time
- *---------------------------------------------------------------------------*/
-static void
-i4bctlinit(void *unused)
-{
- cdevsw_add(&i4bctl_cdevsw);
-}
-
-SYSINIT(i4bctldev, SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR, &i4bctlinit, NULL);
-
-/*---------------------------------------------------------------------------*
* interface attach routine
*---------------------------------------------------------------------------*/
static void
OpenPOWER on IntegriCloud