From nobody@FreeBSD.org  Wed Dec 15 21:32:21 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 336C416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Dec 2004 21:32:21 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC1743D39
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Dec 2004 21:32:21 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBFLWJTr041437
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Dec 2004 21:32:20 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBFLWJ0w041348;
	Wed, 15 Dec 2004 21:32:19 GMT
	(envelope-from nobody)
Message-Id: <200412152132.iBFLWJ0w041348@www.freebsd.org>
Date: Wed, 15 Dec 2004 21:32:19 GMT
From: mike tancsa <mike@sentex.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Patch to provide support for the Davicom 56PDV PCI Modems
X-Send-Pr-Version: www-2.3

>Number:         75132
>Category:       kern
>Synopsis:       [puc] [patch] add support for the Davicom 56PDV PCI Modems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 21:40:21 GMT 2004
>Closed-Date:    Mon Jul 18 18:26:41 UTC 2011
>Last-Modified:  Mon Jul 18 18:26:41 UTC 2011
>Originator:     mike tancsa
>Release:        RELENG_4 and RELENG_5
>Organization:
sentex communications
>Environment:
4.11-PRERELEASE FreeBSD 4.11-PRERELEASE #0
>Description:
Here is a patch to support the Davicom PCI Modem
>How-To-Repeat:
Boot without the patch

>Fix:
Here is the RELENG_4 patch

--- pucdata.c.prev      Wed Dec 15 16:18:22 2004
+++ pucdata.c   Wed Dec 15 16:18:51 2004
@@ -804,6 +804,15 @@
            },
        },
 
+        /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
+        {   "Davicom 56PDV PCI Modem",
+            {   0x1282, 0x6585, 0,      0       },
+            {   0xffff, 0xffff, 0,      0       },
+            {
+                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+            },
+        },
+
        /* Actiontec  56K PCI Master */
        {   "Actiontec 56K PCI Master",
            {   0x11c1, 0x0480, 0x0,    0x0     },


and the RELENG_5 patch


releng5-865# diff -u pucdata.c.prev pucdata.c
--- pucdata.c.prev      Wed Dec 15 15:35:18 2004
+++ pucdata.c   Wed Dec 15 15:56:59 2004
@@ -827,6 +827,15 @@
            },
        },
 
+        /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
+        {   "Davicom 56PDV PCI Modem",
+            {   0x1282, 0x6585, 0,      0       },
+            {   0xffff, 0xffff, 0,      0       },
+            {
+                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+            },
+        },
+
        /* Actiontec 56K PCI Master */
        {   "Actiontec 56K PCI Master",
            {   0x11c1, 0x0480, 0,      0       },
releng5-865# 
>Release-Note:
>Audit-Trail:

From: Mike Tancsa <mike@sentex.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: misc/75132: Patch to provide support for the Davicom 56PDV
  PCI Modems
Date: Wed, 15 Dec 2004 17:21:18 -0500

 Sorry, small change :( The BAR should be 0x10, not 0x14
 
 releng5-865# diff -u pucdata.c.prev pucdata.c
 --- pucdata.c.prev      Wed Dec 15 15:35:18 2004
 +++ pucdata.c   Wed Dec 15 17:08:21 2004
 @@ -827,6 +827,15 @@
              },
          },
 
 +        /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
 +        {   "Davicom 56PDV PCI Modem",
 +            {   0x1282, 0x6585, 0,      0       },
 +            {   0xffff, 0xffff, 0,      0       },
 +            {
 +                { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
 +            },
 +        },
 +
          /* Actiontec 56K PCI Master */
          {   "Actiontec 56K PCI Master",
              {   0x11c1, 0x0480, 0,      0       },
 releng5-865#
 
 and
 
 RELENG4
 
 --- pucdata.c.prev      Thu Sep  9 21:01:30 2004
 +++ pucdata.c   Wed Dec 15 17:12:12 2004
 @@ -804,6 +804,15 @@
              },
          },
 
 +       /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
 +    {   "Davicom 56PDV PCI Modem",
 +        {   0x1282, 0x6585, 0,      0       },
 +        {   0xffff, 0xffff, 0,      0       },
 +        {
 +        { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
 +        },
 +    },
 +
          /* Actiontec  56K PCI Master */
          {   "Actiontec 56K PCI Master",
              {   0x11c1, 0x0480, 0x0,    0x0     },
 
 
 
 --------------------------------------------------------------------
 Mike Tancsa,                                      tel +1 519 651 3400
 Sentex Communications,                            mike@sentex.net
 Providing Internet since 1994                    www.sentex.net
 Cambridge, Ontario Canada                         www.sentex.net/mike
 

From: mike tancsa <mike@sentex.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: misc/75132: Patch to provide support for the Davicom 56PDV PCI
	Modems
Date: Wed, 15 Dec 2004 21:32:19 GMT

 >Fix:
 Here is the RELENG_4 patch
 
 --- pucdata.c.prev      Wed Dec 15 16:18:22 2004
 +++ pucdata.c   Wed Dec 15 16:18:51 2004
 @@ -804,6 +804,15 @@
             },
         },
  
 +        /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
 +        {   "Davicom 56PDV PCI Modem",
 +            {   0x1282, 0x6585, 0,      0       },
 +            {   0xffff, 0xffff, 0,      0       },
 +            {
 +                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
 +            },
 +        },
 +
         /* Actiontec  56K PCI Master */
         {   "Actiontec 56K PCI Master",
             {   0x11c1, 0x0480, 0x0,    0x0     },
 
 
 and the RELENG_5 patch
 
 
 releng5-865# diff -u pucdata.c.prev pucdata.c
 --- pucdata.c.prev      Wed Dec 15 15:35:18 2004
 +++ pucdata.c   Wed Dec 15 15:56:59 2004
 @@ -827,6 +827,15 @@
             },
         },
  
 +        /* Davicom 56PDV PCI Modems  Also know as GNET GPCI-56/AK*/
 +        {   "Davicom 56PDV PCI Modem",
 +            {   0x1282, 0x6585, 0,      0       },
 +            {   0xffff, 0xffff, 0,      0       },
 +            {
 +                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
 +            },
 +        },
 +
         /* Actiontec 56K PCI Master */
         {   "Actiontec 56K PCI Master",
             {   0x11c1, 0x0480, 0,      0       },
 releng5-865# 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 _______________________________________________
 freebsd-bugs@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
Responsible-Changed-From-To: freebsd-bugs->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Thu Dec 16 20:31:15 GMT 2004 
Responsible-Changed-Why:  
Take this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75132 

From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, mike@sentex.net
Cc:  
Subject: Re: kern/75132: [Patch] add support for the Davicom 56PDV PCI Modems
Date: Thu, 16 Dec 2004 15:30:36 -0500

 For simple modems it is preferable (or seems to be) to have them attach to 
 sio(4)'s PCI attachment directly and reserve puc(4) for multifunction cards.  
 Can you try this simple patch to sys/dev/sio/sio_pci.c (should work on HEAD 
 and 5.x) and let me know if it works?  Thanks.
 
 Index: sio_pci.c
 ===================================================================
 RCS file: /usr/cvs/src/sys/dev/sio/sio_pci.c,v
 retrieving revision 1.17
 diff -u -r1.17 sio_pci.c
 --- sio_pci.c	14 Oct 2004 22:21:58 -0000	1.17
 +++ sio_pci.c	16 Dec 2004 20:28:56 -0000
 @@ -71,6 +71,7 @@
  static struct pci_ids pci_ids[] = {
  	{ 0x100812b9, "3COM PCI FaxModem", 0x10 },
  	{ 0x2000131f, "CyberSerial (1-port) 16550", 0x10 },
 +	{ 0x65851282, "Davicom 56PDV PCI Modem", 0x10 },
  	{ 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
  	{ 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
  	{ 0x048011c1, "Lucent kermit based PCI Modem", 0x14 },
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From: Mike Tancsa <mike@sentex.net>
To: John Baldwin <jhb@FreeBSD.org>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/75132: [Patch] add support for the Davicom 56PDV PCI
  Modems
Date: Thu, 16 Dec 2004 17:06:22 -0500

 Hi,
          The problem with this is that it will cause an interrupt storm if 
 the IRQ is shared (with USB gobbling up IRQs, this is quite possible).  See 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74786
 
 On RELENG_4, this causes a total lockup.
 
 Here is a dmesg with it in the PUC and a dmesg with your patch.
 releng5-865# cat /var/run/dmesg.boot
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          The Regents of the University of California. All rights reserved.
 FreeBSD 5.3-STABLE #2: Wed Dec 15 16:45:19 EST 2004
      mdtancsa@releng5-865.sentex.ca:/usr/obj/usr/src/sys/test
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.41-MHz 686-class CPU)
    Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
    Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 real memory  = 267321344 (254 MB)
 avail memory = 252039168 (240 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <AOpen AWRDACPI> on motherboard
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
 cpu0: <ACPI CPU> on acpi0
 acpi_tz0: <Thermal Zone> on acpi0
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0xd000-0xd007 mem 
 0xfa000000-0xfa07ffff,0xf0000000-0xf7ffffff irq 15 at device 2.0 on pci0
 agp0: detected 892k stolen memory
 agp0: aperture size is 128M
 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xc000-0xc01f irq 
 15 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhid0: APC Back-UPS ES 725 FW:802.n2.D USB FW:n2, rev 1.10/1.06, addr 2, 
 iclass 3/0
 uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xc400-0xc41f irq 5 
 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xc800-0xc81f irq 
 10 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xcc00-0xcc1f irq 
 15 at device 29.3 on pci0
 uhci3: [GIANT-LOCKED]
 usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
 usb3: USB revision 1.0
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 
 0xf9000000-0xf90000ff irq 15 at device 4.0 on pci1
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 rl0: Ethernet address: 00:50:fc:f9:6b:7a
 puc0: <Davicom 56PDV PCI Modem> port 0xa400-0xa407 irq 12 at device 5.0 on pci1
 sio4: <Davicom 56PDV PCI Modem> on puc0
 sio4: type 16550A
 sio4: unable to activate interrupt in fast mode - using normal mode
 fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xa800-0xa83f mem 
 0xf9001000-0xf9001fff irq 11 at device 8.0 on pci1
 miibus1: <MII bus> on fxp0
 inphy0: <i82562ET 10/100 media interface> on miibus1
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:01:80:54:b3:b8
 puc1: <Lava Computers Quattro-PCI serial port> port 
 0xb000-0xb007,0xac00-0xac07 irq 10 at device 10.0 on pci1
 sio5: <Lava Computers Quattro-PCI serial port> on puc1
 sio5: type 16550A
 sio5: unable to activate interrupt in fast mode - using normal mode
 sio6: <Lava Computers Quattro-PCI serial port> on puc1
 sio6: type 16550A
 sio6: unable to activate interrupt in fast mode - using normal mode
 puc2: <Lava Computers Quattro-PCI serial port> port 
 0xb800-0xb807,0xb400-0xb407 irq 10 at device 10.1 on pci1
 sio7: <Lava Computers Quattro-PCI serial port> on puc2
 sio7: type 16550A
 sio7: unable to activate interrupt in fast mode - using normal mode
 sio8: <Lava Computers Quattro-PCI serial port> on puc2
 sio8: type 16550A
 sio8: unable to activate interrupt in fast mode - using normal mode
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH5 UDMA100 controller> port 
 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A, console
 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 orm0: <ISA Option ROM> at iomem 0xc0000-0xc9fff on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounter "TSC" frequency 2400413139 Hz quality 800
 Timecounters tick every 10.000 msec
 Fast IPsec: Initialized Security Association Processing.
 ad0: 38166MB <ST340014A/3.06> [77545/16/63] at ata0-master UDMA100
 Mounting root from ufs:/dev/ad0s1a
 releng5-865#
 
 releng5-865% cat /var/run/dmesg.boot
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
          The Regents of the University of California. All rights reserved.
 FreeBSD 5.3-STABLE #3: Thu Dec 16 16:29:07 EST 2004
      mdtancsa@releng5-865.sentex.ca:/usr/obj/usr/src/sys/test
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.41-MHz 686-class CPU)
    Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
    Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 real memory  = 267321344 (254 MB)
 avail memory = 252039168 (240 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <AOpen AWRDACPI> on motherboard
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
 cpu0: <ACPI CPU> on acpi0
 acpi_tz0: <Thermal Zone> on acpi0
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <Intel 82865G (865G GMCH) SVGA controller> port 0xd000-0xd007 mem 
 0xfa000000-0xfa07ffff,0xf0000000-0xf7ffffff irq 15 at device 2.0 on pci0
 agp0: detected 892k stolen memory
 agp0: aperture size is 128M
 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xc000-0xc01f irq 
 15 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhid0: APC Back-UPS ES 725 FW:802.n2.D USB FW:n2, rev 1.10/1.06, addr 2, 
 iclass 3/0
 uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xc400-0xc41f irq 5 
 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xc800-0xc81f irq 
 10 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub2: 2 ports with 2 removable, self powered
 uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xcc00-0xcc1f irq 
 15 at device 29.3 on pci0
 uhci3: [GIANT-LOCKED]
 usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
 usb3: USB revision 1.0
 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub3: 2 ports with 2 removable, self powered
 pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 
 0xf9000000-0xf90000ff irq 15 at device 4.0 on pci1
 miibus0: <MII bus> on rl0
 rlphy0: <RealTek internal media interface> on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 rl0: Ethernet address: 00:50:fc:f9:6b:7a
 sio0: <Davicom 56PDV PCI Modem> port 0xa400-0xa407 irq 12 at device 5.0 on pci1
 sio0: moving to sio4
 sio4: type 16550A
 fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xa800-0xa83f mem 
 0xf9001000-0xf9001fff irq 11 at device 8.0 on pci1
 miibus1: <MII bus> on fxp0
 inphy0: <i82562ET 10/100 media interface> on miibus1
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:01:80:54:b3:b8
 puc0: <Lava Computers Quattro-PCI serial port> port 
 0xb000-0xb007,0xac00-0xac07 irq 10 at device 10.0 on pci1
 sio5: <Lava Computers Quattro-PCI serial port> on puc0
 sio5: type 16550A
 sio5: unable to activate interrupt in fast mode - using normal mode
 sio6: <Lava Computers Quattro-PCI serial port> on puc0
 sio6: type 16550A
 sio6: unable to activate interrupt in fast mode - using normal mode
 puc1: <Lava Computers Quattro-PCI serial port> port 
 0xb800-0xb807,0xb400-0xb407 irq 10 at device 10.1 on pci1
 sio7: <Lava Computers Quattro-PCI serial port> on puc1
 sio7: type 16550A
 sio7: unable to activate interrupt in fast mode - using normal mode
 sio8: <Lava Computers Quattro-PCI serial port> on puc1
 sio8: type 16550A
 sio8: unable to activate interrupt in fast mode - using normal mode
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH5 UDMA100 controller> port 
 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 can't re-use a leaf (%desc)!
 can't re-use a leaf (%driver)!
 can't re-use a leaf (%location)!
 can't re-use a leaf (%pnpinfo)!
 can't re-use a leaf (%parent)!
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A, console
 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 orm0: <ISA Option ROM> at iomem 0xc0000-0xc9fff on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounter "TSC" frequency 2400412113 Hz quality 800
 Timecounters tick every 10.000 msec
 Fast IPsec: Initialized Security Association Processing.
 ad0: 38166MB <ST340014A/3.06> [77545/16/63] at ata0-master UDMA100
 Mounting root from ufs:/dev/ad0s1a
 releng5-865%
 
 
 Note the "cant reuse leaf" stuff which also messes up
 
 releng5-865% sysctl -a dev.sio
 dev.sio.0.%desc: Davicom 56PDV PCI Modem
 dev.sio.0.%driver: sio
 dev.sio.0.%location: slot=5 function=0
 dev.sio.0.%pnpinfo: vendor=0x1282 device=0x6585 subvendor=0x0000 
 subdevice=0x0000 class=0x070002
 dev.sio.0.%parent: pci1
 dev.sio.0.wake: 0
 dev.sio.5.%desc: Lava Computers Quattro-PCI serial port
 dev.sio.5.%driver: sio
 dev.sio.5.%parent: puc0
 dev.sio.6.%desc: Lava Computers Quattro-PCI serial port
 dev.sio.6.%driver: sio
 dev.sio.6.%parent: puc0
 dev.sio.7.%desc: Lava Computers Quattro-PCI serial port
 dev.sio.7.%driver: sio
 dev.sio.7.%parent: puc1
 dev.sio.8.%desc: Lava Computers Quattro-PCI serial port
 dev.sio.8.%driver: sio
 dev.sio.8.%parent: puc1
 dev.sio.1.%desc: 16550A-compatible COM port
 dev.sio.1.%driver: sio
 dev.sio.1.%location: handle=\_SB_.PCI0.PX40.UAR2
 dev.sio.1.%pnpinfo: _HID=PNP0501 _UID=2
 dev.sio.1.%parent: acpi0
 dev.sio.1.wake: 0
 releng5-865%
 

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org, mike@sentex.net
Cc:  
Subject: Re: kern/75132: [puc] [patch] add support for the Davicom 56PDV PCI Modems
Date: Wed, 23 Nov 2005 13:24:41 -0500

 Given the new interrupt code in 7.0 avoids the interrupt storm, would you now 
 be ok with just committing the patch to sio(4)?
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org,
 mike@sentex.net
Cc:  
Subject: Re: kern/75132: [puc] [patch] add support for the Davicom 56PDV PCI Modems
Date: Thu, 7 Jul 2011 15:02:14 -0400

 Hmm, do you still have this modem?
 
 -- 
 John Baldwin
State-Changed-From-To: open->patched 
State-Changed-By: jhb 
State-Changed-When: Fri Jul 8 17:45:50 UTC 2011 
State-Changed-Why:  
Patch committed to HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75132 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/75132: commit references a PR
Date: Fri,  8 Jul 2011 17:45:51 +0000 (UTC)

 Author: jhb
 Date: Fri Jul  8 17:45:38 2011
 New Revision: 223874
 URL: http://svn.freebsd.org/changeset/base/223874
 
 Log:
   Add device ID for the Davicom 56PDV PCI Modem.
   
   PR:		kern/75132
   Submitted by:	Mike Tancsa @ Sentex (older patch against puc(4))
   MFC after:	1 week
 
 Modified:
   head/sys/dev/uart/uart_bus_pci.c
 
 Modified: head/sys/dev/uart/uart_bus_pci.c
 ==============================================================================
 --- head/sys/dev/uart/uart_bus_pci.c	Fri Jul  8 16:30:54 2011	(r223873)
 +++ head/sys/dev/uart/uart_bus_pci.c	Fri Jul  8 17:45:38 2011	(r223874)
 @@ -83,6 +83,7 @@ static struct pci_id pci_ns8250_ids[] = 
  { 0x103c, 0x1290, 0xffff, 0, "HP Auxiliary Diva Serial Port", 0x18 },
  { 0x11c1, 0x0480, 0xffff, 0, "Agere Systems Venus Modem (V90, 56KFlex)", 0x14 },
  { 0x115d, 0x0103, 0xffff, 0, "Xircom Cardbus Ethernet + 56k Modem", 0x10 },
 +{ 0x1282, 0x6585, 0xffff, 0, "Davicom 56PDV PCI Modem", 0x10 },
  { 0x12b9, 0x1008, 0xffff, 0, "3Com 56K FaxModem Model 5610", 0x10 },
  { 0x131f, 0x1000, 0xffff, 0, "Siig CyberSerial (1-port) 16550", 0x18 },
  { 0x131f, 0x1001, 0xffff, 0, "Siig CyberSerial (1-port) 16650", 0x18 },
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: jhb 
State-Changed-When: Mon Jul 18 18:25:36 UTC 2011 
State-Changed-Why:  
Merged to 8. 

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