Subject: Re: kern/6349: Add PCMCIA ethernet card to if_ne_pcmcia.c
To: None <gnats-bugs@gnats.netbsd.org, gnats-admin@netbsd.org>
From: Ingolf Koch <ingolf@knuut.de>
List: netbsd-bugs
Date: 03/20/1999 00:06:12
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii

The fix supplied in the PR was wrong. Replace it with the
attached -- it has been working for several weeks now.
Please note that the problems mentioned in the original PR
disappeared after adding

options     PCIC_ISA_INTR_ALLOC_MASK=0xf918
options     PCIC_ISA_ALLOC_IOBASE=0x400
options     PCIC_ISA_ALLOC_IOSIZE=0xbff

to the kernel config file.

The patch is to be applied on the 1.3.3 sources.

    Ingolf
-- 

Ingolf Koch                            Jena-Optronik GmbH
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Description: patch to enable Compex PCMCIA ethernet card
Content-Disposition: attachment; filename=diff

--- dev/pcmcia/if_ne_pcmcia.c.orig	Tue May  5 08:52:20 1998
+++ dev/pcmcia/if_ne_pcmcia.c	Fri Feb 12 21:50:37 1999
@@ -113,6 +113,9 @@
       PCMCIA_MANUFACTURER_INVALID, PCMCIA_PRODUCT_INVALID,
       "D-Link", "DE-650", 0,
       0x0040, { 0x00, 0x80, 0xc8 } },
+    { "Compex LinkPort ENET-B",
+      0x8a01, 0x0100, "PCMCIA", "Ethernet Card",
+      0, 0x01c0, { 0x00, 0xa0, 0x0c } },
 #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

--liOOAslEiF7prFVr--