Subject: kern/4455: kern: No support for D-Link DE-650 pcmcia ethernet card
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric S. Hvozda <hvozda@helios.ack.org>
List: netbsd-bugs
Date: 11/09/1997 19:30:57
>Number:         4455
>Category:       kern
>Synopsis:       There is no support for the D-Link DE-650 ethernet card
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov  9 16:35:02 1997
>Last-Modified:
>Originator:     Eric S. Hvozda
>Organization:
>Release:        NetBSD-current sources supped 9Nov1997
>Environment:
System: NetBSD helios.ack.org 1.3_ALPHA NetBSD 1.3_ALPHA (HELIOS) #0: Sun Nov 9 17:35:41 EST 1997 hvozda@helios.ack.org:/usr/src/sys/arch/i386/compile/HELIOS i386


>Description:
	With the abandonment of Stefan Grefen's/jtk's pcmcia patches
	due to the intergration of Marc's pcmcia subsystem, the
	D-Link DE-650 ethernet card is no longer supported.  However,
	the patch below will allow the card to be supported as a
	ne device.
>How-To-Repeat:
	Try to use a D-Link DE-650 with NetBSD 1.3_ALPHA and discover
	it is not supported.
>Fix:
	Apply this patch to /sys/dev/pcmcia/if_ne_pcmcia.c:

*** if_ne_pcmcia.c.dist	Sun Nov  9 15:38:03 1997
--- if_ne_pcmcia.c	Sun Nov  9 15:39:19 1997
***************
*** 106,111 ****
--- 106,115 ----
        PCMCIA_MANUFACTURER_INVALID, PCMCIA_PRODUCT_INVALID,
        "PCMCIA", "UE2212", 0,
        0xff0, { 0x00, 0x00, 0xe8 } },
+     { "D-Link DE-650",
+       PCMCIA_MANUFACTURER_INVALID, PCMCIA_PRODUCT_INVALID,
+       "D-Link", "DE-650", 0,
+       0x0040, { 0x00, 0x80, 0xc8 } },
  #if 0
      /* the rest of these are stolen from the linux pcnet pcmcia device
         driver.  Since I don't know the manfid or cis info strings for
***************
*** 132,140 ****
      { "Dayna CommuniCard E",
        0x0000, 0x0000, NULL, NULL, 0,
        0x0110, { 0x00, 0x80, 0x19 } },
-     { "D-Link DE-650",
-       0x0000, 0x0000, NULL, NULL, 0,
-       0x0040, { 0x00, 0x80, 0xc8 } },
      { "EP-210 Ethernet",
        0x0000, 0x0000, NULL, NULL, 0,
        0x0110, { 0x00, 0x40, 0x33 } },
--- 136,141 ----
>Audit-Trail:
>Unformatted: