Subject: Re: CVS commit: src/sys/arch/hpcarm/conf
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Quentin Garnier <cube@cubidou.net>
List: source-changes
Date: 05/11/2006 15:21:31
--8GpibOaaTibBMecb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 11, 2006 at 07:55:16PM +0900, Izumi Tsutsui wrote:
> rjs@fdy2.demon.co.uk wrote:
>=20
> > YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> wrote:
>=20
> > >> Modified Files:
> > >> 	src/sys/arch/hpcarm/conf: files.hpcarm
> > >>=20
> > >> Log Message:
> > >> Remove majors.arm32.
> >=20
> > >what's the purpose of recent changes here?
> >=20
> > To fix this:
> >=20
> > http://mail-index.netbsd.org/port-hpcarm/2006/05/07/0000.html
>=20
> 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.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"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.

--8GpibOaaTibBMecb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iQEVAwUBRGM6W9goQloHrPnoAQJoQAf6Akwb+QunyO3VILtLU8Q25e1Z/6OwCwtX
za1DhcNlYnRI0qRUL1/WcNFVRkPvutdS+3cLQ0PiLEhENlqVGYF1umpXveN0s/01
FIkH3YfOezcw1wTOM//C6XGqiEC8V6No5+8LYd2a2GiDSE/JAHuCHkCJk5UBVQ1J
QtdcigRTvLrFLoP4li+6SAUtz34RiPGXkVVavPqOzGy+2ZTGoK1PSnWo3kxSgCua
X9hrV7Hg9HHTPrFcgaNHJXiJLMJjspPLs6MG30r1W2Kt0RNjhjVLM/Q8kYYDFwCW
e8TS+oZ+tBQ2ipJ3eurNz8lCNltBOcI31lSZa+Ix9+svTV8Xx5gPkw==
=HLxj
-----END PGP SIGNATURE-----

--8GpibOaaTibBMecb--