+ /*
+ * If dcmconsole is initialized, raise our priority.
+ */
+ if (dcmconsole == UNIT(unit))
+ cp->cn_pri = CN_REMOTE;
+#ifdef KGDB
+ if (major(kgdb_dev) == 2) /* XXX */
+ kgdb_dev = makedev(dcmmajor, minor(kgdb_dev));
+#ifdef notdef
+ /*
+ * This doesn't currently work, at least not with ite consoles;
+ * the console hasn't been initialized yet.
+ */
+ if (major(kgdb_dev) == dcmmajor && BOARD(kgdb_dev) == BOARD(unit)) {
+ (void) dcminit(kgdb_dev, kgdb_rate);
+ if (kgdb_debug_init) {
+ /*
+ * We assume that console is ready for us...
+ * this assumes that a dca or ite console
+ * has been selected already and will init
+ * on the first putc.
+ */
+ printf("dcm%d: ", UNIT(kgdb_dev));
+ kgdb_connect(1);
+ }
+ }
+#endif
+#endif