Home
last modified time | relevance | path

Searched refs:MTKSWITCH_MAX_PHYS (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/
HDmtkswitchvar.h46 #define MTKSWITCH_MAX_PHYS 7 macro
69 char *ifname[MTKSWITCH_MAX_PHYS];
70 device_t miibus[MTKSWITCH_MAX_PHYS];
71 struct ifnet *ifp[MTKSWITCH_MAX_PHYS];
HDmtkswitch.c175 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()