]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add locking to wds(4) and mark MPSAFE.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Nov 2014 22:12:51 +0000 (22:12 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Nov 2014 22:12:51 +0000 (22:12 +0000)
commitc1dffb2f082f9e49e1968b3b61bf4fdedcdf1e2d
tree34cc3119a34f44f70a688d0ef0e452b8ef311c45
parent42e8c47b7861e51f07a88a304708148ed0a84dea
Add locking to wds(4) and mark MPSAFE.
- Add per-softc mutex.
- Use mutex for CAM SIM lock.
- Use bus_*() instead of inb() and outb().
- Use bus_alloc_resource_any() when reasonable.

Tested by: no one
sys/dev/wds/wd7000.c