Home | History | Annotate | Download | only in sbus

Lines Matching defs:instance

112 	int		sc_phys[2];	/* MII instance -> phy */
120 int sc_mii_inst; /* instance of internal phy */
221 int instance;
347 instance = 0;
358 IFM_MAKEWORD(IFM_ETHER, IFM_NONE, 0, instance),
361 IFM_MAKEWORD(IFM_ETHER, IFM_NONE, 0, instance));
378 " at phy %d, instance %d\n",
382 sc->sc_phys[instance] = child->mii_phy;
390 IFM_MAKEWORD(IFM_ETHER, IFM_AUTO, 0, instance));
394 instance++;
407 sc->sc_mii_inst = instance;
408 sc->sc_phys[instance] = BE_PHY_INTERNAL;
412 IFM_MAKEWORD(IFM_ETHER, IFM_10_T, 0, instance),
415 IFM_MAKEWORD(IFM_ETHER, IFM_100_TX, 0, instance),
418 IFM_MAKEWORD(IFM_ETHER, IFM_AUTO, 0, instance),
426 if (instance == 0) {
429 IFM_MAKEWORD(IFM_ETHER, IFM_AUTO, 0, instance));
1378 uint instance;
1381 instance = IFM_INST(sc->sc_mii.mii_media.ifm_cur->ifm_media);
1383 if (instance > 1)
1384 panic("be_mii_statchg: instance %d out of range", instance);
1396 be_pal_gate(sc, sc->sc_phys[instance]);
1445 * If we're not polling our PHY instance, just return.
1455 * If the media indicates a different PHY instance,