From owner-freebsd-mobile Tue Apr 6 12: 7:33 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 5177114E7F for ; Tue, 6 Apr 1999 12:07:31 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id NAA24163; Tue, 6 Apr 1999 13:05:28 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA17132; Tue, 6 Apr 1999 13:05:28 -0600 Date: Tue, 6 Apr 1999 13:05:28 -0600 Message-Id: <199904061905.NAA17132@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ted Faber Cc: Nate Williams , NAKAGAWA Yoshihisa , Nick Sayer , freebsd-mobile@FreeBSD.ORG Subject: Re: Any success with CirrusLogic 6729/6730??? In-Reply-To: <199904061751.KAA27663@boreas.isi.edu> References: <199904061732.LAA16641@mt.sri.com> <199904061751.KAA27663@boreas.isi.edu> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nate Williams wrote: > >This was my idea about a 'boot' config line. The problems with this > >solution is: > > > >1) It assumes there is one PCIC controller. (The existing code has the > > same problem) > >2) It not 'boot-time' configurable. It requires you to edit a file and > > then reboot the box before the change can take place. > > There's a kld version of the pcic code, right? Yes, but it doesn't work correctly because of missing functionality in the KLD implementation. However, your ideas are sound, and a step in the right direction. > We could then set up 2 variables, current unit number and current io > port. The on load the kld reads the variables, sets its unit number > and io port appropraitely and starts up. The sequence for multiple > pcics then looks like > > boot > set sysctls for 1st controller > load 1st controller > set sysctls for 2nd controller > load 2nd controller How do you know how many controllers exist so you can load them? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message