]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make sbsh(4) MPSAFE:
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 4 Jul 2008 21:13:18 +0000 (21:13 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 4 Jul 2008 21:13:18 +0000 (21:13 +0000)
commitddab19ead9f9c52f01df68905ae7fe5b4b119c17
treea4f37019ce62ea10512d972dd4cb9d3dbb1fc6fb
parente9a31041c016f6e2042440c9f18627b7708fc334
Make sbsh(4) MPSAFE:
- Add a mutex to the softc and use it to protect the softc and device
  hardware.
- Setup interrupt handler after ether_ifattach().
- Remove unused sbsh_watchdog() routine.
- Protect against concurrent attempts to load firmware.
sys/dev/sbsh/if_sbsh.c