summaryrefslogtreecommitdiff
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
commit6008862bc2494a2094e15699f4f73fad800b6bcd (patch)
treef7344c6a10fdc020dd02fe2ee1f244cb56f92bb6 /sys/pci/if_ste.c
parent96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff)
Notes
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r--sys/pci/if_ste.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 0473ca8603aa..6b65dcfd6bb6 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -914,7 +914,8 @@ static int ste_attach(dev)
unit = device_get_unit(dev);
bzero(sc, sizeof(struct ste_softc));
- mtx_init(&sc->ste_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
+ mtx_init(&sc->ste_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
+ MTX_DEF | MTX_RECURSE);
STE_LOCK(sc);
/*