Browse Source

sc(4) md bits: stop setting sc->kbd entirely

The machdep parts no longer need to touch keyboard parts after r356043;
sc->kbd will be 0-initialized and this works as expected.
freebsd/current/master
kevans 8 months ago
parent
commit
8274dc2ee2
5 changed files with 0 additions and 5 deletions
  1. +0
    -1
      sys/arm/arm/sc_machdep.c
  2. +0
    -1
      sys/isa/syscons_isa.c
  3. +0
    -1
      sys/mips/mips/sc_machdep.c
  4. +0
    -1
      sys/powerpc/powerpc/sc_machdep.c
  5. +0
    -1
      sys/sparc64/sparc64/sc_machdep.c

+ 0
- 1
sys/arm/arm/sc_machdep.c View File

@@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;


+ 0
- 1
sys/isa/syscons_isa.c View File

@@ -117,7 +117,6 @@ sc_softc_t
}
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;


+ 0
- 1
sys/mips/mips/sc_machdep.c View File

@@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;


+ 0
- 1
sys/powerpc/powerpc/sc_machdep.c View File

@@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;


+ 0
- 1
sys/sparc64/sparc64/sc_machdep.c View File

@@ -131,7 +131,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;


Loading…
Cancel
Save