Searched refs:sc_variant (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/sys/dev/pci/
H A Dif_gem_pci.c216 sc->sc_variant = GEM_SUN_GEM;
219 sc->sc_variant = GEM_SUN_ERI;
222 sc->sc_variant = GEM_APPLE_K2_GMAC;
225 sc->sc_variant = GEM_APPLE_GMAC;
H A Dif_pcn.c279 const struct pcn_variant *sc_variant; member in struct:pcn_softc
635 sc->sc_variant = pcn_lookup_variant(CHIPID_PARTID(chipid));
713 printf(", %s, rev %d: %s, address %s\n", sc->sc_variant->pcv_desc,
717 (*sc->sc_variant->pcv_mediainit)(sc);
722 switch (sc->sc_variant->pcv_chipid) {
1456 if (sc->sc_variant->pcv_chipid == PARTID_Am79c970)
1556 switch (sc->sc_variant->pcv_chipid) {
1579 switch (sc->sc_variant->pcv_chipid) {
1815 if (sc->sc_variant->pcv_chipid == PARTID_Am79c970A)
1821 if (sc->sc_variant
[all...]
/openbsd-current/sys/dev/ic/
H A Dgemvar.h148 u_int sc_variant; /* which GEM are we dealing with? */ member in struct:gem_softc
156 ((sc)->sc_variant == GEM_APPLE_GMAC || \
157 (sc)->sc_variant == GEM_APPLE_K2_GMAC)
H A Dgem.c238 if (sc->sc_variant != GEM_SUN_ERI)
254 switch (sc->sc_variant) {
279 switch (sc->sc_variant) {
301 if (child == NULL && sc->sc_variant != GEM_SUN_ERI) {
813 v |= ((sc->sc_variant == GEM_SUN_ERI ? 0x100 : 0x04ff) << 10) &
940 if (sc->sc_variant != GEM_SUN_GEM && sc->sc_variant != GEM_SUN_ERI)
/openbsd-current/sys/dev/sbus/
H A Dif_gem_sbus.c106 sc->sc_variant = GEM_SUN_GEM;

Completed in 193 milliseconds