summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
committereivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
commitbcae2312afcaa3b4fd34daac5baa64dbb82f57c5 (patch)
treefea007e0b2375970df63c0905adfbd464aaa0f74 /sys/dev/ar
parentc40850d5f4e14c6f1d76a0a345e6ba081a4ebd21 (diff)
downloadFreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.zip
FreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.tar.gz
Make INET a proper option.
This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c8
-rw-r--r--sys/dev/ar/if_ar_isa.c8
2 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index 88619b8..d4d64e5 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.15 1997/05/19 22:02:47 joerg Exp $
+ * $Id: if_ar.c,v 1.16 1997/09/02 01:18:04 bde Exp $
*/
/*
@@ -73,6 +73,12 @@
#include "ioconf.h"
+#include "sppp.h"
+#if NSPPP <= 0
+#error device 'ar' require sppp.
+#endif
+
+
#ifdef TRACE
#define TRC(x) x
#else
diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c
index 88619b8..d4d64e5 100644
--- a/sys/dev/ar/if_ar_isa.c
+++ b/sys/dev/ar/if_ar_isa.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ar.c,v 1.15 1997/05/19 22:02:47 joerg Exp $
+ * $Id: if_ar.c,v 1.16 1997/09/02 01:18:04 bde Exp $
*/
/*
@@ -73,6 +73,12 @@
#include "ioconf.h"
+#include "sppp.h"
+#if NSPPP <= 0
+#error device 'ar' require sppp.
+#endif
+
+
#ifdef TRACE
#define TRC(x) x
#else
OpenPOWER on IntegriCloud