Si la memoria no me es infiel, eran aproximadamente:
Las 21 horas con 55 minutos y 49 segundos del 25 de Nov del 2000
Cuando Druida osó irrumpir mi descanso para decir:
Hola de nuevo... aun no termino con lo de la placa de red y ya tengo dramas
con algo mas...
Tu Davicom 9102 esta perfectamente soportada en los kernels 2.4.0-testX. El
nombre del driver es dmfe:
% insmod dmfe.o
En caso de que tengas una version anterior y no te quieras actualizar, todavia
puedes usar el modulo si tienes 'Module Versions' funcionando. Nada mas
tienes que compilar el fuente del driver (te lo anexo) con:
% gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet \
-Wall -Wstrict-prototypes -O6 -c dmfe.c
Asegurate de tener los fuentes del kernel (/usr/src/linux/net/inet).
El problema es que la pantalla de video se hace pedazos... o sea, se ve
bien pero como que comienza a temblar, poquito a poco, cada vez mas, hasta
que se vuelve una maraña de lineas, se corre la pantalla y no se ve nada.
P.D.: El chip de mi placa de video es el SiS 5595, pero al no estar en la
lista del XF86, le puse la 5597. Mi amigo lo había puesto asi, por eso lo
volví a poner... pero pude haber visto mal y ese sea el problema. Puede ser?
cual es mejor poner de las SiS?
Segun tengo entendido esa tarjeta solo es soportada en la version 3.3.6 del
xfree, si tienes esa version nada mas asegurate de seleccionar adecuadamente
los parametros (i.e., XF86_SVGA server con el driver sis, los barridos
horizontales y verticales correctos, etc.).
Ojala y te sirva, un saludo.
--
===
MC_Vai | Don't tell me how hard you've tried...
Computer Science Eng. | Just show me what you got done.
C/Assembly SC_Developer|
[EMAIL PROTECTED] | - MC_Vai
===
/*
dmfe.c: Version 1.30 06/11/2000
A Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux.
Copyright (C) 1997 Sten Wang
(C)Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Compiler command:
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c dmfe.c
OR
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net -Wall
-Wstrict-prototypes -O6 -c dmfe.c
The following steps teach you how to active DM9102 board:
1. Used the upper compiler command to compile dmfe.c
2. insert dmfe module into kernel
insmod dmfe;;Auto Detection Mode
insmod dmfe mode=0 ;;Force 10M Half Duplex
insmod dmfe mode=1 ;;Force 100M Half Duplex
insmod dmfe mode=4 ;;Force 10M Full Duplex
insmod dmfe mode=5 ;;Force 100M Full Duplex
3. config a dm9102 network interface
ifconfig eth0 172.22.3.18
4. active the IP routing table
route add -net 172.22.3.0 eth0
5. Well done. Your DM9102 adapter actived now.
Author: Sten Wang, 886-3-5798797-8517, E-mail: [EMAIL PROTECTED]
Date: 10/28,1998
(C)Copyright 1997-1998 DAVICOM Semiconductor, Inc. All Rights Reserved.
Marcelo Tosatti [EMAIL PROTECTED] :
Made it compile in 2.3 (device to net_device)
Alan Cox [EMAIL PROTECTED] :
Cleaned up for kernel merge.
Removed the back compatibility support
Reformatted, fixing spelling etc as I went
Removed IRQ 0-15 assumption
Jeff Garzik [EMAIL PROTECTED] :
Updated to use new PCI driver API.
Resource usage cleanups.
Report driver version to user.
TODO
Implement pci_driver::suspend() and pci_driver::resume()
power management methods.
Check and fix on 64bit and big endian boxes.
Test and make sure PCI latency is now correct for all cases.
*/
#define DMFE_VERSION 1.30 (June 11, 2000)
#include linux/module.h
#include linux/kernel.h
#include linux/sched.h
#include linux/string.h
#include linux/timer.h
#include linux/ptrace.h
#include linux/errno.h
#include linux/ioport.h
#include linux/malloc.h
#include linux/interrupt.h
#include linux/pci.h
#include linux/init.h
#include linux/version.h
#include linux/netdevice.h
#include linux/etherdevice.h
#include linux/skbuff.h
#include linux/delay.h
#include asm/processor.h
#include asm/bitops.h
#include asm/io.h
#include asm/dma.h
/* Board/System/Debug information/definition */
#define PCI_DM9132_ID 0x91321282 /* Davicom DM9132 ID */
#define PCI_DM9102_ID 0x91021282 /* Davicom