Source-Changes archive

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

Re: CVS commit: src/sys/arch/hpcarm/conf



On Thu, May 11, 2006 at 07:55:16PM +0900, Izumi Tsutsui wrote:
> rjs%fdy2.demon.co.uk@localhost wrote:
> 
> > YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:
> 
> > >> Modified Files:
> > >>  src/sys/arch/hpcarm/conf: files.hpcarm
> > >> 
> > >> Log Message:
> > >> Remove majors.arm32.
> > 
> > >what's the purpose of recent changes here?
> > 
> > To fix this:
> > 
> > http://mail-index.netbsd.org/port-hpcarm/2006/05/07/0000.html
> 
> Then you should fix src/etc/MAKEDEV.awk, not files for config(9).

Actually, I think config(1) should help building the list.  I find
awkward that several things has to parse files used by config(1).

Another thing I wonder is what to make of duplicate device-major
entries, as I intend to make use of that in the future.  Both "same
name with different number" and "same number, different name" have a
valid use:  the first one because it allows compatibility while changing
the way a device allocates its minor numbers (I plan to use that to
make disk devices behave the same way on all archs), the second one
because it allows generic declaration that might be overriden by
subarchs (because the kernel configuration will only select the
relevant one).

For the first scheme, MAKEDEV should only contain the entries that are
not there for compatibility;  for the second, I don't know right now
how to teach MAKEDEV what is the relevant entry...  I need to think of
that some more.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

Attachment: pgp_45UxQXCiS.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index