]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r216925,217331,217349,217542:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 2 Feb 2011 18:42:53 +0000 (18:42 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 2 Feb 2011 18:42:53 +0000 (18:42 +0000)
commit2881f3d98cea149fa52191630cca36befb820de8
tree97570083f97f2118ebb24abfd3eb959acc0f674b
parent9c3651716fce6adba531025eb6fa0a64635cf2be
MFC r216925,217331,217349,217542:
r216925:
  Add a 'locked' variant of the foo_start() routine and call it directly
  from interrupt handlers and watchdog routines instead of queueing a task
  to call foo_start().

r217331:
  Make sure to invoke unlocked foo_start since the taskqueue does not
  hold a driver lock. This should fix a regression introduced in
  r216925.

r217349:
  Forgot to remove unlock of the driver lock from age_start_locked() when
  converting it to a locked variant.

r217542:
  Fix some bugs in my last set of changes to ale(4):
  - Remove extra unlock from end of ale_start_locked().
  - Expand scope of locking in interrupt handler.
  - Move ether_ifdetach() earlier and retire now-unneeded DETACH flag.

  Tested by: Aryeh Friedman

git-svn-id: svn://svn.freebsd.org/base/stable/8@218198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ae/if_ae.c
sys/dev/ae/if_aevar.h
sys/dev/age/if_age.c
sys/dev/age/if_agevar.h
sys/dev/alc/if_alc.c
sys/dev/alc/if_alcvar.h
sys/dev/ale/if_ale.c
sys/dev/ale/if_alevar.h
sys/dev/nfe/if_nfe.c
sys/dev/nfe/if_nfevar.h