Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 23:58:46 +0900 (JST)
From:      Osamu Hasegawa <kdn_pc215hqj11010@mbr.nifty.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/93393: [PATCH] Add Micro Research PCMCIA LAN Adapter MR10TPC support (if_ed_pccard.c, pccarddevs)
Message-ID:  <200602151458.k1FEwkfg001071@ccnw.ne.jp>
Resent-Message-ID: <200602151500.k1FF0JKM035810@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93393
>Category:       kern
>Synopsis:       [PATCH] Add Micro Research PCMCIA LAN Adapter MR10TPC support (if_ed_pccard.c, pccarddevs)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 15:00:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Osamu Hasegawa <kdn_pc215hqj11010@mbr.nifty.com>
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD takahe 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Feb 7 22:40:14 JST 2006 root@takahe:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
MR10TPC is an old PCMCIA 10Base-T ethernet adapter manufactured by Micro Research Laboratory, Inc.
http://www.mrl.co.jp/catalog/nw/mr10tpc.htm (in Japanese)

Interrupt storm detected on "irq10:"; throttling interrupt source
pccard0: <unknown card> (manufacturer=0xffffffff, product=0xffffffff, function_type=6) at function 0
pccard0:    CIS info: MICRO-RESEARCH-MR10TPC, Ethernet, A, 004743118001

Applied these patches, it was detected correctly and worked fine.

Interrupt storm detected on "irq10:"; throttling interrupt source
ed1: <MICRO-RESEARCH-MR10TPC Ethernet> at port 0x300-0x31f irq 10 function 0 config 32 on pccard0
ed1: Ethernet address: 00:c0:0c:02:5e:20
ed1: type NE2000 (16 bit)

I tested patches on FreeBSD 6.0-RELEASE as well as -CURRENT.
	
>How-To-Repeat:
	
>Fix:
	
--- if_ed_pccard.c.diff begins here ---
--- /usr/src/sys/dev/ed/if_ed_pccard.c.orig	Sat Oct 29 12:49:44 2005
+++ /usr/src/sys/dev/ed/if_ed_pccard.c	Tue Feb  7 21:16:17 2006
@@ -185,6 +185,7 @@
 	{ PCMCIA_CARD(MAGICRAM, ETHER), 0},
 	{ PCMCIA_CARD(MELCO, LPC3_CLX), NE2000DVF_AX88X90},
 	{ PCMCIA_CARD(MELCO, LPC3_TX), NE2000DVF_AX88X90},
+	{ PCMCIA_CARD(MICRORESEARCH, MICRO_RESEARCH_MR10TPC), 0},
 	{ PCMCIA_CARD(NDC, ND5100_E), 0},
 	{ PCMCIA_CARD(NETGEAR, FA410TXC), NE2000DVF_DL100XX},
 	/* Same ID as DLINK DFE-670TXD.  670 has DL10022, fa411 has ax88790 */
--- if_ed_pccard.c.diff ends here ---

--- pccarddevs.diff begins here ---
--- /usr/src/sys/dev/pccard/pccarddevs.orig	Sat Oct 29 12:48:24 2005
+++ /usr/src/sys/dev/pccard/pccarddevs	Tue Feb  7 21:21:04 2006
@@ -639,6 +639,7 @@
 vendor IODATA3			-1	I-O DATA
 vendor LANTECH			-1	Lantech Computer Company
 vendor MELCO2			-1	Melco Corporation
+vendor MICRORESEARCH		-1	Micro Research
 vendor NDC			-1	NDC
 vendor NEC			-1	NEC
 vendor OEM2			-1	Generic OEM
@@ -708,6 +709,7 @@
 product MACNICA MPS100		{ "MACNICA", "MIRACLE&spSCSI", "mPS100", "D.0" } Macnica Miracle SCSI mPS100
 product MEGAHERTZ XJ2288 	{ "MEGAHERTZ", "MODEM&spXJ2288", NULL, NULL } Megahertz XJ2288 Modem
 product MELCO2 LPC2_TX		{ "MELCO", "LPC2-TX", NULL, NULL } Melco LPC2-TX
+product MICRORESEARCH MICRO_RESEARCH_MR10TPC	{ "MICRO-RESEARCH-MR10TPC", "Ethernet", NULL, NULL}
 product NANOSPEED PRISM2	{ "NANOSPEED", "HFA384x/IEEE", "Version&sp01.02", NULL } NANOSPEED ROOT-RZ2000 WLAN Card
 product NDC ND5100_E		{ "NDC", "Ethernet", "A", NULL } Sohoware ND5100E NE2000 Compatible Card
 product NEC CMZ_RT_WP		{ "NEC", "Wireless&spCard&spCMZ-RT-WP", "Version&sp01.01", NULL } NEC Wireless Card CMZ-RT-WP
--- pccarddevs.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602151458.k1FEwkfg001071>