Subject: kern/7238: card info wrong in if_ne_pcmcia.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ingolf@knuut.de>
List: netbsd-bugs
Date: 03/26/1999 01:12:33
>Number: 7238
>Category: kern
>Synopsis: ethernet address information wrong in if_ne_pcmcia.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 25 16:20:01 1999
>Last-Modified:
>Originator: Ingolf Koch
>Organization:
Ingolf Koch Jena-Optronik GmbH
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04
>Release: 1.3.3
>Environment:
System: NetBSD maus 1.3.3 NetBSD 1.3.3 (MAUS) #0: Sat Feb 13 23:22:50 MET 1999 ingolf@maus:/usr/obj/sys/arch/amiga/compile/MAUS amiga
>Description:
The current sys/dev/pcmcia/if_ne_pcmcia.c contains wrong
ethernet address information for the Compex Linkport ENET-B
PCMCIA ethernet card.
After applying the patch below, the kernel detects the correct
ethernet address.
>How-To-Repeat:
Use the mentioned ethernet card with a current kernel.
Find out that the kernel's idea of the ethernet address is
different from e.g. Win95's.
>Fix:
Apply the following patch to sys/dev/pcmcia/if_ne_pcmcia.c
and close PR kern/6349, too.
--- sys/dev/pcmcia/if_ne_pcmcia.c.orig Tue Dec 29 13:16:03 1998
+++ sys/dev/pcmcia/if_ne_pcmcia.c Fri Mar 26 01:01:42 1999
@@ -210,7 +210,7 @@
{ PCMCIA_STR_COMPEX_LINKPORT_ENET_B,
PCMCIA_VENDOR_COMPEX, PCMCIA_PRODUCT_COMPEX_LINKPORT_ENET_B,
PCMCIA_CIS_COMPEX_LINKPORT_ENET_B,
- 0, 0xd400, { 0x01, 0x03, 0xdc } },
+ 0, 0x01c0, { 0x00, 0xa0, 0x0c } },
#if 0
/* the rest of these are stolen from the linux pcnet pcmcia device
>Audit-Trail:
>Unformatted: