summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_de.c4
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
OpenPOWER on IntegriCloud