Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia My incarnation of the RPTI 400 card tells 0:0...



details:   https://anonhg.NetBSD.org/src/rev/700d54b9eecb
branches:  trunk
changeset: 566947:700d54b9eecb
user:      is <is%NetBSD.org@localhost>
date:      Tue May 25 11:51:11 2004 +0000

description:
My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.

diffstat:

 sys/dev/pcmcia/if_ne_pcmcia.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3142a1611519 -r 700d54b9eecb sys/dev/pcmcia/if_ne_pcmcia.c
--- a/sys/dev/pcmcia/if_ne_pcmcia.c     Tue May 25 11:15:43 2004 +0000
+++ b/sys/dev/pcmcia/if_ne_pcmcia.c     Tue May 25 11:51:11 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ne_pcmcia.c,v 1.112 2004/04/25 19:38:27 itojun Exp $        */
+/*     $NetBSD: if_ne_pcmcia.c,v 1.113 2004/05/25 11:51:11 is Exp $    */
 
 /*
  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.112 2004/04/25 19:38:27 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.113 2004/05/25 11:51:11 is Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -149,7 +149,7 @@
     { PCMCIA_STR_RPTI_EP400,
       PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
       PCMCIA_CIS_RPTI_EP400,
-      0, -1, { 0x00, 0x40, 0x95 } },
+      0, 0x110, { 0x00, 0x40, 0x95 } },
 
     { PCMCIA_STR_RPTI_EP401,
       PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,



Home | Main Index | Thread Index | Old Index