UPS_PORT_LINK_STATE_GET
switch (UPS_PORT_LINK_STATE_GET(sc->sc_st.port_status)) {
switch (UPS_PORT_LINK_STATE_GET(status)) {