Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2024 02:49:25 +0100
From:      Lexi Winter <lexi@le-fay.org>
To:        arch@freebsd.org
Subject:   config(8) - remove 'device'
Message-ID:  <Zim2pV1ndvhJA4T9@ilythia.eden.le-fay.org>

next in thread | raw e-mail | index | archive | help

--AO6slL23QPhytN2w
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hello,

as older BSD users may remember, 'device' when used in a kernel config
used to have a fairly specific syntax, e.g.:

device foo0 at pci? irq? ... etc ...

nowdays of course this isn't a thing, you just write:

device foo

so, practically this is no different from writing:

options FOO

i propose to remove the 'device' syntax from config(8) and simply use
'options' to include various parts of kernel code in the kernel.

i am prepared to create a patch to do this, but of course, i would
prefer to find out if people would accept this before putting the effort
in.

the concrete benefit of this is that we don't have two different
syntaxes in kernel configs that do exactly the same thing.

--AO6slL23QPhytN2w
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYptqIACgkQDHqbqZ41
x5lOkwv+KtBXoTh4HDRaczlsv4LW+z5rcjOfkfKweiqtGWptGrOplwzzSfg73Uwi
cEyF0+wKf2+dgNhn7LNajT+X46dm1S2ZyIGpVAzBGm2LL+iwWBz+/6veLGSGdvRa
AdtF7PvvzHZ3MNn5nFww4AHFzqCFyE9oyt4Oau61+N/BnCZarYWkK2ZXcsoRwhvn
2g5aQU7iPuJ0xKCiQCuvanjmGjPCg9LNQMQc38DddXN2vdrqXKJPBuTBL9ZMBTo+
f7YYTCHeuQiCkkpVc6Q5eMaeehRp2RbJ/UGUT99HFQecu6C58+y4pqOpiTguY+44
+QaIimo+bQFSJrOP8Nf6nPiESOAp16Wk9WpUoiz2wwZrH4qJnGrcEdjY6SiZlHgd
WvjTp0LXV990MfEITMIwvr2m0t9KIH1L8VvJTE3g05/zwbJu4jPBkiDOLmnZpYES
7Jw3Avfn+lTLzqgqqlTzuwCIq9DlIMKmfl2I65nExhx3kp9k0Ruytnxyx7B+5Ehi
MjtbgOmi
=nCdT
-----END PGP SIGNATURE-----

--AO6slL23QPhytN2w--



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