]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Initialize callout before it is used in atestop() during attach.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 19 Nov 2009 22:04:02 +0000 (22:04 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 19 Nov 2009 22:04:02 +0000 (22:04 +0000)
commit3064f0530b7a1b2dd6168aeda6c6e12fdf930b7c
treedc2626b9b9f9dc907cb3603d02a8e37472643719
parent398f1b6501cbc1844e30b631eed767d2dc33c0d5
- Initialize callout before it is used in atestop() during attach.
- Reorder detach so that ether_ifdetach() is called first.  This removes
  the race that ATE_FLAG_DETACHING closed, so that flag can be removed.
- Trim a duplicate clearing of IFF_DRV_RUNNING.

Reviewed by: imp
sys/arm/at91/if_ate.c