void auvitek_video_rescan(struct auvitek_softc *sc, const char *ifattr, const int *locs) { if (ifattr_match(ifattr, "videobus") && sc->sc_videodev == NULL) sc->sc_videodev = video_attach_mi(&auvitek_video_if, sc->sc_dev); }
void emdtv_dtv_rescan(struct emdtv_softc *sc, const char *ifattr, const int *locs) { struct dtv_attach_args daa; daa.hw = &emdtv_dtv_if; daa.priv = sc; if (ifattr_match(ifattr, "dtvbus") && sc->sc_dtvdev == NULL) sc->sc_dtvdev = config_found_ia(sc->sc_dev, "dtvbus", &daa, dtv_print); }
static int coram_rescan(device_t self, const char *ifattr, const int *locs) { struct coram_softc *sc = device_private(self); struct dtv_attach_args daa; daa.hw = &coram_dtv_if; daa.priv = sc; if (ifattr_match(ifattr, "dtvbus") && sc->sc_dtvdev == NULL) sc->sc_dtvdev = config_found_ia(sc->sc_dev, "dtvbus", &daa, dtv_print); return 0; }