From 663cbe4fc26065f7af7d10faaee492a626156145 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 23 Aug 1999 20:59:21 +0000 Subject: 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(). --- sys/dev/dpt/dpt.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sys/dev/dpt/dpt.h') 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 -#ifdef DEVFS -#include -#ifdef SLICE -#include -#include -#endif /* SLICE */ -#endif - #define DPT_CDEV_MAJOR 88 #undef DPT_USE_DLM_SWI -- cgit v1.1