> So it happens here: > > 1010 int > 1011 wsdisplaywrite(dev_t dev, struct uio *uio, int flag) > 1012 { > 1013 struct wsdisplay_softc *sc; > 1014 struct tty *tp; > 1015 int unit; > 1016 struct wsscreen *scr; > 1017 > 1018 unit = WSDISPLAYUNIT(dev); > * 1019 sc = wsdisplay_cd.cd_devs[unit];
This would imply no wsdisplay device has attached, yet wscons has claimed console (either efifb or a vga-compatible display).