sc: fix arm/mips/sparc64 MD bits
r356043 missed a couple of references in machdep parts... arguably, these lines could probably be dropped as the softc is likely still zero'd at this point. Pointy hat: kevans
This commit is contained in:
parent
3322036efb
commit
117deb3fc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356044
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -131,7 +131,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;
|
||||
|
Loading…
Reference in New Issue
Block a user