1. Remove a rather strangely gratuitous bit of profanity
[unix-history] / sys / net / netisr.h
index 345a307..22708fb 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)netisr.h      7.8 (Berkeley) 5/7/91
  * SUCH DAMAGE.
  *
  *     from: @(#)netisr.h      7.8 (Berkeley) 5/7/91
- *     $Id: netisr.h,v 1.3 1993/11/07 17:47:02 wollman Exp $
+ *     $Id: netisr.h,v 1.5 1993/12/20 14:58:31 wollman Exp $
  */
 
 #ifndef _NET_NETISR_H_
  */
 
 #ifndef _NET_NETISR_H_
 #define        NETISR_IMP      3               /* same as AF_IMPLINK */
 #define        NETISR_NS       6               /* same as AF_NS */
 #define        NETISR_ISO      7               /* same as AF_ISO */
 #define        NETISR_IMP      3               /* same as AF_IMPLINK */
 #define        NETISR_NS       6               /* same as AF_NS */
 #define        NETISR_ISO      7               /* same as AF_ISO */
-#define        NETISR_CCITT    10              /* same as AF_CCITT */
+#define NETISR_X25     9               /* hope nobody wants AF_DATAKIT */
+#define        NETISR_HDLC     10              /* same as AF_CCITT */
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }
 
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }
 
-#ifdef i386
-/* XXX Temporary -- soon to vanish - wfj */
-#define        NETISR_SCLK     11              /* softclock */
-#define        NETISR_AST      12              /* ast -- resched */
-
-#undef schednetisr
-#define        schednetisr(anisr)      {\
-       netisr |= 1<<(anisr); \
-}
-#endif /* i386 */
-
 #ifndef LOCORE
 #ifdef KERNEL
 #ifndef LOCORE
 #ifdef KERNEL
-extern int     netisr;         /* scheduling bits for network */
+extern volatile unsigned netisr;       /* scheduling bits for network */
 #endif
 #endif
 #endif /* _NET_NETISR_H_ */
 #endif
 #endif
 #endif /* _NET_NETISR_H_ */