From 6f7b42e65989f75a72cb5b1fcd95006723198f98 Mon Sep 17 00:00:00 2001 From: rik Date: Sat, 9 Jul 2005 14:31:48 +0000 Subject: [PATCH] Lost cx_mpsafenet check. Pointy hat: me Approved by: re (scottl) --- sys/dev/cx/if_cx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 0627e1325a78..4f757f6c3ee1 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -853,8 +853,9 @@ static int cx_attach (device_t dev) d->ifp->if_softc = d; if_initname (d->ifp, "cx", b->num * NCHAN + c->num); d->ifp->if_mtu = PP_MTU; - d->ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST | - IFF_NEEDSGIANT; + d->ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST; + if (!cx_mpsafenet) + d->ifp->if_flags |= IFF_NEEDSGIANT; d->ifp->if_ioctl = cx_sioctl; d->ifp->if_start = cx_ifstart; d->ifp->if_watchdog = cx_ifwatchdog;