svn commit: r356046 - head/sys/powerpc/powerpc

Kyle Evans kevans at FreeBSD.org
Mon Dec 23 21:57:12 UTC 2019


Author: kevans
Date: Mon Dec 23 21:57:11 2019
New Revision: 356046
URL: https://svnweb.freebsd.org/changeset/base/356046

Log:
  powerpc: repeat of r356044
  
  It would have been nice to not have these duplicated in every single
  sc_machdep.

Modified:
  head/sys/powerpc/powerpc/sc_machdep.c

Modified: head/sys/powerpc/powerpc/sc_machdep.c
==============================================================================
--- head/sys/powerpc/powerpc/sc_machdep.c	Mon Dec 23 21:46:48 2019	(r356045)
+++ head/sys/powerpc/powerpc/sc_machdep.c	Mon Dec 23 21:57:11 2019	(r356046)
@@ -69,7 +69,7 @@ sc_get_softc(int unit, int flags)
 	sc = &sc_softcs[unit];
 	sc->unit = unit;
 	if ((sc->flags & SC_INIT_DONE) == 0) {
-		sc->keyboard = -1;
+		sc->kbd = NULL;
 		sc->adapter = -1;
 		sc->cursor_char = SC_CURSOR_CHAR;
 		sc->mouse_char = SC_MOUSE_CHAR;


More information about the svn-src-head mailing list