summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-23 21:51:21 +0000
committerphk <phk@FreeBSD.org>1999-08-23 21:51:21 +0000
commit7de7c4fefc029d716798aac2cda9928d2f2ac52d (patch)
tree056d75086a769663698220a43d7b761f3809d983
parent1f601186eb772f20ea9b215891d0d3131f0bf159 (diff)
downloadFreeBSD-src-7de7c4fefc029d716798aac2cda9928d2f2ac52d.zip
FreeBSD-src-7de7c4fefc029d716798aac2cda9928d2f2ac52d.tar.gz
Complain if this file is included.
-rw-r--r--sys/sys/devfsext.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/sys/devfsext.h b/sys/sys/devfsext.h
index 0e3e576..fd66d85 100644
--- a/sys/sys/devfsext.h
+++ b/sys/sys/devfsext.h
@@ -23,12 +23,20 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devfsext.h,v 1.22 1998/12/10 19:57:01 eivind Exp $
+ * $Id: devfsext.h,v 1.23 1999/08/08 18:42:59 phk Exp $
*/
#ifndef _SYS_DEVFSEXT_H_
#define _SYS_DEVFSEXT_H_
+#warning "Using obsolete <sys/devfsext.h>"
+/*
+ * The old DEVFS API is obsolete and should be discontinued ASAP
+ * Please use the make_dev() function instead. Plenty of examples
+ * to look at all over the place, contact phk@FreeBSD.org if in
+ * doubt.
+ */
+
/*
* Make a device at a path, and get a cookie for it in return.
* Specify the type, the minor number and the devsw entry to use,
OpenPOWER on IntegriCloud