summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_cx.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-18 08:21:15 +0000
committerbde <bde@FreeBSD.org>1995-11-18 08:21:15 +0000
commit46948cb1ecc7b7e77bd0918e90ae0c770638869c (patch)
tree28f371f3aef06883fc93c23dd36d1012721534d9 /sys/i386/isa/if_cx.c
parent618bbe9fb06bb35d57be5c065daca4ee243ed4f7 (diff)
downloadFreeBSD-src-46948cb1ecc7b7e77bd0918e90ae0c770638869c.zip
FreeBSD-src-46948cb1ecc7b7e77bd0918e90ae0c770638869c.tar.gz
Fixed a bogus include path.
Removed a bogus include. Added prototypes.
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r--sys/i386/isa/if_cx.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c
index 6292e74..8ab4ac4 100644
--- a/sys/i386/isa/if_cx.c
+++ b/sys/i386/isa/if_cx.c
@@ -20,7 +20,7 @@
#include "cx.h"
#if NCX > 0
-#include <bpfilter.h>
+#include "bpfilter.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -44,7 +44,6 @@
# if __FreeBSD__ < 2
# include <machine/pio.h>
# else
-# include <machine/cpufunc.h>
# include <sys/devconf.h>
# endif
# define init_func_t void(*)(int)
@@ -79,6 +78,14 @@ struct cxsoftc {
#include <machine/cronyx.h>
#include <i386/isa/cxreg.h>
+extern int cxprobe __P((struct isa_device *id));
+extern int cxattach __P((struct isa_device *id));
+extern void cxput __P((cx_chan_t *c, char b));
+extern void cxsend __P((cx_chan_t *c));
+extern void cxrinth __P((cx_chan_t *c));
+extern int cxtinth __P((cx_chan_t *c));
+extern void cxswitch __P((cx_chan_t *c, cx_soft_opt_t new));
+
#ifdef DEBUG
# define print(s) printf s
#else
OpenPOWER on IntegriCloud