Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 13:05:28 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        Ted Faber <faber@ISI.EDU>
Cc:        Nate Williams <nate@mt.sri.com>, NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>, Nick Sayer <nsayer@quack.kfu.com>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Any success with CirrusLogic 6729/6730??? 
Message-ID:  <199904061905.NAA17132@mt.sri.com>
In-Reply-To: <199904061751.KAA27663@boreas.isi.edu>
References:  <199904061732.LAA16641@mt.sri.com> <199904061751.KAA27663@boreas.isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904061905.NAA17132>