oatc14_cabl..._result_code(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is the Kernel API Manual page for oatc14_cabl..._result_code(9) β€” yes, that's the manual name, and it's basically a tiny translator for cable-test results. no cap. 🫢

🌸 NAME 🌸

oatc14_cable_test_get_result_code β€” convert hardware cable test status to ethtool result code. πŸ’…

✨ SYNOPSIS ✨

int oatc14_cable_test_get_result_code (enum oatc14_hdd_status status );

πŸŽ€ ARGUMENTS πŸŽ€

  • status β€” the hardware-reported cable test status. that's the whole input, bestie. πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

This helper function maps the OATC14 HDD cable test status to the corresponding ethtool cable test result code. it's giving translator energy: it provides a translation between the device-specific status values and the standardized ethtool result codes. ✨

πŸ‘‘ RETURN πŸ‘‘

  • ETHTOOL_A_CABLE_RESULT_CODE_OK β€” Cable is OK πŸ’–
  • ETHTOOL_A_CABLE_RESULT_CODE_OPEN β€” Open circuit detected 😭
  • ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT β€” Short circuit detected πŸ”₯
  • ETHTOOL_A_CABLE_RESULT_CODE_UNSPEC β€” Status not detectable or invalid πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/phy/phy-c45.c, plus the whole SEE ALSO crew:


that's the whole page, bestie 🫢 β€” source path is ./drivers/net/phy, and the date on this page is October 2026. byeee πŸ’…

πŸ“¦ where this page comes from