Re: klibc and SPARC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "H. Peter Anvin" <hpa@xxxxxxxxx>
Date: Wed, 17 May 2006 15:36:21 -0700

> David S. Miller wrote:
> >> Does it make sense to say that these prom configurations are only
> >> recognized by kinit if openpromfs is available (without which it will
> >> simply behave as on any other platform), or should I go through the
> >> additional trouble of supporting both methods?
> > 
> > You need to enable a particular driver either way,
> > either CONFIG_SUN_OPENPROMFS or CONFIG_SUN_OPENPROMIO.
> > 
> > The NFS configuration bits you are moving into klibc
> > are going to be expected to work even if both of those
> > config options are disabled, it's expected to always
> > be available and work.
>
> Sounds like you're saying I should force one of those drivers
> enabled, is that right?  I'm fine with that.  The other alternative
> is of course to put an ad hoc thing for this thing; that seems
> unnecessarily ugly to me but if necessary I can do that as well.
>
> If I should force one of the drivers enabled, which one should it be
> (I'm assuming CONFIG_SUN_OPENPROMFS?)

How I answer this depends upon why you're moving this out of the
kernel in the first place :-)

I can understand moving as much functionality as is reasonably
possible into userspace via klibc, but for something like this which
has weird dependencies if you move it into userspace and will
undoubtedly force the enabling of what is normally an optional
feature, I don't see moving it into userspace as being so wise.

That being said, openpromfs is the preferred thing to use if
you have to make a choice.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux