summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx/if_cx.c
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2004-08-27 22:14:26 +0000
committerrik <rik@FreeBSD.org>2004-08-27 22:14:26 +0000
commitf3b648e6a62c1ce188c9c5e9b856f857cfeb9f94 (patch)
tree1692e27e3bdf0af0d533862916defc0686ba4182 /sys/dev/cx/if_cx.c
parent8909a0eb93edac315f3d79ed8c7c81e96ebd2de2 (diff)
downloadFreeBSD-src-f3b648e6a62c1ce188c9c5e9b856f857cfeb9f94.zip
FreeBSD-src-f3b648e6a62c1ce188c9c5e9b856f857cfeb9f94.tar.gz
Make code ready to switch debug.mpsafenet to 1 since I've not able to
commit MPSAFE code for now it is just IFF_NEEDSGIANT.
Diffstat (limited to 'sys/dev/cx/if_cx.c')
-rw-r--r--sys/dev/cx/if_cx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index 7c2e65c..15a0669 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -867,7 +867,8 @@ static int cx_attach (device_t dev)
d->pp.pp_if.if_name = "cx";
#endif
d->pp.pp_if.if_mtu = PP_MTU;
- d->pp.pp_if.if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
+ d->pp.pp_if.if_flags = IFF_POINTOPOINT | IFF_MULTICAST |
+ IFF_NEEDSGIANT;
d->pp.pp_if.if_ioctl = cx_sioctl;
d->pp.pp_if.if_start = cx_ifstart;
d->pp.pp_if.if_watchdog = cx_ifwatchdog;
OpenPOWER on IntegriCloud