Bug 18257

Summary: My PnP modem does not recognize correctly on 4.0-STABLE
Product: Base System Reporter: Takuhiro Nishioka <takuhiro>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description Takuhiro Nishioka 2000-04-27 17:00:01 UTC
	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
-----------------------------------------------------------------------------

Fix: 

I don't know.

-- 
Takuhiro Nishioka mailto:takuhiro@super.win.ne.jp
Comment 1 takawata 2000-04-29 14:09:52 UTC
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}
 };
Comment 2 tanimura freebsd_committer freebsd_triage 2000-05-02 07:08:16 UTC
State Changed
From-To: open->closed

Fixed in rev 1.295(current) and 1.291.2.2(4-stable).