Subject: RPTI 400 pcmcia ethernet: test request
To: None <tech-kern@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 05/25/2004 17:05:57
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've found an Ethernet card of the abovementioned type that shows up (with
NetBSD-2.0_BETA) as having the address 0:0:0:0:0:0. After researching how
another OS handles this card, I've found that the appended patch makes this
card look reasonable.=20

Users of this card: can you please build a kernel with this patch=20
applied, and report success/failure (with the output of PCMCIAVERBOSE if
possible)?

The patch applies cleanly to the 1.6 branch, the 2.0 branch and is=20
in -current.

Regards,
	-is

Index: if_ne_pcmcia.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.110
diff -u -r1.110 if_ne_pcmcia.c
--- if_ne_pcmcia.c	13 Mar 2004 15:09:16 -0000	1.110
+++ if_ne_pcmcia.c	21 May 2004 19:22:56 -0000
@@ -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 } },
=20
     { PCMCIA_STR_RPTI_EP401,
       PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,




--=20
seal your e-mail: http://www.gnupg.org/

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAs2DVN4tiz3B8hB0RAtR0AJ9QQLOpWACw5SluRnwU9+GI+Vr46QCgnDAj
1DivcldgDUqVYjgTE02OcCY=
=bMQ4
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--