Subject: bug in sys/dev/pcmcia/if_ne_pcmcia.c
To: None <current-users@netbsd.org>
From: Ingolf Koch <ingolf@djo-jena.de>
List: current-users
Date: 03/25/1999 15:00:46
--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,

the file sys/dev/pcmcia/if_ne_pcmcia.c contains wrong
ethernet address numbers for the Compex Linkport card
(see audit trail for kern/6349). Please apply the
following patch:

--------8<--------8<--------

*** if_ne_pcmcia.c.orig Thu Mar 25 14:41:41 1999
--- if_ne_pcmcia.c      Thu Mar 25 14:44:26 1999
***************
*** 210,216 ****
      { 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 } },
 =20
  #if 0
      /* the rest of these are stolen from the linux pcnet pcmcia device
--- 210,216 ----
      { PCMCIA_STR_COMPEX_LINKPORT_ENET_B,
        PCMCIA_VENDOR_COMPEX, PCMCIA_PRODUCT_COMPEX_LINKPORT_ENET_B,
        PCMCIA_CIS_COMPEX_LINKPORT_ENET_B,
!       0, 0x01c0, { 0x00, 0xa0, 0x0c } },
 =20
  #if 0
      /* the rest of these are stolen from the linux pcnet pcmcia device

--------8<--------8<--------

With the corrected data, the driver detects the correct ethernet
address for the card (well, at least the same address as Win95
detects).

After applying the patch above, kern/6349 can be closed.

Regards,
    Ingolf
--=20

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

--mojUlQ0s9EVzWg2t
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: yzgsUM/J3W5X0veom7kWqaD9orDRbXgg

iQCVAwUBNvpBjKx/qbJ7O1ZhAQE3LAQArd0RdFZ3ra56AP9FhkFvDPADaHKerZoh
muOSxbr1CjujpW7RumrTTT0lkZBIdA1wr86VDycRHQmeWzS61nS8t8dfoiYkJPGv
wkSGrmvjmNlcJmtZeqvkQXymcwREGseZ9ExztUGhkntA/GiUXa87j0urPHOkTcfY
/YvaNb4wmj8=
=QBN2
-----END PGP SIGNATURE-----

--mojUlQ0s9EVzWg2t--