summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-03-30 18:43:03 +0000
committermarcel <marcel@FreeBSD.org>2006-03-30 18:43:03 +0000
commit54a1f381bf4d97ff61c5c90ee0251de5e45adb2f (patch)
tree580323578335cb46f632675415fe6ef45a3188be
parent9259a3c772ce57008665fb45e25995a76420f00e (diff)
downloadFreeBSD-src-54a1f381bf4d97ff61c5c90ee0251de5e45adb2f.zip
FreeBSD-src-54a1f381bf4d97ff61c5c90ee0251de5e45adb2f.tar.gz
When we attach to either a SAB82532 or a Z8530, print a notice
saying that scc(4) should be configured into the kernel. This helps people to migrate away from puc(4) for these devices.
-rw-r--r--sys/dev/puc/puc_ebus.c2
-rw-r--r--sys/dev/puc/puc_sbus.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/puc/puc_ebus.c b/sys/dev/puc/puc_ebus.c
index 071bcad..449712a 100644
--- a/sys/dev/puc/puc_ebus.c
+++ b/sys/dev/puc/puc_ebus.c
@@ -65,6 +65,8 @@ puc_ebus_attach(device_t dev)
struct puc_device_description dd;
int i;
+ printf("NOTICE: Please configure device scc(1) into the kernel.\n");
+
bzero(&dd, sizeof(dd));
dd.name = device_get_desc(dev);
for (i = 0; i < 2; i++) {
diff --git a/sys/dev/puc/puc_sbus.c b/sys/dev/puc/puc_sbus.c
index 7fd702c..fe5eb3c 100644
--- a/sys/dev/puc/puc_sbus.c
+++ b/sys/dev/puc/puc_sbus.c
@@ -64,6 +64,8 @@ puc_sbus_attach(device_t dev)
struct puc_device_description dd;
int i;
+ printf("NOTICE: Please configure device scc(1) into the kernel.\n");
+
bzero(&dd, sizeof(dd));
dd.name = device_get_desc(dev);
for (i = 0; i < 2; i++) {
OpenPOWER on IntegriCloud