aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_pcn.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-08-28 15:10:35 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-08-28 15:10:35 +0000
commit2a567ae5ec2f43e3527d4de50a7a0ba00b81b2be (patch)
tree206c6b5c619776a3887539552fb0be0b3f4781c9 /sys/pci/if_pcn.c
parentc0b43624d57131306451f0ff942ac8bbb65eaa0e (diff)
downloadsrc-2a567ae5ec2f43e3527d4de50a7a0ba00b81b2be.tar.gz
src-2a567ae5ec2f43e3527d4de50a7a0ba00b81b2be.zip
Tag a last set of PCI network interfaces as IFF_NEEDSGIANT until they
are either locked down or demonstrated MPSAFE.
Notes
Notes: svn path=/head/; revision=134442
Diffstat (limited to 'sys/pci/if_pcn.c')
-rw-r--r--sys/pci/if_pcn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 976b330d43be..ddfa67f1a151 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -552,7 +552,8 @@ pcn_attach(dev)
ifp->if_softc = sc;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
ifp->if_mtu = ETHERMTU;
- ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
+ IFF_NEEDSGIANT;
ifp->if_ioctl = pcn_ioctl;
ifp->if_start = pcn_start;
ifp->if_watchdog = pcn_watchdog;