From nobody Mon May 16 15:05:20 2022 X-Original-To: dev-commits-src-branches@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 545B41AE0101; Mon, 16 May 2022 15:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L22cK1xXsz3m1D; Mon, 16 May 2022 15:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652713521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m/kss6YqlUX5Sr2y1yQIlk7b+ypE0V8n7PZSRqmllKs=; b=GSNrLxPyyibaPIELJfsD67qm6lRgagK2gq+Zx/TYrBaVYdyawirZyOREMaY0gnXfQs06SU Z2LRbjQXyFd0PW92jlIRzTcToj+fjVdd+/7l/ku4ccHu6/0ocrBgKV/8tUOyBZZByQQCOH dkx1o26aWLuPVCF/khOYu1yvq4J0Jt/t4elvBaP8P0jLOCAxSg7VXGluYMk5+apFRBWSa9 /T4cMbkE8o+lF0SkaXOxKFuS69+lm8OCwY4OV8bX8FqIBxVBKwkQ3XdgObuL2LNFs37kgw LUHHnZZcQ6uuw8sl9Dxc9fF1GmJx9WXA8yJsClYHY/+PB1sNvDX4Dq/A1v8idQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F23722605; Mon, 16 May 2022 15:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24GF5Kn4079731; Mon, 16 May 2022 15:05:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GF5Kof079730; Mon, 16 May 2022 15:05:20 GMT (envelope-from git) Date: Mon, 16 May 2022 15:05:20 GMT Message-Id: <202205161505.24GF5Kof079730@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: af89ff11fcfe - stable/12 - Add deprecation notices to ISA sound cards List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: af89ff11fcfebe7e2de004766e86e8061ab57681 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652713521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=m/kss6YqlUX5Sr2y1yQIlk7b+ypE0V8n7PZSRqmllKs=; b=WMuY2BV4tX/ekiI2OgyBrRiMLj3wnDVOk9sbeZg2/VfdcJ/z5s7q0o51HOhybgTcjHtc1z RFkbIdDX9unXKR064I1NJRGIBGJPBF3fI0UHCdpFs4woBKaZlmGeiiSb0W1gF9ZcEaR3Fk crJOQ9fzHT3a+wlvVCC+Y3D3lsrFwRy/CaeWdbj4zJES++Yh/Bs4MeOqyzAtknhWehjPKD HuIn80dArKH/C5bZQrvu4cIvRTneioKQVo/DdHOsFiXclsV6j+6y8ecqynKCe/YJXrVb1r yQuR+neP6bEegqdQ7M4WFy3gSZ5KRsi2hl9J7qxa6kDTwaKv3m4lh2QR4oq7Kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652713521; a=rsa-sha256; cv=none; b=I9rFPScLjcCEEfBjI9yhwDhqfAlEF8hoRcou6TApYhiLy38qrzu2ma41ELy2484v+31A7/ 535A4PJI3F13tutjox4fE9E7OvAI/xi6CeKeFOElJTmR1gUN0qAz/e8Nxn4AMHlGI8qbTT 2DZJayBIa6uItiYr97kvGTM75uoZPDwy0hDPvhfzTtTMUOXFx5i+Q+QQiVLlx+T6lR/I6g qlfxt0gpvbZzZD4hkfPAgHdbdi38C+2euaB9KnUcrZfOkfGonWB7dHeZHlLcKqW0MEshVe 8bTnYzDMvZds/Dj+eayVw7C4oDLjl9a9nt5Lcs+ZHUzcOsGcWSTTW7zV+6UWJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=af89ff11fcfebe7e2de004766e86e8061ab57681 commit af89ff11fcfebe7e2de004766e86e8061ab57681 Author: Ed Maste AuthorDate: 2022-03-18 15:50:23 +0000 Commit: Ed Maste CommitDate: 2022-05-16 13:52:16 +0000 Add deprecation notices to ISA sound cards ISA sound cards (and ISA itself) are long obsolete. NYCBUG dmesgd has no entries for any of these devices after 2005. Mail to -current and -stable revealed some nostalgic interest, but no offers to test or requests to pospone the deprecation. Add deprecation notices to device attach routines and man pages for: snd_ad1816 Analog Devices AD1816 SoundPort snd_ess Ensoniq ESS snd_gusc Gravis UltraSound (MAX and newer AFAIK) snd_mss Microsoft Sound System snd_sbc Creative Sound Blaster Reviewed by: cy, mav MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34604 (cherry picked from commit e39ec8933be4d6e74cfb32680fb3e67469e66bb7) (cherry picked from commit d7620b6ec941fc6239bb2600495c2978181cfe28) --- share/man/man4/snd_ad1816.4 | 5 ++++- share/man/man4/snd_ess.4 | 5 ++++- share/man/man4/snd_gusc.4 | 5 ++++- share/man/man4/snd_mss.4 | 5 ++++- share/man/man4/snd_sbc.4 | 5 ++++- sys/dev/sound/isa/ad1816.c | 1 + sys/dev/sound/isa/ess.c | 1 + sys/dev/sound/isa/gusc.c | 1 + sys/dev/sound/isa/mss.c | 1 + sys/dev/sound/isa/sb16.c | 1 + sys/dev/sound/isa/sb8.c | 1 + sys/dev/sound/isa/sbc.c | 1 + 12 files changed, 27 insertions(+), 5 deletions(-) diff --git a/share/man/man4/snd_ad1816.4 b/share/man/man4/snd_ad1816.4 index 2bc5a46aa560..9ebc6ce3488a 100644 --- a/share/man/man4/snd_ad1816.4 +++ b/share/man/man4/snd_ad1816.4 @@ -24,12 +24,15 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2005 +.Dd March 19, 2022 .Dt SND_AD1816 4 .Os .Sh NAME .Nm snd_ad1816 .Nd "Analog Devices AD1816 ISA bridge device driver" +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 14.0 . .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: diff --git a/share/man/man4/snd_ess.4 b/share/man/man4/snd_ess.4 index 2b0333130084..d4ac1520becf 100644 --- a/share/man/man4/snd_ess.4 +++ b/share/man/man4/snd_ess.4 @@ -24,12 +24,15 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2005 +.Dd March 19, 2022 .Dt SND_ESS 4 .Os .Sh NAME .Nm snd_ess .Nd "Ensoniq ESS ISA PnP/non-PnP bridge device driver" +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 14.0 . .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: diff --git a/share/man/man4/snd_gusc.4 b/share/man/man4/snd_gusc.4 index 1ad73cfef4b2..86dd53b2d79a 100644 --- a/share/man/man4/snd_gusc.4 +++ b/share/man/man4/snd_gusc.4 @@ -25,12 +25,15 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2005 +.Dd March 19, 2022 .Dt SND_GUSC 4 .Os .Sh NAME .Nm snd_gusc .Nd Gravis UltraSound ISA bridge device driver +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 14.0 . .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: diff --git a/share/man/man4/snd_mss.4 b/share/man/man4/snd_mss.4 index 1baf1989d23a..10e0985d04b9 100644 --- a/share/man/man4/snd_mss.4 +++ b/share/man/man4/snd_mss.4 @@ -24,12 +24,15 @@ .\" .\" $FreeBSD$ .\" -.Dd December 1, 2005 +.Dd March 19, 2022 .Dt SND_MSS 4 .Os .Sh NAME .Nm snd_mss .Nd "Microsoft Sound System ISA PnP/non-PnP bridge device driver" +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 14.0 . .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: diff --git a/share/man/man4/snd_sbc.4 b/share/man/man4/snd_sbc.4 index 227080c65beb..e15d23081fb7 100644 --- a/share/man/man4/snd_sbc.4 +++ b/share/man/man4/snd_sbc.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 17, 2007 +.Dd March 19, 2022 .Dt SND_SBC 4 .Os .Sh NAME @@ -33,6 +33,9 @@ .Nm snd_sb16 , .Nm snd_sb8 .Nd Creative Sound Blaster ISA and compatible bridge device driver +.Sh DEPRECATION NOTICE +This driver is scheduled for removal prior to the release of +.Fx 14.0 . .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c index e8a8199b5008..07c5d10c807a 100644 --- a/sys/dev/sound/isa/ad1816.c +++ b/sys/dev/sound/isa/ad1816.c @@ -599,6 +599,7 @@ ad1816_attach(device_t dev) struct ad1816_info *ad1816; char status[SND_STATUSLEN], status2[SND_STATUSLEN]; + gone_in_dev(dev, 14, "ISA sound driver"); ad1816 = malloc(sizeof(*ad1816), M_DEVBUF, M_WAITOK | M_ZERO); ad1816->lock = snd_mtxcreate(device_get_nameunit(dev), "snd_ad1816 softc"); diff --git a/sys/dev/sound/isa/ess.c b/sys/dev/sound/isa/ess.c index c2f50a8a32bd..c0c7d279f021 100644 --- a/sys/dev/sound/isa/ess.c +++ b/sys/dev/sound/isa/ess.c @@ -815,6 +815,7 @@ ess_attach(device_t dev) char status[SND_STATUSLEN], buf[64]; int ver; + gone_in_dev(dev, 14, "ISA sound driver"); sc = malloc(sizeof(*sc), M_DEVBUF, M_WAITOK | M_ZERO); sc->parent_dev = device_get_parent(dev); sc->bufsize = pcm_getbuffersize(dev, 4096, ESS_BUFFSIZE, 65536); diff --git a/sys/dev/sound/isa/gusc.c b/sys/dev/sound/isa/gusc.c index 302f2f180999..cbc01e408e9e 100644 --- a/sys/dev/sound/isa/gusc.c +++ b/sys/dev/sound/isa/gusc.c @@ -309,6 +309,7 @@ gusc_attach(device_t dev) sc_p scp; void *ih; + gone_in_dev(dev, 14, "ISA sound driver"); scp = device_get_softc(dev); bzero(scp, sizeof(*scp)); diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c index b79c4fc1c337..6c169dbceaee 100644 --- a/sys/dev/sound/isa/mss.c +++ b/sys/dev/sound/isa/mss.c @@ -1782,6 +1782,7 @@ mss_attach(device_t dev) struct mss_info *mss; int flags = device_get_flags(dev); + gone_in_dev(dev, 14, "ISA sound driver"); mss = (struct mss_info *)malloc(sizeof *mss, M_DEVBUF, M_NOWAIT | M_ZERO); if (!mss) return ENXIO; diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index cf7dd54199dc..50d48c00f63c 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -817,6 +817,7 @@ sb16_attach(device_t dev) uintptr_t ver; char status[SND_STATUSLEN], status2[SND_STATUSLEN]; + gone_in_dev(dev, 14, "ISA sound driver"); sb = malloc(sizeof(*sb), M_DEVBUF, M_WAITOK | M_ZERO); sb->parent_dev = device_get_parent(dev); BUS_READ_IVAR(sb->parent_dev, dev, 1, &ver); diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c index 9cdc1b230ab4..0830e52a49e1 100644 --- a/sys/dev/sound/isa/sb8.c +++ b/sys/dev/sound/isa/sb8.c @@ -720,6 +720,7 @@ sb_attach(device_t dev) char status[SND_STATUSLEN]; uintptr_t ver; + gone_in_dev(dev, 14, "ISA sound driver"); sb = malloc(sizeof(*sb), M_DEVBUF, M_WAITOK | M_ZERO); sb->parent_dev = device_get_parent(dev); BUS_READ_IVAR(device_get_parent(dev), dev, 1, &ver); diff --git a/sys/dev/sound/isa/sbc.c b/sys/dev/sound/isa/sbc.c index d16e45bb3011..3c6dd3bba97d 100644 --- a/sys/dev/sound/isa/sbc.c +++ b/sys/dev/sound/isa/sbc.c @@ -329,6 +329,7 @@ sbc_attach(device_t dev) int flags = device_get_flags(dev); int f, dh, dl, x, irq, i; + gone_in_dev(dev, 14, "ISA sound driver"); if (!logical_id && (flags & DV_F_DUAL_DMA)) { bus_set_resource(dev, SYS_RES_DRQ, 1, flags & DV_F_DRQ_MASK, 1);