Bugfix for RTL8139 driver. Updated imports.inc

git-svn-id: svn://kolibrios.org@2851 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-07-09 11:18:32 +00:00
parent 23ad5dd136
commit bf6bf90871
2 changed files with 79 additions and 73 deletions

View File

@ -510,7 +510,7 @@ probe:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
reset:
DEBUGF 2,"Resetting rtl8139: "
DEBUGF 2,"Resetting rtl8139\n"
; attach int handler
@ -617,9 +617,9 @@ reset:
mov eax, [device.rx_buffer]
mov dword[eax], 0
DEBUGF 2,"RX buffer:%x\n", eax
DEBUGF 2,"RX buffer: %x\n", eax
GetRealAddr
DEBUGF 2,"RX buffer:%X\n", eax
DEBUGF 2,"RX buffer: %x\n", eax
set_io REG_RBSTART
out dx , eax

View File

@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -9,7 +9,7 @@ forward
if used name
if DEBUG
display 'uses: ',`name,#13,#10
end if ;
end if
extrn name
end if
}
@ -26,6 +26,10 @@ kernel_export \
FpuRestore,\
ReservePortArea,\
Boot_Log,\
\
MutexInit,\
MutexLock,\
MutexUnlock,\
\
PciApi,\
PciRead32,\
@ -87,6 +91,8 @@ kernel_export \
strrchr,\
\
LFBAddress,\
GetDisplay,\
SetScreen,\
\
NetRegDev,\
NetUnRegDev,\