Subject: Re: pcmcia ethernet
To: None <muc-lists-netbsd-users@moderators.muc.de>
From: Andreas Lohrum <Andreas.Lohrum@tngtech.com>
List: netbsd-users
Date: 02/07/2002 21:00:15
--Multipart_Thu_Feb__7_20:56:19_2002-1
Content-Type: text/plain; charset=US-ASCII
prlw1@newn.cam.ac.uk (Patrick Welche) writes:
> On Thu, Feb 07, 2002 at 02:22:02AM +0100, User & wrote:
> > Where can I find documentations about installing a new PCMCIA
> > ethernet card. I read faqs about kernel at http://www.netbsd.org
> > but the second part of the document isn't clear for me. So I
> > search examples.
> > dmesg indicates :
> > pcmcia0 at cardslot0
> > pcmcia0: CIS version PCMCIA 2.0 or 2.1
> > pcmcia0: CIS info: PCMCIA, FastEthernet, V, 1.0
> > pcmcia0: Manufacturer code 0xffff, product 0x1090
>
> That suggests that we don't know about your card. Do you know who it's made
> by or what chip is in it? What's written on it?
Look's like mine, it's a Billionton LNA-100B,(NE2000 compatible), I
made some modifications so it's recognized. But suspend and resume
still doesn't work :-( (No time at the moment)
----
From tech-support@billionton.com.tw:
Hi, Dear Customer:
We are using Asix's AX88790 chip. If you have any question please contact
us. Thanks
Best Regards
Billionton System inc.
Technical Support Team
-----
My dmesg looks like
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Billionton, LNA-100B, V, 1.0
pcmcia0: Manufacturer code 0xffff, product 0x1090
pcmcia0: function 0: network adapter, ccr addr 3c0 mask 63
pcmcia0: function 0, config table entry 7: I/O card; irq mask ffff; iomask a, io
space 300-31f; mwait_required io16 irqlevel
ne0 at pcmcia0 function 0
ne0: Billionton Systems Inc. LNA-100B NE2000 Compatible Card Ethernet
ne0: Ethernet address 00:10:60:f3:0b:1d
I'll append my patches, not good and not complete....
Andreas Lohrum
--Multipart_Thu_Feb__7_20:56:19_2002-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="Billionton"
Content-Transfer-Encoding: 7bit
*** pcmciadevs.h.orig Thu Jan 24 02:01:18 2002
--- pcmciadevs.h Thu Jan 24 01:59:29 2002
***************
*** 1,12 ****
! /* $NetBSD: pcmciadevs.h,v 1.158 2002/01/17 09:56:44 joda Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
! * NetBSD: pcmciadevs,v 1.157 2002/01/13 10:38:47 aymeric Exp
*/
/* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
--- 1,12 ----
! /* $NetBSD$ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
! * NetBSD: pcmciadevs,v 1.158 2002/01/17 09:56:43 joda Exp
*/
/* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
***************
*** 666,675 ****
--- 666,678 ----
#define PCMCIA_PRODUCT_AMD_AM79C930 -1
#define PCMCIA_STR_AMD_AM79C930 "AMD Am79C930"
#define PCMCIA_CIS_BILLIONTON_LNT10TN { "PCMCIA", "LNT-10TN", NULL, NULL }
#define PCMCIA_PRODUCT_BILLIONTON_LNT10TN -1
#define PCMCIA_STR_BILLIONTON_LNT10TN "Billionton Systems Inc. LNT-10TN NE2000 Compatible Card"
+ #define PCMCIA_CIS_BILLIONTON_LNA100B { "Billionton", "LNA-100B", "V", "1.0" }
+ #define PCMCIA_PRODUCT_BILLIONTON_LNA100B -1
+ #define PCMCIA_STR_BILLIONTON_LNA100B "Billionton Systems Inc. LNA-100B NE2000 Compatible Card"
#define PCMCIA_CIS_CNET_NE2000 { "CNet", "CN40BC Ethernet", "D", "NE2000" }
#define PCMCIA_PRODUCT_CNET_NE2000 -1
#define PCMCIA_STR_CNET_NE2000 "CNet CN40BC NE2000 Compatible"
#define PCMCIA_CIS_COREGA_ETHER_PCC_T { "corega K.K.", "corega Ether PCC-T", NULL, NULL }
#define PCMCIA_PRODUCT_COREGA_ETHER_PCC_T -1
*** pcmciadevs.orig Thu Jan 24 02:01:04 2002
--- pcmciadevs Thu Jan 24 01:59:13 2002
***************
*** 385,394 ****
--- 385,395 ----
product ACCTON EN2212 { "ACCTON", "EN2212", NULL, NULL } Accton EN2212
product AMBICOM AMB8002T { "AmbiCom&spInc", "AMB8002T", NULL, NULL } AmbiCom AMB8002T
product AMD AM79C930 { "AMD", "Am79C930", NULL, NULL } AMD Am79C930
product BILLIONTON LNT10TN { "PCMCIA", "LNT-10TN", NULL, NULL } Billionton Systems Inc. LNT-10TN NE2000 Compatible Card
+ product BILLIONTON LNA100B { "Billionton", "LNA-100B", NULL, NULL } Billionton Systems Inc. LNA-100B NE2000 Compatible Card
product CNET NE2000 { "CNet", "CN40BC&spEthernet", "D", "NE2000" } CNet CN40BC NE2000 Compatible
product COREGA ETHER_PCC_T { "corega&spK.K.", "corega&spEther&spPCC-T", NULL, NULL } Corega Ether PCC-T
product COREGA ETHER_PCC_TD { "corega&spK.K.", "corega&spEther&spPCC-TD", NULL, NULL } Corega Ether PCC-TD
product COREGA ETHER_II_PCC_T { "corega&spK.K.", "corega&spEtherII&spPCC-T", NULL, NULL } Corega EtherII PCC-T
product COREGA FAST_ETHER_PCC_TX { "corega&spK.K.", "corega&spFastEther&spPCC-TX", NULL, NULL } Corega FastEther PCC-TX
*** pcmciadevs_data.h.orig Thu Jan 24 02:01:27 2002
--- pcmciadevs_data.h Thu Jan 24 01:59:40 2002
***************
*** 1,12 ****
! /* $NetBSD: pcmciadevs_data.h,v 1.159 2002/01/17 09:56:44 joda Exp $ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
! * NetBSD: pcmciadevs,v 1.157 2002/01/13 10:38:47 aymeric Exp
*/
/* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
--- 1,12 ----
! /* $NetBSD$ */
/*
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
! * NetBSD: pcmciadevs,v 1.158 2002/01/17 09:56:43 joda Exp
*/
/* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
***************
*** 1019,1028 ****
--- 1019,1035 ----
PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_BILLIONTON_LNT10TN,
PCMCIA_CIS_BILLIONTON_LNT10TN,
0,
"Billionton Systems Inc.",
"Billionton Systems Inc. LNT-10TN NE2000 Compatible Card", }
+ ,
+ {
+ PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_BILLIONTON_LNA100B,
+ PCMCIA_CIS_BILLIONTON_LNA100B,
+ 0,
+ "Billionton Systems Inc.",
+ "Billionton Systems Inc. LNA-100B NE2000 Compatible Card", }
,
{
PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_CNET_NE2000,
PCMCIA_CIS_CNET_NE2000,
0,
*** if_ne_pcmcia.c.orig Thu Jan 24 02:00:52 2002
--- if_ne_pcmcia.c Thu Jan 24 01:58:59 2002
***************
*** 185,194 ****
--- 185,199 ----
{ PCMCIA_STR_ZONET_ZEN,
PCMCIA_VENDOR_ZONET, PCMCIA_PRODUCT_ZONET_ZEN,
PCMCIA_CIS_ZONET_ZEN,
0, -1, { 0x00, 0x00, 0x00 } },
+ { PCMCIA_STR_BILLIONTON_LNA100B,
+ PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_BILLIONTON_LNA100B,
+ PCMCIA_CIS_BILLIONTON_LNA100B,
+ 0, -1, { 0x00, 0x00, 0x00 } },
+
/*
* You have to add new entries which contains
* PCMCIA_VENDOR_INVALID and/or PCMCIA_PRODUCT_INVALID
* in front of this comment.
*
--Multipart_Thu_Feb__7_20:56:19_2002-1--