FreeBSD/sys/dev/etherswitch/ukswitch/ukswitch.c
/*
 * Convert PHY number to port number.
 */
Convert PHY number to port number.
Convert PHY number to port number .
static inline int
ukswitch_portforphy(struct ukswitch_softc *sc, int phy)
{
	return (sc->ifpport[phy]);
}
static inline int ukswitch_portforphy ( struct ukswitch_softc * sc , int phy ) { return ( sc -> ifpport [ phy ] ) ; }
Convert PHY number to port number.
Convert PHY number to port number .