scu_link_lay...x_hard_reset(9)
π scu_link_layer_tx_hard_reset(9) β the kernel API manual, but make it make sense
okay so bestie, this is a page from the Kernel API Manual (yes, section 9, the ~spicy~ one) and the function is scu_link_layer_tx_hard_reset. Buckle up, it's a vibe. π¦
β¨ NAME β¨
scu_link_layer_tx_hard_reset β and honestly the manpage just leaves it hanging there with a lil dangling dash and no description, so likeβ¦ that's all the NAME section gives us, no cap. π
πΈ SYNOPSIS πΈ
void scu_link_layer_tx_hard_reset (struct isci_phy *iphy );
that's it. that's the whole signature. it returns void, so don't go looking for a return value, bestie, there isn't one. π
π«Ά ARGUMENTS π«Ά
iphyβ this is thestruct isci_phyobject to stop. it's giving "main character" energy, it's the one taking the hard reset. π
π₯ DESCRIPTION π₯
okay so this is the good part. this method will transmit a hard reset request on the specified phy. literally, that's the whole job. β¨
here's the thing though, the SCU hardware is highkey demanding about it β it requires that we reset the OOB state machine and set the hard reset bit in the phy configuration register. two things. non-negotiable. the hardware said periodt. π
and then, because apparently that wasn't enough drama, we then must start OOB over with the hard reset bit set. so likeβ¦ OOB gets a whole second act, but the bit stays set the entire time. do not skip that part, i'm begging. π
ngl the order matters here: reset the OOB state machine, set the hard reset bit in the phy configuration register, then restart OOB with that bit still set. that's the recipe, chef. π
π SEE ALSO π
- the kernel file
./drivers/scsi/isci/phy.c phy_get_non_dummy_port(9)sci_phy_setup_transport(9)sci_phy_complete_link_training(9)scu_link_layer_stop_protocol_engine(9)isci_phy_control(9)
go read those too, they're all in their flop era together and they ate. π
π and that's the whole page! source-file-wise it lives under ./drivers/scsi/isci, the page is dated October 2026, and the whole thing is filed as scu_link_lay...x_hard_reset(9) (yes the title is truncated in the original, we don't fix what's iconic, mwah π). byeee, go reset some phys responsibly! π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms