Move some kernel-only stuff to a kernel-only file.

Submitted by:	bde
This commit is contained in:
Peter Wemm 1995-09-13 08:39:28 +00:00
parent a89f7290be
commit fbb8b7bb60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10707
2 changed files with 2 additions and 24 deletions

View File

@ -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"

View File

@ -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"