--- 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 #include +#ifdef NEW_CONFIG +#include +#endif #include #include @@ -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 */