[Deepin-Kernel-SIG] [linux 6.18.y] [FROMLIST] PCI: switchtec: Add Gen6 Device IDs#1744
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds support for Switchtec Gen6 hardware by introducing a new generation enum value and registering the associated PCI device IDs, without modifying driver logic or behavior. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Pull request overview
Adds support for next-generation (Gen6) Switchtec PCIe switches by extending the generation enum and registering the new PCI device IDs so the existing switchtec driver will bind to the new hardware.
Changes:
- Add
SWITCHTEC_GEN6to theenum switchtec_gen. - Add Gen6 Switchtec PCI device IDs to
switchtec_pci_tbl(no functional driver logic changes).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| include/linux/switchtec.h | Extends the Switchtec generation enum with SWITCHTEC_GEN6. |
| drivers/pci/switch/switchtec.c | Registers Gen6 PCI device IDs so the driver matches/binds to new Switchtec hardware. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add device IDs for the next generation of switchtec products. No changes to the driver were required with the new version of the hardware. [logang: rewrote commit message] Signed-off-by: Ben Reed <Ben.Reed@microchip.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260505161633.67454-1-logang@deltatee.com Link: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?h=next&id=5e6c21c56998e1e58d2f314e70779989ea0fee5d Signed-off-by: WangYuli <wangyl5933@chinaunicom.cn>
fe60a93 to
c92c533
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: opsiff The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add device IDs for the next generation of switchtec products.
No changes to the driver were required with the new version of the hardware.
[logang: rewrote commit message]
Link: https://patch.msgid.link/20260505161633.67454-1-logang@deltatee.com
Link: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?h=next&id=5e6c21c56998e1e58d2f314e70779989ea0fee5d
Summary by Sourcery
New Features: