--- wikisrc/users/msaitoh/Comparison_of_implementations_of_Ethernet_drivers.mdwn 2015/02/05 04:53:21 1.3 +++ wikisrc/users/msaitoh/Comparison_of_implementations_of_Ethernet_drivers.mdwn 2015/02/05 08:28:30 1.5 @@ -1,7 +1,7 @@ - + @@ -13,14 +13,14 @@ - + - - + + @@ -32,7 +32,7 @@ - +
driverwhere dmemem is allocated inwhere dmamem is allocated in variations of mutex if_init lock if_start locknotes
wm(knakahara)wm(knakahara+ozaki-r) in attach() tx, rx, core CORE_LOCK(spin mutex) TX_LOCK(spin mutex) + sc_stopping flag CORE_LOCK(spin mutex)+sc_stopping flaguse CORE_LOCK() and TX_LOCK() partiallynouse CORE_LOCK(spin mutex) and TX_LOCK(spin mutex) partiallyNo TX and RX differently TX_LOCK(mutex) and check sc_stopping in the beginning not taken? TX_LOCK(mutex)+sc_stopping check TX, RX + sc_stopping checksplnetsplnet() only RX is softint'ed TX and RX differently callout isn't used