if (OF_getprop(chosen, "input-device", buf,
if (OF_getprop(options, "input-device", buf,
sabtty_console_flags(sc)	struct sabtty_softc *sc;{	int node, channel, cookie;	u_int chosen;	char buf[255];	node = sc->sc_parent->sc_node;	channel = sc->sc_portno;	chosen = OF_finddevice("/chosen");	/* Default to channel 0 if there are no explicit prom args */	cookie = 0;	if (node == OF_instance_to_package(OF_stdin())) {		if (OF_getprop(chosen, "input-device", buf,		    sizeof(buf)) != -1) {			if (strcmp("ttyb", buf) == 0)				cookie = 1;		}		if (channel == cookie)			sc->sc_flags |= SABTTYF_CONS_IN;	}	/* Default to same channel if there are no explicit prom args */	if (node == OF_instance_to_package(OF_stdout())) {		if (OF_getprop(chosen, "output-device", buf,		    sizeof(buf)) != -1) {			if (strcmp("ttyb", buf) == 0)				cookie = 1;		}		if (channel == cookie)			sc->sc_flags |= SABTTYF_CONS_OUT;	}}