From nobody@FreeBSD.org  Tue May 10 11:12:25 2005
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 8364116A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 May 2005 11:12:25 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6FF2843D6E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 May 2005 11:12:25 +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 j4ABCPaH010561
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 May 2005 11:12:25 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j4ABCPU5010558;
	Tue, 10 May 2005 11:12:25 GMT
	(envelope-from nobody)
Message-Id: <200505101112.j4ABCPU5010558@www.freebsd.org>
Date: Tue, 10 May 2005 11:12:25 GMT
From: Dmitry Provodnikov <provodnikov@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ed driver - support for Compex RL2000/ISA in PnP mode
X-Send-Pr-Version: www-2.3

>Number:         80853
>Category:       kern
>Synopsis:       [ed] [patch] add support for Compex RL2000/ISA in PnP mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 10 11:20:03 GMT 2005
>Closed-Date:    Fri Sep 24 19:52:06 UTC 2010
>Last-Modified:  Fri Sep 24 19:52:06 UTC 2010
>Originator:     Dmitry Provodnikov
>Release:        4.11
>Organization:
>Environment:
FreeBSD nskix 4.11-RELEASE-p3 FreeBSD 4.11-RELEASE-p3 #16: Thu Apr 21 21:36:47 NOVST 2005 root@nskix:/1/usr/obj/usr/src/sys/MYKERN1  i386

>Description:
ed drives doesn't recognized Compex RL2000 in PnP mode.

>How-To-Repeat:
program Compex RL2000 as PnP using it's own util (DOS),
shutdown, poweroff, install NIC in ISA slot,
poweron, boot, dmesg | less - no ed1 device at all.

then apply pach below, rebuild the kernel,
reboot - oops, ed1 is here !

>Fix:
RCS file: /usr/src/sys/dev/ed/if_ed_isa.c,v
retrieving revision 1.5
diff -u -r1.5 if_ed_isa.c
--- if_ed_isa.c 1999/11/20 09:28:01 1.5
+++ if_ed_isa.c 2000/04/08 20:41:41
@@ -58,6 +58,7 @@
  { 0x19808c4a, NULL }, /* RTL8019 */
  { 0x0090252a, NULL }, /* JQE9000 */
  { 0x0020832e, NULL }, /* KTC2000 */
+ { 0x0115180e, NULL }, /* CPX1501 */
  { 0, NULL }
  };

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 22 23:03:59 GMT 2005 
Responsible-Changed-Why:  
Relabel this to be a kernel bug (not i386-specific). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80853 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sun Jan 4 01:29:36 UTC 2009 
Responsible-Changed-Why:  
the patch is still valid, device is still not supported by ed(4) 
reassign to the net team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80853 
Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: andre 
Responsible-Changed-When: Mon Aug 23 18:21:59 UTC 2010 
Responsible-Changed-Why:  
Over to expert. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/80853: commit references a PR
Date: Tue, 24 Aug 2010 18:17:49 +0000 (UTC)

 Author: yongari
 Date: Tue Aug 24 18:17:40 2010
 New Revision: 211764
 URL: http://svn.freebsd.org/changeset/base/211764
 
 Log:
   Add PNP id for Compex RL2000.
   I'm not sure whether adding this logical id is correct or not
   because Compex RL2000 is in the list of supported hardware list.
   I guess the Compex RL2000 could be PCI variant while the controller
   in question is ISA controller. It seems PNP compat id didn't match
   or it had multiple compat ids so isa_pnp_probe() seemed to return
   ENOENT.
   
   PR:	kern/80853
 
 Modified:
   head/sys/dev/ed/if_ed_isa.c
 
 Modified: head/sys/dev/ed/if_ed_isa.c
 ==============================================================================
 --- head/sys/dev/ed/if_ed_isa.c	Tue Aug 24 18:07:59 2010	(r211763)
 +++ head/sys/dev/ed/if_ed_isa.c	Tue Aug 24 18:17:40 2010	(r211764)
 @@ -58,6 +58,7 @@ static struct isa_pnp_id ed_ids[] = {
  	{ 0x0131d805,	NULL },		/* ANX3101 */
  	{ 0x4cf48906,	NULL },		/* ATIf44c */
  	{ 0x01200507,	NULL },		/* AXE2001 */
 +	{ 0x0115180e,	NULL },		/* CPX1501 */
  	{ 0x0090252a,	NULL },		/* JQE9000 */
  	{ 0x0020832e,	NULL },		/* KTC2000 */
  	{ 0xd680d041,	NULL },		/* PNP80d6 */
 _______________________________________________
 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: open->patched 
State-Changed-By: yongari 
State-Changed-When: Tue Aug 24 19:31:49 UTC 2010 
State-Changed-Why:  
Patch committed to HEAD(r211764). 
Thanks for submitting! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/80853: commit references a PR
Date: Fri, 24 Sep 2010 19:16:46 +0000 (UTC)

 Author: yongari
 Date: Fri Sep 24 19:16:42 2010
 New Revision: 213124
 URL: http://svn.freebsd.org/changeset/base/213124
 
 Log:
   MFC r211764:
     Add PNP id for Compex RL2000.
     I'm not sure whether adding this logical id is correct or not
     because Compex RL2000 is in the list of supported hardware list.
     I guess the Compex RL2000 could be PCI variant while the controller
     in question is ISA controller. It seems PNP compat id didn't match
     or it had multiple compat ids so isa_pnp_probe() seemed to return
     ENOENT.
   
     PR:	kern/80853
 
 Modified:
   stable/8/sys/dev/ed/if_ed_isa.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/sys/dev/ed/if_ed_isa.c
 ==============================================================================
 --- stable/8/sys/dev/ed/if_ed_isa.c	Fri Sep 24 19:14:59 2010	(r213123)
 +++ stable/8/sys/dev/ed/if_ed_isa.c	Fri Sep 24 19:16:42 2010	(r213124)
 @@ -58,6 +58,7 @@ static struct isa_pnp_id ed_ids[] = {
  	{ 0x0131d805,	NULL },		/* ANX3101 */
  	{ 0x4cf48906,	NULL },		/* ATIf44c */
  	{ 0x01200507,	NULL },		/* AXE2001 */
 +	{ 0x0115180e,	NULL },		/* CPX1501 */
  	{ 0x0090252a,	NULL },		/* JQE9000 */
  	{ 0x0020832e,	NULL },		/* KTC2000 */
  	{ 0xd680d041,	NULL },		/* PNP80d6 */
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/80853: commit references a PR
Date: Fri, 24 Sep 2010 19:18:09 +0000 (UTC)

 Author: yongari
 Date: Fri Sep 24 19:18:03 2010
 New Revision: 213125
 URL: http://svn.freebsd.org/changeset/base/213125
 
 Log:
   MFC r211764:
     Add PNP id for Compex RL2000.
     I'm not sure whether adding this logical id is correct or not
     because Compex RL2000 is in the list of supported hardware list.
     I guess the Compex RL2000 could be PCI variant while the controller
     in question is ISA controller. It seems PNP compat id didn't match
     or it had multiple compat ids so isa_pnp_probe() seemed to return
     ENOENT.
   
     PR:	kern/80853
 
 Modified:
   stable/7/sys/dev/ed/if_ed_isa.c
 Directory Properties:
   stable/7/sys/   (props changed)
   stable/7/sys/cddl/contrib/opensolaris/   (props changed)
   stable/7/sys/contrib/dev/acpica/   (props changed)
   stable/7/sys/contrib/pf/   (props changed)
 
 Modified: stable/7/sys/dev/ed/if_ed_isa.c
 ==============================================================================
 --- stable/7/sys/dev/ed/if_ed_isa.c	Fri Sep 24 19:16:42 2010	(r213124)
 +++ stable/7/sys/dev/ed/if_ed_isa.c	Fri Sep 24 19:18:03 2010	(r213125)
 @@ -58,6 +58,7 @@ static struct isa_pnp_id ed_ids[] = {
  	{ 0x0131d805,	NULL },		/* ANX3101 */
  	{ 0x4cf48906,	NULL },		/* ATIf44c */
  	{ 0x01200507,	NULL },		/* AXE2001 */
 +	{ 0x0115180e,	NULL },		/* CPX1501 */
  	{ 0x0090252a,	NULL },		/* JQE9000 */
  	{ 0x0020832e,	NULL },		/* KTC2000 */
  	{ 0xd680d041,	NULL },		/* PNP80d6 */
 _______________________________________________
 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: yongari 
State-Changed-When: Fri Sep 24 19:51:41 UTC 2010 
State-Changed-Why:  
MFC to stable/8 and stable/7 done. 
Thanks for reporting! 

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