zs_conschan = (void *)(reg[2] + zs_offset);
zs_conschan = mapiodev(reg[2] + zs_offset, zs_size);
zscninit(cp)	struct consdev *cp;{	int escc, escc_ch, obio, zs_offset;	int ch = 0;	u_int32_t reg[5];	char name[16];	if ((escc_ch = OF_instance_to_package(stdin)) == -1)		return;	memset(name, 0, sizeof(name));	if (OF_getprop(escc_ch, "name", name, sizeof(name)) == -1)		return;	if (strcmp(name, "ch-b") == 0)		ch = 1;	if (OF_getprop(escc_ch, "reg", reg, sizeof(reg)) < 4)		return;	zs_offset = reg[0];	escc = OF_parent(escc_ch);	obio = OF_parent(escc);	if (OF_getprop(obio, "assigned-addresses", reg, sizeof(reg)) < 12)		return;	zs_conschan = (void *)(reg[2] + zs_offset);	zs_hwflags[0][ch] = ZS_HWFLAG_CONSOLE;}