ice_ptp_phy...reset_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

ice_ptp_phy_soft_reset_eth56g β€” Perform a PHY soft reset on ETH56G

okay so bestie, this is a page from the Kernel API Manual for ice_ptp_phy...reset_eth56g(9) β€” manual name folded in right here, cute and cozy, no boring header-line copy needed 🫢✨


✨ SYNOPSIS ✨

call it like this, exactly:

int ice_ptp_phy_soft_reset_eth56g (struct ice_hw *hw , u8 port );

πŸ’… ARGUMENTS πŸ’…

  • hw β€” pointer to the HW structure, literally the hardware handshake bestie 🀝
  • port β€” PHY port number, the one getting the lil reset treatment πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what does it do? It triggers a soft reset of the ETH56G PHY by toggling the soft reset bit in the PHY global register. The reset sequence is a three-step main-character arc, no cap:

  1. Clearing the soft reset bit
  2. Asserting the soft reset bit
  3. Clearing the soft reset bit again

Short delays are inserted between each step to allow the hardware to settle. This provides a controlled way to reinitialize the PHY without requiring a full device reset. It’s giving β€œrefresh, not factory reset” βœ¨πŸ”„


πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code on failure when reading or writing the PHY register. That’s it β€” no secret bonus return values, bestie 😌


🌈 SEE ALSO 🌈

the whole extended universe of references, fr fr πŸ’«


xoxo bestie πŸ’– this page’s footer vibe is source/version ./drivers/net/ethernet/intel/ice, dated October 2026, and titled ice_ptp_phy...reset_eth56g(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from