cvs commit: src/sys/dev/netif/my if_my.c if_myreg.h
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Jun 14 04:06:26 PDT 2005
joerg 2005/06/14 04:05:47 PDT
DragonFly src repository
Modified files:
sys/dev/netif/my if_my.c if_myreg.h
Log:
Remove old attempt at locking, it was incomplete and partially incorrect.
Remove global variable to share state between probe and attach.
Convert to critical sections.
Use my_detach as common error path for my_attach.
Hook up interrupt last.
Remove conditionalized code which doesn't apply (anymore).
Revision Changes Path
1.20 +106 -231 src/sys/dev/netif/my/if_my.c
1.4 +0 -4 src/sys/dev/netif/my/if_myreg.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/my/if_my.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/my/if_myreg.h.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list