diff options
author | wollman <wollman@FreeBSD.org> | 1994-12-22 21:56:22 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-12-22 21:56:22 +0000 |
commit | e6ec63204feee711e761971002214c19f676007d (patch) | |
tree | dd986184c8951fb36a642ae622be3def3ec5b792 /sys/pci | |
parent | aabe5bb0c9a9c0d3f1b160f7a2922a7b96f696e3 (diff) | |
download | FreeBSD-src-e6ec63204feee711e761971002214c19f676007d.zip FreeBSD-src-e6ec63204feee711e761971002214c19f676007d.tar.gz |
Move ARP interface initialization into if_ether.c:arp_ifinit().
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_de.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index 45cb176..b858b3f 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/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 |