From owner-freebsd-bugs Wed Jun 14 0:40: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EC0F237BB4B for ; Wed, 14 Jun 2000 00:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA61930; Wed, 14 Jun 2000 00:40:02 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19256: in devicedriver cy.c make_dev (..) problem's occur using 2 or more cy boards Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 14 00:40:01 PDT 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message