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/pci/if_ti.c | |
| parent | 96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff) | |
Notes
Diffstat (limited to 'sys/pci/if_ti.c')
| -rw-r--r-- | sys/pci/if_ti.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index 79261058f2c7..17f5a004851c 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -1454,7 +1454,8 @@ static int ti_attach(dev) unit = device_get_unit(dev); bzero(sc, sizeof(struct ti_softc)); - mtx_init(&sc->ti_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE); + mtx_init(&sc->ti_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, + MTX_DEF | MTX_RECURSE); TI_LOCK(sc); sc->arpcom.ac_if.if_capabilities = IFCAP_HWCSUM; sc->arpcom.ac_if.if_capenable = sc->arpcom.ac_if.if_capabilities; |
