summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/spic.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2017-07-12 20:10:53 +0000
committerjhb <jhb@FreeBSD.org>2017-07-12 20:10:53 +0000
commitb40b0a78a3a319b57d7920f57f798e7932eece16 (patch)
tree973a4861cc9d78e7c8a56ef2536505089b726bc8 /sys/i386/isa/spic.c
parent9de5b2dbb7badfffac15ac544e5d943dc4d6686b (diff)
downloadFreeBSD-src-b40b0a78a3a319b57d7920f57f798e7932eece16.zip
FreeBSD-src-b40b0a78a3a319b57d7920f57f798e7932eece16.tar.gz
Add deprecation notices for various device drivers removed in 12.0.
This is a direct commit to stable/11 since these files have already been removed in head. Reviewed by: sbruno, gjb Differential Revision: https://reviews.freebsd.org/D11542
Diffstat (limited to 'sys/i386/isa/spic.c')
-rw-r--r--sys/i386/isa/spic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c
index 2444333..ca11d62 100644
--- a/sys/i386/isa/spic.c
+++ b/sys/i386/isa/spic.c
@@ -350,6 +350,8 @@ spic_attach(device_t dev)
/* There can be only one */
sc->sc_cdev = make_dev(&spic_cdevsw, 0, 0, 0, 0600, "jogdial");
sc->sc_cdev->si_drv1 = sc;
+ device_printf(dev,
+ "WARNING: This driver is deprecated and will be removed.\n");
return 0;
}
OpenPOWER on IntegriCloud