[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: via-rhine driver
From: |
Mario Klebsch |
Subject: |
Re: via-rhine driver |
Date: |
Thu, 22 Mar 2001 00:25:02 +0100 |
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday, 11. March 2001 04:46, OKUJI Yoshinori wrote:
> From: Mario Klebsch <address@hidden>
> Subject: via-rhine driver
> > 2. My via-rhine does not work. I had a look on the source an I
> > wonder, wether via-rhine is under active development. Is anybody is
> > working on via-rhine.c? It would be a big help, if there is anybody
> > to discuss internal problems with.
>
> Please make sure that the problem is the via-rhine driver itself,
> rather than because you enabled multiple network drivers.
I finally managed to find out my major problem with the via-rhine
driver. :-) Two minutes ago, it did configure itself via BOOTP, loaded
a linux kernel and booted it. I added my VIA 6102 card to config.c. I
did some more work on via-rhine.c, but that did not seem to be
essential on my problem. If anybody wants my modified version of
via-rhine.c, I would continue to work on it and publish it, when it is
finished.
73, Mario
P.S. Here are my diff against the CVS version:
Index: config.c
===================================================================
RCS file: /cvsroot/grub/grub/netboot/config.c,v
retrieving revision 1.10
diff -c -r1.10 config.c
*** config.c 2001/02/02 12:21:18 1.10
- --- config.c 2001/03/21 23:17:25
***************
*** 137,142 ****
- --- 137,144 ----
"ADMtek Centaur-P", 0, 0, 0},
#endif
#ifdef INCLUDE_VIA_RHINE
+ { PCI_VENDOR_ID_VIATEC, 0x3065,
+ "VIA 6102", 0, 0, 0},
{ PCI_VENDOR_ID_VIATEC, PCI_DEVICE_ID_VIA_RHINE_I,
"VIA 3043", 0, 0, 0},
{ PCI_VENDOR_ID_VIATEC, PCI_DEVICE_ID_VIA_86C100A,
***************
*** 219,224 ****
- --- 221,227 ----
{ PCI_VENDOR_ID_ADMTEK, PCI_DEVICE_ID_ADMTEK_0985,
tulip_probe },
# endif /* INCLUDE_TULIP */
# ifdef INCLUDE_VIA_RHINE
+ { PCI_VENDOR_ID_VIATEC, 0x3065, rhine_probe },
{ PCI_VENDOR_ID_VIATEC, PCI_DEVICE_ID_VIA_RHINE_I,
rhine_probe },
{ PCI_VENDOR_ID_VIATEC, PCI_DEVICE_ID_VIA_86C100A,
rhine_probe },
# endif /* INCLUDE_VIA_RHINE */
Index: via-rhine.c
===================================================================
RCS file: /cvsroot/grub/grub/netboot/via-rhine.c,v
retrieving revision 1.2
diff -c -r1.2 via-rhine.c
*** via-rhine.c 2000/04/22 01:17:09 1.2
- --- via-rhine.c 2001/03/21 23:14:12
***************
*** 1072,1080 ****
/* printf ("init ring"); */
rhine_init_ring (nic);
- - /*write TD RD Descriptor to MAC */
- - outl (virt_to_bus (tp->rx_ring), dwCurrentRxDescAddr);
- - outl (virt_to_bus (tp->tx_ring), dwCurrentTxDescAddr);
/* close IMR */
outw (0x0000, byIMR0);
- --- 1072,1077 ----
***************
*** 1094,1099 ****
- --- 1091,1100 ----
outb (CFGD_CFDX, byCFGD);
outw (CR_FDX, byCR0);
}
+
+ /*write TD RD Descriptor to MAC */
+ outl (virt_to_bus (tp->rx_ring), dwCurrentRxDescAddr);
+ outl (virt_to_bus (tp->tx_ring), dwCurrentTxDescAddr);
/* KICK NIC to WORK */
CRbak = inw (byCR0);
- --
Mario Klebsch address@hidden
PGP-Key available at http://www.klebsch.de/public.key
Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0
Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: sYB56ZDqgr1vtzQ5XASCzmG+rRCXqgpP
iQA/AwUBOrk4WDDOn7KgR5zgEQLE9wCgoZz8srZvXXe7o+t+ArgucYyUc5AAnRVY
cYkoRYibFQsBqlPKsKoNVDdU
=YIJo
-----END PGP SIGNATURE-----