int bus_scan(parent, child, aux)
bus_scan(parent, child, aux)
int bus_scan(parent, child, aux)	struct device *parent;	void *child, *aux;{	struct cfdata *cf = child;	struct confargs *ca = aux;	cfmatch_t mf;#ifdef	DIAGNOSTIC	if (parent->dv_cfdata->cf_driver->cd_indirect)		panic("bus_scan: indirect?");	if (cf->cf_fstate == FSTATE_STAR)		panic("bus_scan: FSTATE_STAR");#endif	/* ca->ca_bustype set by parent */	ca->ca_paddr  = cf->cf_loc[0];	ca->ca_intpri = cf->cf_loc[1];	ca->ca_intvec = -1;	if ((ca->ca_bustype == BUS_VME16) ||		(ca->ca_bustype == BUS_VME32))	{		ca->ca_intvec = cf->cf_loc[2];	}	/*	 * Note that this allows the match function to save	 * defaulted locators in the confargs that will be	 * preserved for the related attach call.	 */	mf = cf->cf_attach->ca_match;	if ((*mf)(parent, cf, ca) > 0) {		config_attach(parent, cf, ca, bus_print);	}	return (0);}