Repository navigation
apple: describe hardware behaviour in Wi-Fi, PCIe and PHY comments - #1625
Merged
Merged
Conversation
Several comments in the Centauri Wi-Fi, PCIe, T6040 USB2/USB4 and T6050 DP PHY code named the host-driver routines a value was checked against, some with code addresses. Say what the firmware or hardware expects instead: the command and field values, the bit layout, the order of the steps. Comments only; the comment-stripped sources are unchanged. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comment-only change in five files:
drivers/net/wireless/apple/centauri/centauri_wifi.c(14 comments)drivers/pci/controller/pcie-apple.c(2)drivers/phy/apple/t6040-usb2.c(3)drivers/phy/apple/atc-t6050-dp.c(1)arch/arm64/boot/dts/apple/t6040-usb4.dtsi(1)The comments named host-driver routines, and some gave code addresses, where they should describe the hardware. Each one now says what the firmware or hardware expects: the command and field values, the bit layout, and the order of the steps. No value changes.
Check: with comments and whitespace stripped, the old and new versions of each file hash the same (
d3b99a0e465e,fe6fb51bfeab,4c5a24d2bb88,02b46936673d,82e1801f271f). The token stream is identical, so the build output differs only where__LINE__moves incentauri_wifi.candt6040-usb2.c.🤖 Generated with Claude Code