From nobody@FreeBSD.ORG  Wed Jun 14 00:34:08 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 8C75C37B669; Wed, 14 Jun 2000 00:34:08 -0700 (PDT)
Message-Id: <20000614073408.8C75C37B669@hub.freebsd.org>
Date: Wed, 14 Jun 2000 00:34:08 -0700 (PDT)
From: arjan@jak.nl
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: in devicedriver cy.c  make_dev (..) problem's occur using 2 or more cy boards
X-Send-Pr-Version: www-1.0

>Number:         19256
>Category:       kern
>Synopsis:       in devicedriver cy.c  make_dev (..) problem's occur using 2 or more cy boards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 00:40:01 PDT 2000
>Closed-Date:    Wed Aug 22 06:07:02 PDT 2001
>Last-Modified:  Wed Aug 22 06:09:33 PDT 2001
>Originator:     Arjan Knepper
>Release:        4.0 release
>Organization:
JAK++ Software Developoment B.V>
>Environment:
FreeBSD fax2.teledirekt.nl 4.0-RELEASE FreeBSD 4.0-RELEASE #24: Tue Jun  6 18:41
:39 CEST 2000     apk@fax2.teledirekt.nl:/usr/src/sys/compile/FAX2  i386 
>Description:
The Cylcom YeP device driver has a problem with registering the devices for the second and futher boards
Either the MAKEDEV script or the syscalls to 'make_dev (..)' in cy.c should be changed.
>How-To-Repeat:
Just install more than one YeP board and rebuild a kernel supporting both board. Try to connect to a port on the second board.
example : cu -l /dev/cuac10
>Fix:
the second arg in make_dev should be something like this :
( adapter * 65536 + ( unit % CY_MAX_PORTS ) )

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 20:17:05 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19256 

From: Mike Barcroft <mike@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/19256: in devicedriver cy.c  make_dev (..) problem's occur using 2 or more cy boards
Date: Sun, 22 Jul 2001 19:39:30 -0400

 Adding to Audit-Trail.
 
 ----- Forwarded message from Arjan Knepper <arjan@jak.nl> -----
 
 Delivered-To: mike@freebsd.org
 Date:   Mon, 23 Jul 2001 00:17:13 +0200
 From: Arjan Knepper <arjan@jak.nl>
 Organization: JAK++ Software Development B.V.
 X-Mailer: Mozilla 4.76 [en] (WinNT; U)
 X-Accept-Language: en
 To: mike@FreeBSD.org
 Cc: freebsd-bugs@FreeBSD.org
 Subject: Re: kern/19256: in devicedriver cy.c  make_dev (..) problem's occur 
  using 2 or more cy boards
 
 mike@FreeBSD.org wrote:
 
 > Synopsis: in devicedriver cy.c  make_dev (..) problem's occur using 2 or more cy boards
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: mike
 > State-Changed-When: Sat Jul 21 20:17:05 PDT 2001
 > State-Changed-Why:
 >
 > Does this problem still occur in newer versions of FreeBSD,
 > such as 4.3-RELEASE?
 
 I still had to change the lines in the cy driver the last time I updated the particular
 systems to 4.3 stable about 2 weeks ago, so I guess the answer is YES.
 
 >
 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19256
 
 
 ----- End forwarded message -----
State-Changed-From-To: feedback->suspended 
State-Changed-By: mike 
State-Changed-When: Sun Jul 22 16:39:23 PDT 2001 
State-Changed-Why:  

Still a problem.  Awaiting fix and committer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19256 
State-Changed-From-To: suspended->closed 
State-Changed-By: bde 
State-Changed-When: Wed Aug 22 06:07:02 PDT 2001 
State-Changed-Why:  
Fixed in rev.1.120 (-current) and rev.1.197.2.2 (RELENG_4) of cy.c. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19256 
>Unformatted:
