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/sf | |
| parent | 96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff) | |
Notes
Diffstat (limited to 'sys/dev/sf')
| -rw-r--r-- | sys/dev/sf/if_sf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 771e69ea8e0b..6322a3b37671 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -671,7 +671,8 @@ static int sf_attach(dev) unit = device_get_unit(dev); bzero(sc, sizeof(struct sf_softc)); - mtx_init(&sc->sf_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->sf_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); SF_LOCK(sc); /* * Handle power management nonsense. |
