some markup changes in dec21x4x.asm

git-svn-id: svn://kolibrios.org@2923 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-08-15 15:04:34 +00:00
parent 70c292f418
commit a31be47dbc

View File

@ -320,7 +320,7 @@ proc START stdcall, state:dword
.entry:
DEBUGF 2,"Loading dec21x4x driver\n"
DEBUGF 2,"Loading %s driver\n", my_service
stdcall RegService, my_service, service_proc
ret
@ -654,8 +654,8 @@ reset:
; set last descriptor as LAST
sub edi, DES.size
or [edi + DES.DES1], RDES1_RER ; EndOfRing
pop edx ;;
mov [edi+DES.DES3], edx ;;
pop edx
mov [edi + DES.DES3], edx
;---------------------
; Setup TX descriptors
@ -671,7 +671,7 @@ reset:
mov edi, [device.tx_p_des]
mov ecx, TX_DES_COUNT
push edx ;;
push edx
.loop_tx_des:
add edx, DES.size
mov [edi + DES.DES0], 0 ; owned by driver
@ -691,8 +691,8 @@ reset:
; set last descriptor as LAST
sub edi, DES.size
or [edi + DES.DES1], TDES1_TER ; EndOfRing
pop edx ;;;
mov [edi+DES.DES3], edx ;;;
pop edx
mov [edi + DES.DES3], edx
;------------------
; Reset descriptors