Other changes to this driver preclude its use on 4.x, so remove 4.x compat

code elsewhere in the driver.
This commit is contained in:
Warner Losh 2005-08-07 23:16:22 +00:00
parent ea16133887
commit 3dd22bbe78

View File

@ -1275,11 +1275,7 @@ xe_set_multicast(struct xe_softc *scp) {
/* Iterate over multicast address list */
count = 0;
IF_ADDR_LOCK(ifp);
#if __FreeBSD_version < 500000
LIST_FOREACH(maddr, &ifp->if_multiaddrs, ifma_link) {
#else
TAILQ_FOREACH(maddr, &ifp->if_multiaddrs, ifma_link) {
#endif
if (maddr->ifma_addr->sa_family != AF_LINK)
continue;