Searched refs:MTKSWITCH_MAX_PHYS (Results 1 – 2 of 2) sorted by relevance
46 #define MTKSWITCH_MAX_PHYS 7 macro69 char *ifname[MTKSWITCH_MAX_PHYS];70 device_t miibus[MTKSWITCH_MAX_PHYS];71 struct ifnet *ifp[MTKSWITCH_MAX_PHYS];
175 sc->numphys = MTKSWITCH_MAX_PHYS; in mtkswitch_attach()259 for (phy = 0; phy < MTKSWITCH_MAX_PHYS; phy++) { in mtkswitch_detach()293 if (phy < 0 || phy >= MTKSWITCH_MAX_PHYS || sc->miibus[phy] == NULL) in mtkswitch_miiforport()304 if (phy < 0 || phy >= MTKSWITCH_MAX_PHYS) in mtkswitch_ifpforport()