adap2pinfo
struct port_info *p = adap2pinfo(adap, i);
struct port_info *pi = adap2pinfo(adap, i);
pi = adap2pinfo(adap, i);