summaryrefslogtreecommitdiffstats
path: root/sys/sys/cons.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-12-08 11:19:42 +0000
committerjulian <julian@FreeBSD.org>1995-12-08 11:19:42 +0000
commit1900eea896e2aaeae8a9fa8affa5fded2068c9b4 (patch)
tree5150d199464d64c1021f91b2c2f112d48546a8bf /sys/sys/cons.h
parentaaf9d7f10ecc63adae1dc4f55cfd31a2926c605a (diff)
downloadFreeBSD-src-1900eea896e2aaeae8a9fa8affa5fded2068c9b4.zip
FreeBSD-src-1900eea896e2aaeae8a9fa8affa5fded2068c9b4.tar.gz
Pass 3 of the great devsw changes
most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
Diffstat (limited to 'sys/sys/cons.h')
-rw-r--r--sys/sys/cons.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/sys/cons.h b/sys/sys/cons.h
index 8fbd43f..8fa2d90 100644
--- a/sys/sys/cons.h
+++ b/sys/sys/cons.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.h 7.2 (Berkeley) 5/9/91
- * $Id: cons.h,v 1.10 1995/09/10 18:57:26 bde Exp $
+ * $Id: cons.h,v 1.11 1995/09/10 21:34:50 bde Exp $
*/
#ifndef _MACHINE_CONS_H_
@@ -106,14 +106,6 @@ extern int cons_unavail;
struct proc; struct uio;
-/* cdevsw[] entries */
-extern int cnopen(dev_t, int, int, struct proc *);
-extern int cnclose(dev_t, int, int, struct proc *);
-extern int cnread(dev_t, struct uio *, int);
-extern int cnwrite(dev_t, struct uio *, int);
-extern int cnioctl(dev_t, int, caddr_t, int, struct proc *);
-extern int cnselect(dev_t, int, struct proc *);
-
/* other kernel entry points */
extern void cninit(void);
extern void cninit_finish(void);
OpenPOWER on IntegriCloud