LAN driver update

- separate semaphore for write queue (about 2% more speed)
 - re-enabled init optimization (avoidance of full chip resets, still experimental)
This commit is contained in:
HenrykRichter
2019-06-11 10:48:18 +02:00
parent b52e485c88
commit 6d091fce0c
12 changed files with 47 additions and 17 deletions
@@ -21,8 +21,8 @@
;
; enable debugging code block (comment/uncomment, see below)
DEBUG EQU 0
GLOBALINT_BOARD EQU 1 ;if 1, then toggle board interrupt, else ENC624 INTIE
OPT_AVOID_DEFAULT_RESETS EQU 0 ;if 1, then check valid Microchip MAC OUI and don't reset the whole chip if the MAC address is ok
GLOBALINT_BOARD EQU 0 ;if 1, then toggle board interrupt, else ENC624 INTIE
OPT_AVOID_DEFAULT_RESETS EQU 1 ;if 1, then check valid Microchip MAC OUI and don't reset the whole chip if the MAC address is ok
incdir src:baxnet/trunk/source/
;Temp:Amiga/src/Zorro-LAN-IDE.git/Driver/enc624j6net/
+2
View File
@@ -702,6 +702,8 @@ void myhw_ControlIntervalTimer( DEVBASEP )
flag = -1; /* stop timer */
else flag = 0; /* no change */
}
if( hwd->timervalue < 1000 )
flag = -1;
if( flag > 0 )
StartIntervalTimer( &hwd->ivtimer, hwd->timervalue );