28c28
< * $Id: syscons.c,v 1.274 1998/08/14 06:32:03 sos Exp $
---
> * $Id: syscons.c,v 1.275 1998/08/18 07:36:47 sos Exp $
339,340c339,340
< #define CDEV_MAJOR 12
< static struct cdevsw scdevsw = {
---
> #define CDEV_MAJOR 12
> static struct cdevsw sc_cdevsw = {
343c343,346
< ttpoll, scmmap, nostrategy, "sc", NULL, -1 };
---
> ttpoll, scmmap, nostrategy, "sc",
> NULL, -1, nodump, nopsize,
> D_TTY,
> };
836c839
< cdevsw_add(&cdev, &scdevsw, NULL);
---
> cdevsw_add(&cdev, &sc_cdevsw, NULL);
840c843
< sc_devfs_token[vc] = devfs_add_devswf(&scdevsw, vc, DV_CHR,
---
> sc_devfs_token[vc] = devfs_add_devswf(&sc_cdevsw, vc, DV_CHR,
843c846
< sc_mouse_devfs_token = devfs_add_devswf(&scdevsw, SC_MOUSE, DV_CHR,
---
> sc_mouse_devfs_token = devfs_add_devswf(&sc_cdevsw, SC_MOUSE, DV_CHR,
845c848
< sc_console_devfs_token = devfs_add_devswf(&scdevsw, SC_CONSOLE, DV_CHR,
---
> sc_console_devfs_token = devfs_add_devswf(&sc_cdevsw, SC_CONSOLE, DV_CHR,
889d891
< ttsetwater(tp);
< * $Id: syscons.c,v 1.274 1998/08/14 06:32:03 sos Exp $
---
> * $Id: syscons.c,v 1.275 1998/08/18 07:36:47 sos Exp $
339,340c339,340
< #define CDEV_MAJOR 12
< static struct cdevsw scdevsw = {
---
> #define CDEV_MAJOR 12
> static struct cdevsw sc_cdevsw = {
343c343,346
< ttpoll, scmmap, nostrategy, "sc", NULL, -1 };
---
> ttpoll, scmmap, nostrategy, "sc",
> NULL, -1, nodump, nopsize,
> D_TTY,
> };
836c839
< cdevsw_add(&cdev, &scdevsw, NULL);
---
> cdevsw_add(&cdev, &sc_cdevsw, NULL);
840c843
< sc_devfs_token[vc] = devfs_add_devswf(&scdevsw, vc, DV_CHR,
---
> sc_devfs_token[vc] = devfs_add_devswf(&sc_cdevsw, vc, DV_CHR,
843c846
< sc_mouse_devfs_token = devfs_add_devswf(&scdevsw, SC_MOUSE, DV_CHR,
---
> sc_mouse_devfs_token = devfs_add_devswf(&sc_cdevsw, SC_MOUSE, DV_CHR,
845c848
< sc_console_devfs_token = devfs_add_devswf(&scdevsw, SC_CONSOLE, DV_CHR,
---
> sc_console_devfs_token = devfs_add_devswf(&sc_cdevsw, SC_CONSOLE, DV_CHR,
889d891
< ttsetwater(tp);