Bug 18427

Summary: new ISA PnP PC card adaptor
Product: Base System Reporter: fujiwara <fujiwara>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: fujiwara
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description fujiwara 2000-05-07 09:10:19 UTC
	This product has new ISA PnP ID.

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



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--PfKJugrvv86RP0R0mWMNvloe5vHYVkduteOty6A42DCVjdJ6
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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:
Comment 1 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2000-08-10 14:52:53 UTC
State Changed
From-To: open->closed

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