phy_con_resource_index
phy->phy_resource_idx = phy_con_resource_index(smc,p) ;
static int phy_con_resource_index(struct s_smc *smc, int phy);