diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 21:03:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-04-04 21:03:38 +0000 |
| commit | 6008862bc2494a2094e15699f4f73fad800b6bcd (patch) | |
| tree | f7344c6a10fdc020dd02fe2ee1f244cb56f92bb6 /sys/dev/txp | |
| parent | 96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff) | |
Notes
Diffstat (limited to 'sys/dev/txp')
| -rw-r--r-- | sys/dev/txp/if_txp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index d1535ae519fcb..1ac9a67383ca9 100644 --- a/sys/dev/txp/if_txp.c +++ b/sys/dev/txp/if_txp.c @@ -218,7 +218,8 @@ txp_attach(dev) sc->sc_dev = dev; sc->sc_cold = 1; - mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_DEF|MTX_RECURSE); + mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); /* * Handle power management nonsense. |
