diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-10-17 07:04:31 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-10-17 07:04:31 +0000 |
| commit | c42946c4c114a7ef2c16111501daa2a5b9e683b3 (patch) | |
| tree | 740742631f3851cf2218a059eb9bad098359776c /sys/isa | |
| parent | c8c1cf0ca7740511b61740dc5d1e3c790c89244c (diff) | |
Notes
Diffstat (limited to 'sys/isa')
| -rw-r--r-- | sys/isa/syscons_isa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c index dabf55da7886..0a9e22ed7e7b 100644 --- a/sys/isa/syscons_isa.c +++ b/sys/isa/syscons_isa.c @@ -93,6 +93,7 @@ static int sc_cur_scr; static int scsuspend(device_t dev) { +#ifndef SC_NO_SUSPEND_VTYSWITCH int retry = 10; static int dummy; sc_softc_t *sc; @@ -107,17 +108,20 @@ scsuspend(device_t dev) tsleep(&dummy, 0, "scsuspend", 100); } while (retry--); +#endif return (0); } static int scresume(device_t dev) { +#ifndef SC_NO_SUSPEND_VTYSWITCH sc_softc_t *sc; sc = &main_softc; sc_switch_scr(sc, sc_cur_scr); +#endif return (0); } |
