Date: Fri, 24 Oct 2003 20:50:24 -0700 (PDT) From: Mark Linimon <linimon@lonesome.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/44202: -stable rp driver does not work with multiple rp cards. Message-ID: <200310250350.h9P3oOb0091308@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/44202; it has been noted by GNATS. From: Mark Linimon <linimon@lonesome.com> To: freebsd-gnats-submit@FreeBSD.org, spork@inch.com Cc: <rand@meridian-enviro.com> 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" <rand@meridian-enviro.com> 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310250350.h9P3oOb0091308>
