Remove old attempt at locking, it was incomplete and partially incorrect.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 14 Jun 2005 11:05:47 +0000 (11:05 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 14 Jun 2005 11:05:47 +0000 (11:05 +0000)
commitc0f0a6cbc72eb30cca59b93ff4092252567f3865
tree994669c2db8a25720528d82cb17a89255bda1ee0
parent61b0028aeb491e162f6b19790e7e76c2f3eb96f5
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).
sys/dev/netif/my/if_my.c
sys/dev/netif/my/if_myreg.h