--- psm.c.old	Tue Sep  1 02:19:42 1998
+++ psm.c	Tue Sep  1 02:09:18 1998
@@ -80,6 +80,9 @@
 #endif
 #include <sys/select.h>
 #include <sys/uio.h>
+#ifdef NEW_CONFIG
+#include <sys/device.h>
+#endif
 
 #include <machine/apm_bios.h>
 #include <machine/clock.h>
@@ -284,6 +287,16 @@
 /* device driver declarateion */
 struct isa_driver psmdriver = { psmprobe, psmattach, "psm", FALSE };
 #define CDEV_MAJOR        21
+
+#ifdef NEW_CONFIG
+struct psm_softc_new {
+	struct  device psm_dev;
+};
+
+struct cfattach psm_ca = {
+	sizeof(struct psm_softc_new), 0, &psmdriver, isa_dev_match, NULL,
+};
+#endif
 
 static struct  cdevsw psm_cdevsw = {
 	psmopen,	psmclose,	psmread,	nowrite,	/* 21 */

