]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make arl(4) MPSAFE:
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 4 Jul 2008 17:48:34 +0000 (17:48 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 4 Jul 2008 17:48:34 +0000 (17:48 +0000)
commit0c036c44dd87fed8ccbca55dfe0bbb00bfaf0529
tree306140365586a980317df1588f05c5a64ada9d17
parent0cbeb4415866456cde8dccc2a4da3126366f942d
Make arl(4) MPSAFE:
- Add a mutex to the softc and use it to protect the softc and device
  hardware.
- Setup interrupt handler after ether_ifattach().
- Use a private timer instead of if_timer/if_watchdog.
- Retire arl_unit from the softc and use if_printf() and device_printf()
  instead.

Note that the unpatched driver in 6.x and later does not work with the
hardware, so the one person who had volunteered to test the patch wasn't
able to test it.
sys/dev/arl/if_arl.c
sys/dev/arl/if_arl_isa.c
sys/dev/arl/if_arlreg.h