r781 didn't fix all artefacts of r465

git-svn-id: svn://kolibrios.org@2577 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2012-04-06 18:31:43 +00:00
parent 0708bf4e15
commit d324897069

View File

@ -242,7 +242,7 @@ endg
pcnet32_dwio_read_csr: pcnet32_dwio_read_csr:
push edx push edx
lea edx, [ebp+PCNET32_DWIO_RAP] lea edx, [ebp+PCNET32_DWIO_RAP]
mov ebx, eax mov eax, ebx
out dx, eax out dx, eax
lea edx, [ebp+PCNET32_DWIO_RDP] lea edx, [ebp+PCNET32_DWIO_RDP]
in eax, dx in eax, dx
@ -267,7 +267,7 @@ pcnet32_dwio_write_csr:
pcnet32_dwio_read_bcr: pcnet32_dwio_read_bcr:
push edx push edx
lea edx, [ebp+PCNET32_DWIO_RAP] lea edx, [ebp+PCNET32_DWIO_RAP]
mov ebx, eax mov eax, ebx
out dx, eax out dx, eax
lea edx, [ebp+PCNET32_DWIO_BDP] lea edx, [ebp+PCNET32_DWIO_BDP]
in eax, dx in eax, dx
@ -709,10 +709,10 @@ pcnet32_probe:
mov eax, 2 mov eax, 2
call dword [pcnet32_access.write_bcr] call dword [pcnet32_access.write_bcr]
mov ebx, 1 mov ebx, 1
mov eax, (pcnet32_private and 0xffff) mov eax, ((pcnet32_private - OS_BASE) and 0xffff)
call dword [pcnet32_access.write_csr] call dword [pcnet32_access.write_csr]
mov ebx, 2 mov ebx, 2
mov eax, (pcnet32_private shr 16) and 0xffff mov eax, ((pcnet32_private - OS_BASE) shr 16) and 0xffff
call dword [pcnet32_access.write_csr] call dword [pcnet32_access.write_csr]
mov ebx, 0 mov ebx, 0
mov eax, 1 mov eax, 1