cvs commit: src/sys/dev/hme if_hme.c if_hme_pci.c if_hme_sbus.c if_hmevar.h

Scott Long scottl at freebsd.org
Mon Nov 22 00:08:28 PST 2004


Pyun YongHyeon wrote:
> yongari     2004-11-22 06:46:31 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/hme          if_hme.c if_hme_pci.c if_hme_sbus.c 
>                          if_hmevar.h 
>   Log:
>   Make hme(4) mpsafe
>    - Let hme_start()/hme_init() acquire lock and then call
>      hme_start_locked()/hme_init_locked() respectivly.
>    - Teardown interrupt handler before hme_detach().
>    - Remove IFF_NEEDSGIANT flag and mark interrupt handler INTR_MPSAFE.
>    - Set callout handler to CALLOUT_MPSAFE.
>    - Add locks in hme MII interface.
>   
>   Reviewed by:    jake
>   Tested by:      Julian C. Dunn  <jdunn at opentrend dot net>
>   MFC after:      2 weeks
>   
>   Revision  Changes    Path
>   1.32      +97 -17    src/sys/dev/hme/if_hme.c
>   1.16      +9 -5      src/sys/dev/hme/if_hme_pci.c
>   1.15      +10 -5     src/sys/dev/hme/if_hme_sbus.c
>   1.7       +7 -2      src/sys/dev/hme/if_hmevar.h

Awesome job!

Scott


More information about the cvs-all mailing list