diff options
Diffstat (limited to 'sys/i4b/driver/i4b_ctl.c')
| -rw-r--r-- | sys/i4b/driver/i4b_ctl.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/sys/i4b/driver/i4b_ctl.c b/sys/i4b/driver/i4b_ctl.c index 3ad68a0063a2..afd34d7ddad3 100644 --- a/sys/i4b/driver/i4b_ctl.c +++ b/sys/i4b/driver/i4b_ctl.c @@ -27,7 +27,7 @@ * i4b_ctl.c - i4b system control port driver * ------------------------------------------ * - * $Id: i4b_ctl.c,v 1.25 1999/06/08 08:13:00 hm Exp $ + * $Id: i4b_ctl.c,v 1.6 1999/08/06 14:02:02 hm Exp $ * * last edit-date: [Tue Jun 8 09:27:15 1999] * @@ -60,14 +60,6 @@ #include <net/if.h> #ifdef __FreeBSD__ -#include "opt_devfs.h" -#endif - -#ifdef DEVFS -#include <sys/devfsext.h> -#endif - -#ifdef __FreeBSD__ #include <machine/i4b_debug.h> #include <machine/i4b_ioctl.h> #elif defined(__bsdi__) @@ -136,10 +128,6 @@ PSEUDO_SET(i4bctlattach, i4b_i4bctldrv); #define PDEVSTATIC static #endif /* __FreeBSD__ */ -#ifdef DEVFS -static void *devfs_token; -#endif - #ifndef __FreeBSD__ #define PDEVSTATIC /* */ void i4bctlattach __P((void)); @@ -212,11 +200,7 @@ i4bctlattach() #ifndef HACK_NO_PSEUDO_ATTACH_MSG printf("i4bctl: ISDN system control port attached\n"); #endif -#ifdef DEVFS - devfs_token = devfs_add_devswf(&i4bctl_cdevsw, 0, DV_CHR, - UID_ROOT, GID_WHEEL, 0600, - "i4bctl"); -#endif + make_dev(&i4bctl_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "i4bctl"); } /*---------------------------------------------------------------------------* |
