svn commit: r191798 - in stable/7/sys: . contrib/pf dev/ath/ath_hal
dev/cxgb dev/syscons
Maksim Yevmenkin
emax at FreeBSD.org
Mon May 4 21:00:45 UTC 2009
Author: emax
Date: Mon May 4 21:00:43 2009
New Revision: 191798
URL: http://svn.freebsd.org/changeset/base/191798
Log:
MFC r190868
Remove obsolete/bogus layering.
Reviewed by: freebsd-current@, freebsd-hackers@
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/ath/ath_hal/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
stable/7/sys/dev/syscons/syscons.c
Modified: stable/7/sys/dev/syscons/syscons.c
==============================================================================
--- stable/7/sys/dev/syscons/syscons.c Mon May 4 20:53:19 2009 (r191797)
+++ stable/7/sys/dev/syscons/syscons.c Mon May 4 21:00:43 2009 (r191798)
@@ -184,7 +184,6 @@ static void scshutdown(void *arg, int ho
static u_int scgetc(sc_softc_t *sc, u_int flags);
#define SCGETC_CN 1
#define SCGETC_NONBLOCK 2
-static int sccngetch(int flags);
static void sccnupdate(scr_stat *scp);
static scr_stat *alloc_scp(sc_softc_t *sc, int vty);
static void init_scp(sc_softc_t *sc, int vty, scr_stat *scp);
@@ -1569,12 +1568,6 @@ sc_cnputc(struct consdev *cd, int c)
static int
sc_cngetc(struct consdev *cd)
{
- return sccngetch(SCGETC_NONBLOCK);
-}
-
-static int
-sccngetch(int flags)
-{
static struct fkeytab fkey;
static int fkeycp;
scr_stat *scp;
@@ -1615,7 +1608,7 @@ sccngetch(int flags)
kbd_ioctl(scp->sc->kbd, KDSKBMODE, (caddr_t)&scp->kbd_mode);
kbd_poll(scp->sc->kbd, TRUE);
- c = scgetc(scp->sc, SCGETC_CN | flags);
+ c = scgetc(scp->sc, SCGETC_CN | SCGETC_NONBLOCK);
kbd_poll(scp->sc->kbd, FALSE);
scp->kbd_mode = cur_mode;
More information about the svn-src-stable
mailing list