summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer2/i4b_sframe.c
diff options
context:
space:
mode:
authorhm <hm@FreeBSD.org>2002-03-17 09:33:15 +0000
committerhm <hm@FreeBSD.org>2002-03-17 09:33:15 +0000
commit3e7af4a9665cdd7b30f61045cc0ae4c494d0c7a8 (patch)
tree9694b7441ca7325a9386dc72ccc1f07e0faad12d /sys/i4b/layer2/i4b_sframe.c
parente86597e456382f7bf7d244ea3d1d3f90cdbfa171 (diff)
downloadFreeBSD-src-3e7af4a9665cdd7b30f61045cc0ae4c494d0c7a8.zip
FreeBSD-src-3e7af4a9665cdd7b30f61045cc0ae4c494d0c7a8.tar.gz
Clean up the i4b kernel part: remove unmaintained #if(def)s for NetBSD,
OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's, remove #if(def)s and respective code for FreeBSD versions < 5 .
Diffstat (limited to 'sys/i4b/layer2/i4b_sframe.c')
-rw-r--r--sys/i4b/layer2/i4b_sframe.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/sys/i4b/layer2/i4b_sframe.c b/sys/i4b/layer2/i4b_sframe.c
index 34697c9..0b4c6c6 100644
--- a/sys/i4b/layer2/i4b_sframe.c
+++ b/sys/i4b/layer2/i4b_sframe.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2000 Hellmuth Michaelis. All rights reserved.
+ * Copyright (c) 1997, 2002 Hellmuth Michaelis. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,19 +27,14 @@
* i4b_sframe.c - s frame handling routines
* ----------------------------------------
*
- * $Id: i4b_sframe.c,v 1.15 2000/08/24 11:48:58 hm Exp $
- *
* $FreeBSD$
*
- * last edit-date: [Mon May 29 16:55:23 2000]
+ * last edit-date: [Sat Mar 9 17:52:06 2002]
*
*---------------------------------------------------------------------------*/
-#ifdef __FreeBSD__
#include "i4bq921.h"
-#else
-#define NI4BQ921 1
-#endif
+
#if NI4BQ921 > 0
#include <sys/param.h>
@@ -48,16 +43,7 @@
#include <sys/socket.h>
#include <net/if.h>
-#if defined(__NetBSD__) && __NetBSD_Version__ >= 104230000
-#include <sys/callout.h>
-#endif
-
-#ifdef __FreeBSD__
#include <machine/i4b_debug.h>
-#else
-#include <i4b/i4b_debug.h>
-#include <i4b/i4b_ioctl.h>
-#endif
#include <i4b/include/i4b_l1l2.h>
#include <i4b/include/i4b_mbuf.h>
OpenPOWER on IntegriCloud