From owner-freebsd-hackers Fri May 12 0:32:53 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id E863337BD79 for ; Fri, 12 May 2000 00:32:45 -0700 (PDT) (envelope-from tanimura@r.dl.itc.u-tokyo.ac.jp) Received: from rina.r.dl.itc.u-tokyo.ac.jp (tanimura@localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.9.3+3.2W/3.7W-rina.r-0.1-11.01.2000) with ESMTP/IPv4 id QAA38365; Fri, 12 May 2000 16:32:38 +0900 (JST) Date: Fri, 12 May 2000 16:32:37 +0900 Message-ID: <14619.45973.692937.26482Z@rina> From: Seigo Tanimura To: ptacek@pond.net Cc: tanimura@r.dl.itc.u-tokyo.ac.jp, hackers@FreeBSD.ORG Subject: Re: newbusified rp driver In-Reply-To: In your message of "Thu, 11 May 2000 06:55:48 -0700 (PDT)" References: <14618.12910.86889.26482Z@rina> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.4 (Terai) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEzaki?=) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.4 - "Terai") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 May 2000 06:55:48 -0700 (PDT), Chris Ptacek said: Chris> I am currently working on a program to download the microcode into Chris> the RocketModem2 cards. One thing I noticed is that the RocketPort Chris> driver defaults the cards to 8 lines, I put in a small fix and since Chris> you were already updating it I though you might want to include it. They used to call sReadAiopNumChan() to count the number of channels on an aiop. Maybe we can revert to it for an unknown PCI ID, but sReadAiopNumChan() seems to freeze my box every now and then during configuration. Chris> In the sPCIInitController function in the switch(VendorDevice) I Chris> added RP_DEVICE_ID_6M and RP_DEVICE_ID_4M 0x000C and 0x000D Chris> respectivly, and added the defines to the rpreg.h file. Note this Chris> really on means the correct number of lines will be reported, but Chris> I think it is really the only change needed. Thanks, the updated patch is now at the same URI as the one announced in my first mail. Actually, I have tested my driver with only one PCI card. The ISA part of the driver is not tested. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message