Don't rely on retry.c's periodically calling currticks() in order to
allow the UNDI NIC interrupt to happen.
This commit is contained in:
parent
218314e712
commit
304d1e9fa5
|
@ -423,8 +423,14 @@ static void undinet_poll ( struct net_device *netdev ) {
|
||||||
|
|
||||||
if ( ! undinic->isr_processing ) {
|
if ( ! undinic->isr_processing ) {
|
||||||
/* Do nothing unless ISR has been triggered */
|
/* Do nothing unless ISR has been triggered */
|
||||||
if ( ! undinet_isr_triggered() )
|
if ( ! undinet_isr_triggered() ) {
|
||||||
|
/* Allow interrupt to occur */
|
||||||
|
__asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
|
||||||
|
"nop\n\t"
|
||||||
|
"nop\n\t"
|
||||||
|
"cli\n\t" ) : : );
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Start ISR processing */
|
/* Start ISR processing */
|
||||||
undinic->isr_processing = 1;
|
undinic->isr_processing = 1;
|
||||||
|
|
Reference in New Issue