summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-09-13 08:39:28 +0000
committerpeter <peter@FreeBSD.org>1995-09-13 08:39:28 +0000
commit58453f14f6cea0f360961c0014bedf41fdd81d23 (patch)
tree9047ee4b37a1d49ef7a875f0c0b4ca2d689488fc
parent7a80a4be51b01e07c37ffe3976bc4adfab0ff03d (diff)
downloadFreeBSD-src-58453f14f6cea0f360961c0014bedf41fdd81d23.zip
FreeBSD-src-58453f14f6cea0f360961c0014bedf41fdd81d23.tar.gz
Move some kernel-only stuff to a kernel-only file.
Submitted by: bde
-rw-r--r--sys/dev/si/si.h13
-rw-r--r--sys/i386/include/si.h13
2 files changed, 2 insertions, 24 deletions
diff --git a/sys/dev/si/si.h b/sys/dev/si/si.h
index b848a2e..9770fb6 100644
--- a/sys/dev/si/si.h
+++ b/sys/dev/si/si.h
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.h,v 1.2 1995/08/13 15:17:56 peter Exp $
+ * $Id: si.h,v 1.3 1995/08/22 00:42:07 peter Exp $
*/
/*
@@ -411,16 +411,6 @@ struct si_port {
/*
* Extensive debugging stuff - manipulated using siconfig(8)
*/
-#ifdef KERNEL
-#ifdef SI_DEBUG
-static void si_dprintf();
-static char *si_mctl2str();
-#define DPRINT(x) si_dprintf x
-#else
-#define DPRINT(x) /* void */
-#endif
-#endif
-
#define DBG_ENTRY 0x00000001
#define DBG_DRAIN 0x00000002
#define DBG_OPEN 0x00000004
@@ -533,4 +523,3 @@ struct si_pstat {
(u_int)((cmd)&0xff) <= IOCTL_MAX)
#define CONTROLDEV "/dev/si_control"
-
diff --git a/sys/i386/include/si.h b/sys/i386/include/si.h
index b848a2e..9770fb6 100644
--- a/sys/i386/include/si.h
+++ b/sys/i386/include/si.h
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.h,v 1.2 1995/08/13 15:17:56 peter Exp $
+ * $Id: si.h,v 1.3 1995/08/22 00:42:07 peter Exp $
*/
/*
@@ -411,16 +411,6 @@ struct si_port {
/*
* Extensive debugging stuff - manipulated using siconfig(8)
*/
-#ifdef KERNEL
-#ifdef SI_DEBUG
-static void si_dprintf();
-static char *si_mctl2str();
-#define DPRINT(x) si_dprintf x
-#else
-#define DPRINT(x) /* void */
-#endif
-#endif
-
#define DBG_ENTRY 0x00000001
#define DBG_DRAIN 0x00000002
#define DBG_OPEN 0x00000004
@@ -533,4 +523,3 @@ struct si_pstat {
(u_int)((cmd)&0xff) <= IOCTL_MAX)
#define CONTROLDEV "/dev/si_control"
-
OpenPOWER on IntegriCloud