From takuhiro@super.win.ne.jp  Thu Apr 27 08:53:26 2000
Return-Path: <takuhiro@super.win.ne.jp>
Received: from super.win.ne.jp (super.win.ne.jp [202.26.1.170])
	by hub.freebsd.org (Postfix) with ESMTP id 7B92637B685
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Apr 2000 08:53:20 -0700 (PDT)
	(envelope-from takuhiro@super.win.ne.jp)
Received: from takuhiro (PPP16043.win.ne.jp [202.26.16.43])
	by super.win.ne.jp (8.10.0.Beta10/8.10.0.Beta10) with SMTP id e3RFr7G16312;
	Fri, 28 Apr 2000 00:53:09 +0900 (JST)
	env-from (takuhiro@super.win.ne.jp)
Message-Id: <200004271553.e3RFr7G16312@super.win.ne.jp>
Date: Fri, 28 Apr 2000 00:55:33 +0900
From: Takuhiro Nishioka <takuhiro@super.win.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: My PnP modem is not recognized correctly. (lack in PnP ID?)

>Number:         18257
>Category:       kern
>Synopsis:       My PnP modem does not recognize correctly on 4.0-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 09:00:01 PDT 2000
>Closed-Date:    Mon May 1 23:08:16 PDT 2000
>Last-Modified:  Mon May  1 23:09:30 PDT 2000
>Originator:     Takuhiro Nishioka
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

	Till 3.4-RELEASE, my PnP modem worked correctly and I am very
	happy with that.  Recently I upgraded my system to 4.0-STABLE,
	then it turns not to be recognized correctly.  I don't know
	why, but lack in PnP ID?

	The pnpinfo output:
-----------------------------------------------------------------------------
	Checking for Plug-n-Play devices...

	Card assigned CSN #1
	Vendor ID CTL0080 (0x80008c0e), Serial Number 0xffffffff
	PnP Version 1.0, Vendor Version 17
	Device Description: Creative ViBRA16CL PnP

	Logical Device ID: CTL0041 0x41008c0e #0
	Device Description: Audio
	TAG Start DF
	Good Configuration
	    IRQ: 5  - only one type (true/edge)
	    DMA: channel(s) 1 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    DMA: channel(s) 5 
		16-bit, not a bus master, , count by word, Compatibility mode
	    I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
		[16-bit addr]
	    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
		[16-bit addr]
	    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    DMA: channel(s) 5 7 
		16-bit, not a bus master, , count by word, Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
		[16-bit addr]
	    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    DMA: channel(s) 5 7 
		16-bit, not a bus master, , count by word, Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    DMA: channel(s) 5 7 
		16-bit, not a bus master, , count by word, Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
		[16-bit addr]
	    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	TAG Start DF
	Sub-optimal Configuration
	    IRQ: 5 7 9 10  - only one type (true/edge)
	    DMA: channel(s) 1 3 
		8-bit, not a bus master, count by byte, , Compatibility mode
	    DMA: channel(s) 5 7 
		16-bit, not a bus master, , count by word, Compatibility mode
	    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
		[16-bit addr]
	    I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
		[16-bit addr]
	    I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
		[16-bit addr]
	TAG End DF

	Logical Device ID: CTL7002 0x02708c0e #1
	Device Description: Game
	TAG Start DF
	Good Configuration
	    I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
		[16-bit addr]
	TAG Start DF
	Acceptable Configuration
	    I/O Range 0x200 .. 0x208, alignment 0x8, len 0x8
		[16-bit addr]
	TAG End DF
	End Tag

	Successfully got 59 resources, 2 logical fdevs
	-- card select # 0x0001

	CSN CTL0080 (0x80008c0e), Serial Number 0xffffffff

	Logical device #0
	IO:  0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220
	IRQ 5 0
	DMA 1 5
	IO range check 0x00 activate 0x01

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

	Card assigned CSN #2
	Vendor ID FUJ0202 (0x0202aa1a), Serial Number 0x31302aad
	PnP Version 1.0, Vendor Version 5
	Device Description: FUJITSU Modem 33600 PNP/I2

	Logical Device ID: FUJ0000 0x0000aa1a #0
		Device supports I/O Range Check
	TAG Start DF
	    I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 3  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 4  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 4  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 3  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 5 7 9 10 11 12 15  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 5 7 9 10 11 12 15  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 5 7 9 10 11 12 15  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 5 7 9 10 11 12 15  - only one type (true/edge)
	TAG Start DF
	    I/O Range 0x100 .. 0xfff8, alignment 0x8, len 0x8
		[16-bit addr]
	    IRQ: 3 4 5 7 9 10 11 12 15  - only one type (true/edge)
	TAG End DF
	End Tag

	Successfully got 31 resources, 1 logical fdevs
	-- card select # 0x0002

	CSN FUJ0202 (0x0202aa1a), Serial Number 0x31302aad

	Logical device #0
	IO:  0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8
	IRQ 9 0
	DMA 4 0
	IO range check 0x00 activate 0x01
-----------------------------------------------------------------------------

>How-To-Repeat:


>Fix:

	I don't know.

-- 
Takuhiro Nishioka mailto:takuhiro@super.win.ne.jp


>Release-Note:
>Audit-Trail:

From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org, takuhiro@super.win.ne.jp
Cc:  
Subject: Re: kern/18257: My PnP modem does not recognize correctly on 4.0-STABLE
Date: Sat, 29 Apr 2000 22:09:52 +0900

 Will this fix your problem?
 
 
 --- sio.c-	Sat Apr 29 02:21:05 2000
 +++ sio.c	Sat Apr 29 02:27:10 2000
 @@ -706,6 +706,7 @@
  	{0x90917256, NULL},	/* USR9190 - USR 56k Voice INT */
  	{0x0300695c, NULL},	/* WCI0003 - Fax/Voice/Modem/Speakphone/Asvd */
  	{0x61f7896a, NULL},	/* ZTIF761 - Zoom ComStar 33.6 */
 +	{0x0000aa1a, NULL},     /* FUJ0000 - Fujitsu Internal PnP modem */
  	{0}
  };
  
 
State-Changed-From-To: open->closed 
State-Changed-By: tanimura 
State-Changed-When: Mon May 1 23:08:16 PDT 2000 
State-Changed-Why:  
Fixed in rev 1.295(current) and 1.291.2.2(4-stable). 
>Unformatted:
