#if sun stuff
authorBill Joy <root@ucbvax.Berkeley.EDU>
Mon, 1 Nov 1982 06:57:46 +0000 (22:57 -0800)
committerBill Joy <root@ucbvax.Berkeley.EDU>
Mon, 1 Nov 1982 06:57:46 +0000 (22:57 -0800)
SCCS-vsn: sys/net/netisr.h 4.2

usr/src/sys/net/netisr.h

index 4bb5062..123c164 100644 (file)
@@ -1,4 +1,4 @@
-/*     netisr.h        4.1     82/10/09        */
+/*     netisr.h        4.2     82/10/31        */
 
 /*
  * The networking code runs off software interrupts.
 
 /*
  * The networking code runs off software interrupts.
@@ -8,7 +8,13 @@
  * 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 sun
+#include "../sun/sir.h"
+#define        setsoftnet()    siron(SIR_NET)
+#else
+/* #include "../vax/mtpr.h" */
 #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