if_ep.c: removed netisr.h, fixed unconverted ep_ac, changed <> into ""
authorDavid Greenman <davidg@Root.COM>
Thu, 3 Feb 1994 11:51:12 +0000 (11:51 +0000)
committerDavid Greenman <davidg@Root.COM>
Thu, 3 Feb 1994 11:51:12 +0000 (11:51 +0000)
for include files.
if_ed, if_ie, if_is: don't include netisr.h.

sys/i386/isa/if_ed.c
sys/i386/isa/if_ep.c
sys/i386/isa/if_ie.c
sys/i386/isa/if_is.c

index 45caa81..f8621ed 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /*
  */
 
 /*
- * $Id: if_ed.c,v 1.31 1994/02/02 02:24:38 davidg Exp $
+ * $Id: if_ed.c,v 1.32 1994/02/02 14:05:53 davidg Exp $
  */
 
 #include "ed.h"
  */
 
 #include "ed.h"
@@ -39,7 +39,6 @@
 #include "net/if.h"
 #include "net/if_dl.h"
 #include "net/if_types.h"
 #include "net/if.h"
 #include "net/if_dl.h"
 #include "net/if_types.h"
-#include "net/netisr.h"
 
 #ifdef INET
 #include "netinet/in.h"
 
 #ifdef INET
 #include "netinet/in.h"
index b5db6f6..a59b39a 100644 (file)
@@ -22,7 +22,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  *     From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  *     From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- *     $Id: if_ep.c,v 1.5 1994/01/26 09:13:56 nate Exp $
+ *     $Id: if_ep.c,v 1.6 1994/01/26 20:18:56 nate Exp $
  */
 /*
  * TODO:
  */
 /*
  * TODO:
 
 #include "bpfilter.h"
 
 
 #include "bpfilter.h"
 
-#include <sys/param.h>
+#include "sys/param.h"
 #if defined(__FreeBSD__)
 #if defined(__FreeBSD__)
-#include <sys/systm.h>
-#include <sys/kernel.h>
+#include "sys/systm.h"
+#include "sys/kernel.h"
 #endif
 #endif
-#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
-#include <sys/syslog.h>
+#include "sys/mbuf.h"
+#include "sys/socket.h"
+#include "sys/ioctl.h"
+#include "sys/errno.h"
+#include "sys/syslog.h"
 #if defined(__NetBSD__)
 #if defined(__NetBSD__)
-#include <sys/select.h>
+#include "sys/select.h"
 #endif
 
 #endif
 
-#include <net/if.h>
-#include <net/netisr.h>
-#include <net/if_dl.h>
-#include <net/if_types.h>
-#include <net/netisr.h>
+#include "net/if.h"
+#include "net/if_dl.h"
+#include "net/if_types.h"
 
 #ifdef INET
 
 #ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_ether.h>
+#include "netinet/in.h"
+#include "netinet/in_systm.h"
+#include "netinet/in_var.h"
+#include "netinet/ip.h"
+#include "netinet/if_ether.h"
 #endif
 
 #ifdef NS
 #endif
 
 #ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
+#include "netns/ns.h"
+#include "netns/ns_if.h"
 #endif
 
 #if NBPFILTER > 0
 #endif
 
 #if NBPFILTER > 0
-#include <net/bpf.h>
-#include <net/bpfdesc.h>
+#include "net/bpf.h"
+#include "net/bpfdesc.h"
 #endif
 
 #endif
 
-#include <machine/pio.h>
+#include "machine/pio.h"
 
 
-#include <i386/isa/isa.h>
-#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-#include <i386/isa/if_epreg.h>
+#include "i386/isa/isa.h"
+#include "i386/isa/isa_device.h"
+#include "i386/isa/icu.h"
+#include "i386/isa/if_epreg.h"
 
 #define ETHER_MIN_LEN  64
 #define ETHER_MAX_LEN  1518
 
 #define ETHER_MIN_LEN  64
 #define ETHER_MAX_LEN  1518
@@ -473,7 +471,7 @@ startagain:
 
                        /* copy trailer_header into a data structure */
                        m_copydata(top, off, sizeof(struct trailer_header),
 
                        /* copy trailer_header into a data structure */
                        m_copydata(top, off, sizeof(struct trailer_header),
-                           &trailer_header.ether_type);
+                           (caddr_t)&trailer_header.ether_type);
 
                        /* copy residual data */
                        resid = trailer_header.ether_residual -
 
                        /* copy residual data */
                        resid = trailer_header.ether_residual -
@@ -714,9 +712,9 @@ epread(sc)
                 * there are no BPF listeners.  And if we are in promiscuous
                 * mode, we have to check if this packet is really ours.
                 */
                 * there are no BPF listeners.  And if we are in promiscuous
                 * mode, we have to check if this packet is really ours.
                 */
-               if ((sc->ep_ac.ac_if.if_flags & IFF_PROMISC) &&
+               if ((sc->arpcom.ac_if.if_flags & IFF_PROMISC) &&
                    (eh->ether_dhost[0] & 1) == 0 &&
                    (eh->ether_dhost[0] & 1) == 0 &&
-                   bcmp(eh->ether_dhost, sc->ep_ac.ac_enaddr,
+                   bcmp(eh->ether_dhost, sc->arpcom.ac_enaddr,
                         sizeof(eh->ether_dhost)) != 0 &&
                    bcmp(eh->ether_dhost, etherbroadcastaddr,
                         sizeof(eh->ether_dhost)) != 0) {
                         sizeof(eh->ether_dhost)) != 0 &&
                    bcmp(eh->ether_dhost, etherbroadcastaddr,
                         sizeof(eh->ether_dhost)) != 0) {
index 613f03e..95095bd 100644 (file)
@@ -39,7 +39,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     $Id: if_ie.c,v 1.1 1993/10/12 06:52:31 rgrimes Exp $
+ *     $Id: if_ie.c,v 1.2 1993/11/25 01:31:36 wollman Exp $
  */
 
 /*
  */
 
 /*
@@ -115,7 +115,6 @@ iomem, and to make 16-pointers, we subtract iomem and and with 0xffff.
 #include "net/if.h"
 #include "net/if_types.h"
 #include "net/if_dl.h"
 #include "net/if.h"
 #include "net/if_types.h"
 #include "net/if_dl.h"
-#include "net/netisr.h"
 #include "net/route.h"
 
 #include "bpfilter.h"
 #include "net/route.h"
 
 #include "bpfilter.h"
index e27ea89..0ae982f 100644 (file)
@@ -37,7 +37,6 @@
 #include "net/if.h"
 #include "net/if_dl.h"
 #include "net/if_types.h"
 #include "net/if.h"
 #include "net/if_dl.h"
 #include "net/if_types.h"
-#include "net/netisr.h"
 
 #ifdef INET
 #include "netinet/in.h"
 
 #ifdef INET
 #include "netinet/in.h"