ite->sc_data->isw = (struct itesw *)ga->ga_ite; ite->sc_data->grf = (struct grf_data *)ga->ga_data;
iteattach(parent, self, aux)	struct device *parent, *self;	void *aux;{	struct ite_softc *ite = (struct ite_softc *)self;	struct grf_softc *grf = (struct grf_softc *)parent;	struct grfdev_attach_args *ga = aux;	/* Allocate the ite_data. */	if (ga->ga_isconsole) {		ite->sc_data = &ite_cn;		printf(": console");		/*		 * We didn't know which unit this would be during		 * the console probe, so we have to fixup cn_dev here.		 */		cn_tab->cn_dev = makedev(ite_major(), self->dv_unit);	} else {		ite->sc_data =		    (struct ite_data *)malloc(sizeof(struct ite_data),		    M_DEVBUF, M_NOWAIT);		if (ite->sc_data == NULL) {			printf("\n%s: malloc for ite_data failed\n",			    ite->sc_dev.dv_xname);			return;		}		bzero(ite->sc_data, sizeof(struct ite_data));		ite->sc_data->flags = ITE_ALIVE;	}	/*	 * Cross-reference the ite and the grf.	 */	ite->sc_grf = grf;	grf->sc_ite = ite;	printf("\n");}