summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-12-22 21:56:22 +0000
committerwollman <wollman@FreeBSD.org>1994-12-22 21:56:22 +0000
commite6ec63204feee711e761971002214c19f676007d (patch)
treedd986184c8951fb36a642ae622be3def3ec5b792 /sys/dev/de
parentaabe5bb0c9a9c0d3f1b160f7a2922a7b96f696e3 (diff)
downloadFreeBSD-src-e6ec63204feee711e761971002214c19f676007d.zip
FreeBSD-src-e6ec63204feee711e761971002214c19f676007d.tar.gz
Move ARP interface initialization into if_ether.c:arp_ifinit().
Diffstat (limited to 'sys/dev/de')
-rw-r--r--sys/dev/de/if_de.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 45cb176..b858b3f 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -863,7 +863,7 @@ tulip_ioctl(
((struct arpcom *)ifp)->ac_ipaddr = IA_SIN(ifa)->sin_addr;
tulip_addr_filter(sc); /* reset multicast filtering */
(*ifp->if_init)(ifp->if_unit);
- arpwhohas((struct arpcom *)ifp, &IA_SIN(ifa)->sin_addr);
+ arp_ifinit((struct arpcom *)ifp, ifa);
break;
}
#endif /* INET */
@@ -1108,7 +1108,7 @@ tulip_pci_attach(
return;
}
- bzero(sc, sizeof(*sc)); /* Zero out the softc*/
+ bzero(sc, sizeof(sc)); /* Zero out the softc*/
sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE);
/*
* We've allocated an extra page of receive space so we can double map
OpenPOWER on IntegriCloud