From fujiwara@rcac.tdi.co.jp  Sat May  6 21:46:25 2000
Return-Path: <fujiwara@rcac.tdi.co.jp>
Received: from f.rcac.tdi.co.jp (spacecraft.f.rcac.tdi.co.jp [202.249.17.133])
	by hub.freebsd.org (Postfix) with SMTP id EEF3037B6BC
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 May 2000 21:46:19 -0700 (PDT)
	(envelope-from fujiwara@rcac.tdi.co.jp)
Received: (qmail 1746 invoked from network); 7 May 2000 04:46:16 -0000
Received: from localhost (127.0.0.1)
  by localhost with SMTP; 7 May 2000 04:46:16 -0000
Message-Id: <20000507134615W.fujiwara@rcac.tdi.co.jp>
Date: Sun, 07 May 2000 13:46:15 +0900 (JST)
From: fujiwara@rcac.tdi.co.jp
Reply-To: fujiwara@rcac.tdi.co.jp
To: FreeBSD-gnats-submit@freebsd.org
Cc: fujiwara@rcac.tdi.co.jp
Subject: ISA pccard adapter (Ratoc REX-5051VB)
X-Send-Pr-Version: 3.2

>Number:         18427
>Category:       kern
>Synopsis:       new ISA PnP PC card adaptor
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 07 01:10:19 PDT 2000
>Closed-Date:    Thu Aug 10 06:52:53 PDT 2000
>Last-Modified:  Thu Aug 10 06:56:25 PDT 2000
>Originator:     Kazunori_Fujiwara
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
TDI, Co., LTD
>Environment:

	ISA PnP PC Card Adaptor
	Vendor = Ratoc
	Product = REX-5051VB

>Description:

	This product has new ISA PnP ID.

>How-To-Repeat:
>Fix:

I add ISA_PNP_ID to i82365reg.h and pcpc.c
then works goot.

pcic2: <Vadem 469> at port 0x3e0-0x3e1 on isa0
pcic2: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic2
pccard1: <PC Card bus -- kludge version> on pcic2

Index: dev/pcic/i82365reg.h
===================================================================
RCS file: /home1/export/FreeBSD-CVS/src/sys/dev/pcic/i82365reg.h,v
retrieving revision 1.3
diff -u -r1.3 i82365reg.h
--- dev/pcic/i82365reg.h	2000/03/10 05:26:32	1.3
+++ dev/pcic/i82365reg.h	2000/05/07 04:16:07
@@ -347,3 +347,4 @@
 #define PCIC_PNP_CL_PD6720	0x010ED041	/* PNP0E01 */
 #define PCIC_PNP_VLSI_82C146	0x020ED041	/* PNP0E02 */
 #define PCIC_PNP_82365_CARDBUS	0x030ED041	/* PNP0E03 */
+#define PCIC_PNP_ACTIONTEC	0x1802a904
Index: pccard/pcic.c
===================================================================
RCS file: /home1/export/FreeBSD-CVS/src/sys/pccard/pcic.c,v
retrieving revision 1.89
diff -u -r1.89 pcic.c
--- pccard/pcic.c	2000/03/10 05:43:28	1.89
+++ pccard/pcic.c	2000/05/05 16:03:48
@@ -87,6 +87,7 @@
 	{PCIC_PNP_CL_PD6720,		NULL},		/* PNP0E01 */
 	{PCIC_PNP_VLSI_82C146,		NULL},		/* PNP0E02 */
 	{PCIC_PNP_82365_CARDBUS,	NULL},		/* PNP0E03 */
+	{PCIC_PNP_ACTIONTEC,		NULL},
 	{0}
 };
 
pnpinfo shows:

Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID AEI0218 (0x1802a904), Serial Number 0x01234567
PnP Version 1.0, Vendor Version 0
Device Description: ACTIONTEC PNP PCMCIA ADAPTER 

Logical Device ID: AEI0218 0x1802a904 #0
	Vendor register funcs 00
    I/O Range 0x3e0 .. 0x3fe, alignment 0x2, len 0x2
	[16-bit addr]
End Tag

Successfully got 4 resources, 1 logical fdevs
-- card select # 0x0001

CSN AEI0218 (0x1802a904), Serial Number 0x01234567

Logical device #0
IO:  0x03e0 0x03e0 0x03e0 0x03e0 0x03e0 0x03e0 0x03e0 0x03e0
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sanpei 
State-Changed-When: Thu Aug 10 06:52:53 PDT 2000 
State-Changed-Why:  
This PnP ID was commited by imp 
requested by Kazuya Kodama <kodama@rd.nacsis.ac.jp>. 

src/sys/pccard/pcic.c:		Rev.1.93 
src/sys/dev/pcic/i82365reg.h:	Rev.1.4 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18427 
>Unformatted:
