From 2ced565834bf1df11d08fe7b5618aa1ca01adf08 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 29 Jan 2018 00:14:46 +0000 Subject: [PATCH] Tag the current round of deprecated drivers. Differential Revision: https://reviews.freebsd.org/D13818 --- sys/dev/advansys/advansys.c | 2 ++ sys/dev/advansys/adwcam.c | 1 + sys/dev/aha/aha.c | 1 + sys/dev/aic/aic.c | 1 + sys/dev/buslogic/bt.c | 1 + sys/dev/dpt/dpt_pci.c | 1 + sys/dev/joy/joy.c | 2 ++ sys/dev/mse/mse.c | 2 ++ sys/dev/ncv/ncr53c500_pccard.c | 1 + sys/dev/nsp/nsp_pccard.c | 1 + sys/dev/stg/tmc18c30.c | 1 + 11 files changed, 14 insertions(+) diff --git a/sys/dev/advansys/advansys.c b/sys/dev/advansys/advansys.c index bb6bffeb0758..16f834612c47 100644 --- a/sys/dev/advansys/advansys.c +++ b/sys/dev/advansys/advansys.c @@ -1399,6 +1399,8 @@ adv_attach(adv) csa.callback_arg = adv; xpt_action((union ccb *)&csa); mtx_unlock(&adv->lock); + gone_in_dev(adv->adv, 12, "adv(4) driver"); + return (0); } MODULE_DEPEND(adv, cam, 1, 1, 1); diff --git a/sys/dev/advansys/adwcam.c b/sys/dev/advansys/adwcam.c index f4d4b3ad0073..0960fb485a74 100644 --- a/sys/dev/advansys/adwcam.c +++ b/sys/dev/advansys/adwcam.c @@ -1173,6 +1173,7 @@ adw_attach(struct adw_softc *adw) xpt_action((union ccb *)&csa); } + gone_in_dev(adv->adv, 12, "adw(4) driver"); fail: mtx_unlock(&adw->lock); return (error); diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c index 970c99d14718..9b92f49aec4f 100644 --- a/sys/dev/aha/aha.c +++ b/sys/dev/aha/aha.c @@ -620,6 +620,7 @@ aha_attach(struct aha_softc *aha) return (ENXIO); } mtx_unlock(&aha->lock); + gone_in_dev(aha->dev, 12, "aha(4) driver"); return (0); } diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c index b6d81269064f..b9f790077a30 100644 --- a/sys/dev/aic/aic.c +++ b/sys/dev/aic/aic.c @@ -1577,6 +1577,7 @@ aic_attach(struct aic_softc *aic) printf(", fast SCSI"); printf("\n"); mtx_unlock(&aic->lock); + gone_in_dev(aic->dev, 12, "aic(4) driver"); return (0); } diff --git a/sys/dev/buslogic/bt.c b/sys/dev/buslogic/bt.c index f18e155fcbf5..7e3e41e53873 100644 --- a/sys/dev/buslogic/bt.c +++ b/sys/dev/buslogic/bt.c @@ -905,6 +905,7 @@ bt_attach(device_t dev) device_printf(dev, "bus_setup_intr() failed: %d\n", error); return (error); } + gone_in_dev(dev, 12, "bt(4) driver"); return (0); } diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index 15a097e61b2f..5d4b21345c3b 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -157,6 +157,7 @@ dpt_pci_attach (device_t dev) error = ENXIO; goto bad; } + gone_in_dev(dev, 12, "dpt(4) driver"); return (error); diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index dfcc59276e94..6b8811f4faef 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -110,6 +110,8 @@ joy_attach(device_t dev) joy->timeout[0] = joy->timeout[1] = 0; joy->d = make_dev(&joy_cdevsw, unit, 0, 0, 0600, "joy%d", unit); joy->d->si_drv1 = joy; + gone_in_dev(dev, 12, "joy(4) driver"); + return (0); } diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 2f4bf06171c7..9ce6e702a86a 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -153,6 +153,8 @@ mse_common_attach(device_t dev) sc->sc_ndev = make_dev(&mse_cdevsw, 1, UID_ROOT, GID_WHEEL, 0600, "nmse%d", unit); sc->sc_ndev->si_drv1 = sc; + gone_in_dev(dev, 12, "mse(4) driver"); + return 0; } diff --git a/sys/dev/ncv/ncr53c500_pccard.c b/sys/dev/ncv/ncr53c500_pccard.c index 6fa56a8f3e9a..49cbd8f29e68 100644 --- a/sys/dev/ncv/ncr53c500_pccard.c +++ b/sys/dev/ncv/ncr53c500_pccard.c @@ -263,6 +263,7 @@ ncv_pccard_attach(device_t dev) ncv_release_resource(dev); return(ENXIO); } + gone_in_dev(dev, 12, "ncv(4) driver"); return(0); } diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index b81ca30f815e..ded9cd346b0c 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -205,6 +205,7 @@ nsp_pccard_attach(device_t dev) nsp_release_resource(dev); return(ENXIO); } + gone_in_dev(dev, 12, "nsp(4) driver"); return(0); } diff --git a/sys/dev/stg/tmc18c30.c b/sys/dev/stg/tmc18c30.c index add97a571373..bb4ed932bd99 100644 --- a/sys/dev/stg/tmc18c30.c +++ b/sys/dev/stg/tmc18c30.c @@ -423,6 +423,7 @@ stgattachsubr(sc) (void) scsi_low_attach(slp, 0, STG_NTARGETS, STG_NLUNS, sizeof(struct stg_targ_info), 0); + gone_in(12, "stg(4) driver"); } /**************************************************************