From owner-freebsd-hackers Sat Feb 9 11:13:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id C043837B400; Sat, 9 Feb 2002 11:13:36 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA21191; Sat, 9 Feb 2002 14:13:24 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g19JD5Y42767; Sat, 9 Feb 2002 14:13:05 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15461.29889.851409.807358@grasshopper.cs.duke.edu> Date: Sat, 9 Feb 2002 14:13:05 -0500 (EST) To: John Cc: Julian Elischer , freebsd-hackers@freebsd.org, John Baldwin Subject: Re: requesting guidance for updating the RocketPort driver In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin writes: > > On 09-Feb-02 Julian Elischer wrote: > > he infrastructure needed for a new driver can be taken from > > the sample driver in /usr/share/examples/drivers/make_device_driver.sh > > IN -CURRENT. (use cvdweb on the website to get it) > > > > that will at least get rid of the 'shims' stuff. > > There is already a newer driver in current. I've backported it but it didn't > help me get my RocketPort working. :-P (I think my rocketport has other issues > though as other people have had success with the cards on the old driver.) The > backport is fairly easy. You need to bascially take the src/sys/dev/rp/ <..> I've done essentially that and have been using it to drive serial consoles off my alpha for a few months now on -stable with no problems. I needed the newer driver from -current because the old driver isn't bus-space-ified and doens't work on alpha rp0: port 0x10180-0x101bf irq 9 at device 10.0 on pci0 RocketPort0 (Version 3.02) 8 ports. Try http://people.freebsd.org/~gallatin/rp.tgz. I never bothered to touch all the files files so that means you must build it as a module: cd /usr/src fetch http://people.freebsd.org/~gallatin/rp.tgz tar zxf rp.tgz cd sys/modules/rp make depend && make && make install kldload rp (this assumes you're not already running a kernel with old driver built in) All the standard disclaimers apply. Don't blame me if it blows up your computer, gives you an ulcer or gives your cat hairballs... Anyway, let me know if it works any better for you than the old driver in -stable. I've been reluctant to commit it since I don't want to be responsible for maintaining it and just running serial consoles at 9600 baud doesn't push things hard enough to find bugs. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message