kern/44202: -stable rp driver does not work with multiple rp
cards.
Mark Linimon
linimon at lonesome.com
Fri Oct 24 20:50:25 PDT 2003
The following reply was made to PR kern/44202; it has been noted by GNATS.
From: Mark Linimon <linimon at lonesome.com>
To: freebsd-gnats-submit at FreeBSD.org, spork at inch.com
Cc: <rand at 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 at 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 at 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) {
More information about the freebsd-bugs
mailing list