From owner-freebsd-questions Wed May 22 9:50:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2000.popstick.com (dns1.popstick.com [66.37.210.4]) by hub.freebsd.org (Postfix) with SMTP id 973C937B40A for ; Wed, 22 May 2002 09:50:30 -0700 (PDT) Received: (qmail 39672 invoked from network); 22 May 2002 16:50:29 -0000 Received: from unknown (HELO hemingway.northglobe.com) (4.17.165.180) by 0 with SMTP; 22 May 2002 16:50:29 -0000 Message-Id: <5.1.0.14.0.20020522124319.027dd9c0@dns1.popstick.com> X-Sender: mlists@northglobe.com@dns1.popstick.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 22 May 2002 12:50:25 -0400 To: freebsd-questions@freebsd.org From: Nicholas Basila Subject: Fix for Rocket Port driver in FreeBSD 4.x Cc: bsnow@pacelinesystems.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, One of my company's developers, Brad Snow, fixed the Rocket Port Driver (rp.c from /usr/src/sys/i386/isa). The symptoms were: One board will work correctly, transmitting and receiving, but if one were to install second board, that board will transmit but not receive. I've included the diff. How does one go about getting this fix submitted? The driver still does not register the devices in the driver file system, but at least multiple board do work now. If you have any questions, you can contact Brad directly at: bsnow@pacelinesystems.com. *** 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) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message