From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 24 20:50:25 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6887916A4B3 for ; Fri, 24 Oct 2003 20:50:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF27943F75 for ; Fri, 24 Oct 2003 20:50:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9P3oOFY091316 for ; Fri, 24 Oct 2003 20:50:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9P3oOb0091308; Fri, 24 Oct 2003 20:50:24 -0700 (PDT) (envelope-from gnats) Date: Fri, 24 Oct 2003 20:50:24 -0700 (PDT) Message-Id: <200310250350.h9P3oOb0091308@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mark Linimon Subject: Re: kern/44202: -stable rp driver does not work with multiple rp cards. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Linimon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 03:50:25 -0000 The following reply was made to PR kern/44202; it has been noted by GNATS. From: Mark Linimon To: freebsd-gnats-submit@FreeBSD.org, spork@inch.com Cc: Subject: Re: kern/44202: -stable rp driver does not work with multiple rp cards. Date: Fri, 24 Oct 2003 22:48:16 -0500 Adding to audit trail from misfiled PR pending/58151 from "Douglas K. Rand" on Thu, 16 Oct 2003 18:22:44 -0500: I stumbled across this patch on the Comtrol web site at http://forum.comtrol.com/ index.php?t=msg&th=204&rid=&S=6c65760ee25e2e2e548b5183696beb3e&pl_view=&start=0#msg_204 that patches sys/i386/isa/rp.c and solves the problem for me. *** rp.c.old Thu May 16 16:04:40 2002 --- rp.c Wed May 22 11:45:52 2002 *************** *** 1104,1109 **** --- 1104,1118 ---- printf("RocketPort%d = %d ports\n", unit, num_ports); rp_num_ports[unit] = num_ports; + + /* Bradford J. Snow BradS@pacelinesystems.com */ + /* Sets ndevs to the number of cards currently found */ + /* Fixes Bug that prevented multiple PCI boards from working */ + ndevs = unit; + printf("RocketPort Boards Found: %d\n",ndevs+1); + + + rp = (struct rp_port *) malloc(sizeof(struct rp_port) * num_ports, M_TTYS, M_NOWAIT); if(rp == 0) {