Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/dev/ic Pull up revision 1.6 (requested by martin in...



details:   https://anonhg.NetBSD.org/src/rev/413b10cf07cd
branches:  netbsd-1-6
changeset: 527733:413b10cf07cd
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 05 03:37:10 2002 +0000

description:
Pull up revision 1.6 (requested by martin in ticket #161):
possible to compile this without ISDN debugging support.
Fixes PR kern/17161.

diffstat:

 sys/dev/ic/isic_l1fsm.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r abc222f873c6 -r 413b10cf07cd sys/dev/ic/isic_l1fsm.c
--- a/sys/dev/ic/isic_l1fsm.c   Wed Jun 05 03:32:39 2002 +0000
+++ b/sys/dev/ic/isic_l1fsm.c   Wed Jun 05 03:37:10 2002 +0000
@@ -27,14 +27,14 @@
  *     i4b_l1fsm.c - isdn4bsd layer 1 I.430 state machine
  *     --------------------------------------------------
  *
- *     $Id: isic_l1fsm.c,v 1.5 2002/05/21 10:31:12 martin Exp $ 
+ *     $Id: isic_l1fsm.c,v 1.5.2.1 2002/06/05 03:37:10 lukem Exp $ 
  *
  *      last edit-date: [Fri Jan  5 11:36:11 2001]
  *
  *---------------------------------------------------------------------------*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isic_l1fsm.c,v 1.5 2002/05/21 10:31:12 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isic_l1fsm.c,v 1.5.2.1 2002/06/05 03:37:10 lukem Exp $");
 
 #include <sys/param.h>
 #if defined(__FreeBSD__) && __FreeBSD__ >= 3
@@ -84,6 +84,7 @@
 #include <dev/ic/hscx.h>
 
 
+#if DO_I4B_DEBUG
 static char *state_text[N_STATES] = {
        "F3 Deactivated",
        "F4 Awaiting Signal",
@@ -108,6 +109,7 @@
        "EV_EI Error Ind",
        "Illegal Event"
 };
+#endif
 
 /* Function prototypes */
 
@@ -510,6 +512,7 @@
        sc->sc_I430state = newstate;
 }
 
+#if DO_I4B_DEBUG
 /*---------------------------------------------------------------------------*
  *     return pointer to current state description
  *---------------------------------------------------------------------------*/        
@@ -518,4 +521,4 @@
 {
        return((char *) state_text[sc->sc_I430state]);
 }
-
+#endif



Home | Main Index | Thread Index | Old Index