From nobody Thu Apr 25 01:49:25 2024 X-Original-To: arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VPzLZ12Njz5JZwS for ; Thu, 25 Apr 2024 01:49:42 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [81.187.47.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4VPzLY1WRHz46JK for ; Thu, 25 Apr 2024 01:49:41 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=G9Ees9jz; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.195 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 3A8BF98E2 for ; Thu, 25 Apr 2024 01:49:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714009774; bh=NZVPKkOfH2quSPuz1HtM+CZRZbB6dqL66nVYQri5qF8=; h=Date:From:To:Subject; b=G9Ees9jz7louUM/P6XM7+sr2mC/Osqq4AJfzl7m/OZhZ55ykUvFWCf1aDmHgymDCO NM0n3fH0pLuatZywCnFHC5YDz0hxOL4eU/a/0u8jRI2XvYKqzcstN5IW962LDfVBSp 72F57c0s4Ca5pn+F0MgF2sfjriO8r1icZuSgjTN8= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 108CC2C0421 for ; Thu, 25 Apr 2024 02:49:34 +0100 (BST) Date: Thu, 25 Apr 2024 02:49:25 +0100 From: Lexi Winter To: arch@freebsd.org Subject: config(8) - remove 'device' Message-ID: List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AO6slL23QPhytN2w" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.49 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.195:c]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[le-fay.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[arch@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[arch@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VPzLY1WRHz46JK --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--