Remove the resume method. It is not necessary any more, because

keyboard drivers have it now...
MFC after:	4 weeks
This commit is contained in:
yokota 2001-06-30 10:15:13 +00:00
parent d87358963e
commit 8a9c91b028
3 changed files with 0 additions and 20 deletions

View File

@ -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)
{

View File

@ -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);

View File

@ -88,12 +88,6 @@ scattach(device_t dev)
return sc_attach_unit(device_get_unit(dev), device_get_flags(dev));
}
static int
scresume(device_t dev)
{
return sc_resume_unit(device_get_unit(dev));
}
int
sc_max_unit(void)
{
@ -236,7 +230,6 @@ static device_method_t sc_methods[] = {
DEVMETHOD(device_identify, scidentify),
DEVMETHOD(device_probe, scprobe),
DEVMETHOD(device_attach, scattach),
DEVMETHOD(device_resume, scresume),
{ 0, 0 }
};