Board.KolibriOS.org

Official KolibriOS board
It is currently Tue May 21, 2019 4:30 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Jun 13, 2014 12:39 am 
Offline

Joined: Fri Jun 13, 2014 12:16 am
Posts: 4
Habra soporte para esta antigua tarjeta de red? RTL-8019as ISA/PNP compatible ne 2000 , muy extendida en su momento sobre todo en los primeros pentium y pentium II.
Gracias por vuestra atencion.


Top
   
PostPosted: Fri Jun 13, 2014 6:37 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
I think it should be possible to make the RTL8019AS chip work through the RTL8029 driver.
I have however never tried to do so.

If you know the I/O address and IRQ of the card, I can make a test driver for you.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Sat Jun 14, 2014 8:06 am 
Offline

Joined: Fri Jun 13, 2014 12:16 am
Posts: 4
En mi caso la tarjeta la tengo en la IRQ 5, puerto 220h.
En esta pagina puedes ver el resto de sus caracteristicas.

http://www.ovislink.com/newovislink/pro ... 019as.html

Gracias por el interes.


Top
   
PostPosted: Sat Jun 14, 2014 2:47 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
With the following program you can load the RTL8029 driver for ISA card.
(Parameters must be configured at the bottom of the code, before compiling)
Note: PnP must be disabled on the card, use the original DOS/windows/... program to do this if not already done.

Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                                                              ;;
;; Copyright (C) KolibriOS team 2014. All rights reserved.      ;;
;; Distributed under terms of the GNU General Public License    ;;
;;                                                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

format binary as ""

use32
        db      'MENUET01'
        dd      1
        dd      start
        dd      i_end
        dd      mem
        dd      mem
        dd      0, 0

start:
        mov     eax, 68
        mov     ebx, 16
        mov     ecx, path
        int     0x40

        mov     [IOCTL.handle], eax

        mov     eax, 68
        mov     ebx, 17
        mov     ecx, IOCTL
        int     0x40

        mov     eax, -1
        int     0x40

; DATA SECTION

        path    db 'RTL8029'

IOCTL:
   .handle      dd ?
   .io_code     dd 1    ; SRV_HOOK
   .input       dd hardwareinfo
   .inp_size    dd 4
   .output      dd 0
   .out_size    dd 0

hardwareinfo:
   .type        db 0 ; ISA
   .io          dw 220h
   .irq         db 5

i_end:
mem:


I attached a binary version of this program + a driver which gives more information on the debug board then the standard driver.
Good luck!


Attachments:
loadisa [117 Bytes]
Downloaded 198 times
RTL8029.obj [2.76 KiB]
Downloaded 186 times

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Top
   
PostPosted: Sun Jun 15, 2014 6:39 pm 
Offline

Joined: Fri Jun 13, 2014 12:16 am
Posts: 4
He estado probando el driver y efectivamente se carga en memoria, configura automaticamente la red por dhcp. pero sigue sin aparecer el interfaz en configuracion de red, solo sale en estado de red junto con el dispositivo loopback. La tarjeta funciona durante unos pocos segundos pero en seguida deja de responder,sin dar error aparente, da tiempo por ejemplo a cargar una sola pagina, no mas.
En fin muchas gracias por todo.
Un saludo!


Top
   
PostPosted: Sun Jun 15, 2014 6:49 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
Aha, it's a good start :)

Netcfg is only able to detect cards on the PCI bus, the plan was to incorporate a GUI utility to configure the ISA cards manually.
(And save these settings to .ini file)
But because ISA cards are not very popular today, I havent done this yet :)

There are some problems with RTL8029 driver that might cause it to halt, maybe this version will fix it.

PS: I have RTL8019AS laying around here somewhere, but not much time right now :(


Attachments:
RTL8029.obj [2.94 KiB]
Downloaded 197 times

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Top
   
PostPosted: Sat Jun 21, 2014 8:13 am 
Offline

Joined: Fri Jun 13, 2014 12:16 am
Posts: 4
Otra semana mas al pie del cañon, un saludo a todos.
Agradezco el esfurezo que has hecho con el driver pero la rtl-8019 sigue desapareciendo a los 30-40 segundos de su activacion. Es decir se carga en memoria, se asigna la ip por dhcp, navegas una o dos paginas y ¡wop! ya no hay mas trafico ip. Lo mas frustrante es que en el board no dice absolutamente nada con lo que diagnosticar el problema es casi imposible.


Top
   
PostPosted: Mon Jun 30, 2014 10:07 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
It's possibly a problem with the driver.
I'm on a vacation right now, but might investigate when I get back.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited