diff options
author | phk <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
commit | 663cbe4fc26065f7af7d10faaee492a626156145 (patch) | |
tree | 32e619fadb473bfb85ff8e06044176f2ff323cce /sys/dev/dpt/dpt.h | |
parent | 2a5ff1f726f814a9e4717afe3f14250f8030cace (diff) | |
download | FreeBSD-src-663cbe4fc26065f7af7d10faaee492a626156145.zip FreeBSD-src-663cbe4fc26065f7af7d10faaee492a626156145.tar.gz |
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
Diffstat (limited to 'sys/dev/dpt/dpt.h')
-rw-r--r-- | sys/dev/dpt/dpt.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h index af59b81..298f132 100644 --- a/sys/dev/dpt/dpt.h +++ b/sys/dev/dpt/dpt.h @@ -40,21 +40,13 @@ */ -#ident "$Id: dpt.h,v 1.3 1998/09/20 07:19:52 gibbs Exp $" +#ident "$Id: dpt.h,v 1.4 1998/09/22 04:55:07 gibbs Exp $" #ifndef _DPT_H #define _DPT_H #include <sys/ioccom.h> -#ifdef DEVFS -#include <sys/devfsext.h> -#ifdef SLICE -#include <sys/device.h> -#include <dev/slice/slice.h> -#endif /* SLICE */ -#endif - #define DPT_CDEV_MAJOR 88 #undef DPT_USE_DLM_SWI |