merge in tahoe
[unix-history] / usr / src / sys / net / netisr.h
index 4bb5062..dafd006 100644 (file)
@@ -1,4 +1,10 @@
-/*     netisr.h        4.1     82/10/09        */
+/*
+ * Copyright (c) 1980, 1986 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)netisr.h    7.2 (Berkeley) %G%
+ */
 
 /*
  * The networking code runs off software interrupts.
 
 /*
  * The networking code runs off software interrupts.
@@ -8,7 +14,9 @@
  * level for the clock (so you can enter the network in routines called
  * at timeout time).
  */
  * level for the clock (so you can enter the network in routines called
  * at timeout time).
  */
+#if defined(vax) || defined(tahoe)
 #define        setsoftnet()    mtpr(SIRR, 12)
 #define        setsoftnet()    mtpr(SIRR, 12)
+#endif
 
 /*
  * Each ``pup-level-1'' input queue has a bit in a ``netisr'' status
 
 /*
  * Each ``pup-level-1'' input queue has a bit in a ``netisr'' status
@@ -18,6 +26,7 @@
  */
 #define        NETISR_RAW      0               /* same as AF_UNSPEC */
 #define        NETISR_IP       2               /* same as AF_INET */
  */
 #define        NETISR_RAW      0               /* same as AF_UNSPEC */
 #define        NETISR_IP       2               /* same as AF_INET */
+#define        NETISR_IMP      3               /* same as AF_IMPLINK */
 #define        NETISR_NS       6               /* same as AF_NS */
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }
 #define        NETISR_NS       6               /* same as AF_NS */
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }