Fixed bug in PCNET32 driver which allowed it to be loaded multiple times.

git-svn-id: svn://kolibrios.org@4629 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2014-03-11 14:29:10 +00:00
parent 0a1d397ded
commit 3e0422f2aa
4 changed files with 7 additions and 6 deletions

View File

@ -1183,7 +1183,7 @@ PIO_write:
;all initialized data place here ; place all initialized data here
align 4 align 4
devices dd 0 devices dd 0
@ -1198,7 +1198,8 @@ my_service db 'RTL8029',0 ;max 16 chars include zero
include_debug_strings include_debug_strings
section '.data' data readable writable align 16 ;place all uninitialized data place here section '.data' data readable writable align 16
; place all uninitialized data here
device_list rd MAX_DEVICES device_list rd MAX_DEVICES

View File

@ -1181,7 +1181,7 @@ end data
include '../peimport.inc' include '../peimport.inc'
my_service db 'i8255x', 0 ; max 16 chars include zero my_service db 'I8255X', 0 ; max 16 chars include zero
devicename db 'Intel Etherexpress pro/100', 0 devicename db 'Intel Etherexpress pro/100', 0
confcmd_data db 22, 0x08, 0, 0, 0, 0x80, 0x32, 0x03, 1 confcmd_data db 22, 0x08, 0, 0, 0, 0x80, 0x32, 0x03, 1

View File

@ -1527,7 +1527,7 @@ end data
include '../peimport.inc' include '../peimport.inc'
my_service db 'PCnet',0 ; max 16 chars include zero my_service db 'PCNET32',0 ; max 16 chars include zero
device_l2 db "PCnet/PCI 79C970",0 device_l2 db "PCnet/PCI 79C970",0
device_l4 db "PCnet/PCI II 79C970A",0 device_l4 db "PCnet/PCI II 79C970A",0