FreeBSD/sys/dev/etherswitch/arswitch/arswitch.c
/*
 * Convert PHY number to port number. PHY0 is connected to port 1, PHY1 to
 * port 2, etc.
 */
Convert PHY number to port number. PHY0 is connected to port 1, PHY1 to
port 2, etc.
Convert PHY number to port number . PHY0 is connected to port 1 PHY1 to port 2 etc .
static inline int
arswitch_portforphy(int phy)
{
	return (phy+1);
}
static inline int arswitch_portforphy ( int phy ) { return ( phy + 1 ) ; }
Convert PHY number to port number.
Convert PHY number to port number .