summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-08-04 19:19:18 +0000
committerjhb <jhb@FreeBSD.org>2008-08-04 19:19:18 +0000
commit82bee699d17057265199df7a5bc137655bdfae9e (patch)
tree3d1e8eab296c92d2e69ccb8f79d304033f98dd3a /sys/dev/acpica
parent448cbffe9ead78f0eef9320b85edc254321106d5 (diff)
downloadFreeBSD-src-82bee699d17057265199df7a5bc137655bdfae9e.zip
FreeBSD-src-82bee699d17057265199df7a5bc137655bdfae9e.tar.gz
Add locking to snc(4) so it is MPSAFE:
- Add a mutex to the softc to protect the softc and device hardware. - Use a private timer routine to drive the transmit watchdog timer instead of using if_watchdog/if_timer. - If if_alloc() fails during attach, fail the attach with an error rather than panic'ing. - Clear RUNNING and OACTIVE only in sncstop(). - Don't mess with IFF_UP. - Don't leak 'struct ifnet' on detach. - Setup interrupt handler after ether_ifattach(). - Call ether_ifdetach() rather than if_detach() in the pccard detach routine. Tested by: no one despite repeated requests
Diffstat (limited to 'sys/dev/acpica')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud