summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-06-30 10:15:13 +0000
committeryokota <yokota@FreeBSD.org>2001-06-30 10:15:13 +0000
commite8eb8a31d4de26acf6bbdc811ed75782d01f80b4 (patch)
treefa4bc2441dbc15aa9d2e8aeb49f62d413803f871 /sys/dev/syscons
parent33d7ab4772689f5be1053406c1508b005b416269 (diff)
downloadFreeBSD-src-e8eb8a31d4de26acf6bbdc811ed75782d01f80b4.zip
FreeBSD-src-e8eb8a31d4de26acf6bbdc811ed75782d01f80b4.tar.gz
Remove the resume method. It is not necessary any more, because
keyboard drivers have it now... MFC after: 4 weeks
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c12
-rw-r--r--sys/dev/syscons/syscons.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index ed441bd..56e09e5 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -426,18 +426,6 @@ scmeminit(void *arg)
/* XXX */
SYSINIT(sc_mem, SI_SUB_KMEM, SI_ORDER_ANY, scmeminit, NULL);
-int
-sc_resume_unit(int unit)
-{
- /* XXX should be moved to the keyboard driver? */
- sc_softc_t *sc;
-
- sc = sc_get_softc(unit, (sc_console_unit == unit) ? SC_KERNEL_CONSOLE : 0);
- if (sc->kbd != NULL)
- kbd_clear_state(sc->kbd);
- return 0;
-}
-
static int
scdevtounit(dev_t dev)
{
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index 1924158..5944e34 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -494,7 +494,6 @@ extern int (*sc_user_ioctl)(dev_t dev, u_long cmd, caddr_t data,
int sc_probe_unit(int unit, int flags);
int sc_attach_unit(int unit, int flags);
-int sc_resume_unit(int unit);
int set_mode(scr_stat *scp);
OpenPOWER on IntegriCloud