Subject: RPTI 400 PCMCIA ethernet and if_ne_pcmcia.c
To: None <current-users@NetBSD.ORG>
From: Laine Stump <laine@MorningStar.Com>
List: current-users
Date: 03/12/1998 17:13:09
(actually, I'm running 1.3, but since this is a card not supported in
1.3, I figured it would be of interest here).

I have an RPTI 400 PCMCIA ethernet card, which is supposed to be ne2000
compatible. When I plug it into a machine, I get the following info:

  pcmcia1: CIS version 2.0 or 2.01
  pcmcia1: CIS info: RPTI LTD., EP400, CISV100, \M^T\^D SL
  pcmcia1: Manufacturer code 0xffffffff, product 0xffffffff
  pcmcia1: function 0: network adapter, ccr addr 100 mask 1
  pcmcia1: function 0, config table entry 48: I/O card; irq mask 9e3c; iomask 5, iospace 300-31f; mwait_required rdybsy_active wp_active bvd_active io8 io16 irqpulse
  pcmcia1: function 0, config table entry 49: I/O card; irq mask 9e3c; iomask 5, iospace 320-33f; mwait_required rdybsy_active wp_active bvd_active io8 io16 irqpulse
  pcmcia1: function 0, config table entry 50: I/O card; irq mask 9e3c; iomask 5, iospace 340-35f; mwait_required rdybsy_active wp_active bvd_active io8 io16 irqpulse
  RPTI LTD., EP400, CISV100, \M^T\^D SL (manufacturer 0xffffffff, product 0xffffffff) function 0 not configured

I notice that if_ne_pcmcia.c has the following:

#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
       any of them, they're not compiled in until I do. */

 ...

    { "RPTI EP400",
      0x0000, 0x0000, NULL, NULL, 0,
      0x0110, { 0x00, 0x40, 0x95 } },

 ...

So - what numbers do I plug in at what place to put the RPTI EP400
definition up into the land of the living?