Tag the current round of deprecated drivers.

Differential Revision: https://reviews.freebsd.org/D13818
This commit is contained in:
Warner Losh 2018-01-29 00:14:46 +00:00
parent 7faed6e3e9
commit 2ced565834
11 changed files with 14 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -157,6 +157,7 @@ dpt_pci_attach (device_t dev)
error = ENXIO;
goto bad;
}
gone_in_dev(dev, 12, "dpt(4) driver");
return (error);

View File

@ -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);
}

View File

@ -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;
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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");
}
/**************************************************************