Add new APIs for ethernet cable and deprecate wrong APIs

No match.