From kurt@cantor.boolean.net Sun Sep 26 11:24:02 1999
Return-Path: <kurt@cantor.boolean.net>
Received: from cantor.boolean.net (cantor.boolean.net [209.133.111.73])
	by hub.freebsd.org (Postfix) with ESMTP id 2C30415ABD
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Sep 1999 11:22:42 -0700 (PDT)
	(envelope-from kurt@cantor.boolean.net)
Received: (from kurt@localhost)
	by cantor.boolean.net (8.9.3/8.9.1) id SAA38299;
	Sun, 26 Sep 1999 18:22:41 GMT
	(envelope-from kurt)
Message-Id: <199909261822.SAA38299@cantor.boolean.net>
Date: Sun, 26 Sep 1999 18:22:41 GMT
From: Kurt Zeilenga <kurt@boolean.net>
Sender: kurt@cantor.boolean.net
Reply-To: kurt@boolean.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: PnP detection of USR3020 modem
X-Send-Pr-Version: 3.2

>Number:         13983
>Category:       kern
>Synopsis:       PnP detection of USR3020 modem
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 26 11:30:01 PDT 1999
>Closed-Date:    Sun Oct 3 15:29:09 PDT 1999
>Last-Modified:  Tue Nov 27 18:31:18 PST 2001
>Originator:     Kurt Zeilenga
>Release:        FreeBSD 4.0-Currenct i386
>Organization:
OpenLDAP
>Environment:

# uname -a
FreeBSD boole.boolean.net 4.0-CURRENT FreeBSD 4.0-CURRENT #14: Sun Sep 26 11:07:57 PDT 1999     kurt@boole.boolean.net:/work/src/sys/compile/BOOLEAN-SMP  i386

# pnpinfo -v
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID USR2030 (0x30207256), Serial Number 0xadacaa93
PnP Version 1.0, Vendor Version 0
Device Description: U.S.Robotics Inc. Sportster 56000 FAX Internal 

Logical Device ID: USR2030 0x30207256 #0
TAG Start DF
Good Configuration
    I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
        [16-bit addr]
    IRQ: 3 5 7  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
        [16-bit addr]
    IRQ: 2 3 4 5 7  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
        [16-bit addr]
    IRQ: 2 3 4 5 7  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
        [16-bit addr]
    IRQ: 2 3 4 5 7  - only one type (true/edge)
TAG End DF
End Tag

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

CSN USR2030 (0x30207256), Serial Number 0xadacaa93

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


>Description:

USR modem no longer detected.

unknown0: <U.S.Robotics Inc. Sportster 56000 FAX Internal> at port 0x3e8-0x3ef irq 5 on isa0

>How-To-Repeat:

Boot with USR3020 modem

>Fix:
	
Apply patch:

sio2: <USR3020> at port 0x3e8-0x3ef irq 5 on isa0
sio2: type 16550A


Index: dev/sio/sio.c
===================================================================
RCS file: /work/CVS-Repository/src/sys/dev/sio/sio.c,v
retrieving revision 1.267
diff -u -u -r1.267 sio.c
--- sio.c   1999/09/25 18:23:55 1.267
+++ sio.c   1999/09/26 18:07:29
@@ -563,6 +563,7 @@
    {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */
    {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */
    {0x31307256, "USR3031"},    /* USR3031 */
+   {0x30207256, "USR3020"},    /* USR3020 */
    {0}
 };

Index: isa/sio.c
===================================================================
RCS file: /work/CVS-Repository/src/sys/isa/sio.c,v
retrieving revision 1.268
diff -u -u -r1.268 sio.c
--- sio.c   1999/09/25 18:24:21 1.268
+++ sio.c   1999/09/26 18:07:34
@@ -568,6 +568,7 @@
    {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */
    {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */
    {0x31307256, "USR3031"},    /* USR3031 */
+   {0x30207256, "USR3020"},    /* USR3020 */
    {0}
 };

Index: pc98/pc98/sio.c
===================================================================
RCS file: /work/CVS-Repository/src/sys/pc98/pc98/sio.c,v
retrieving revision 1.108
diff -u -u -r1.108 sio.c
--- sio.c   1999/09/25 18:24:36 1.108
+++ sio.c   1999/09/26 18:07:38
@@ -959,6 +959,7 @@
    {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */
    {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */
    {0x31307256, "USR3031"},    /* USR3031 */
+   {0x30207256, "USR3020"},    /* USR3020 */
    {0}
 };



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: deischen 
State-Changed-When: Sun Oct 3 15:29:09 PDT 1999 
State-Changed-Why:  
Applied the patch to add the logical device ID to the list of pnp devices. 
>Unformatted:
