aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2024-03-27 16:48:30 -0500
committerUlf Hansson <[email protected]>2024-04-02 12:30:31 +0200
commit951b7ccc54591ba48755b5e0c7fc8b9623a64640 (patch)
tree6a4669104f60d1012b9c27ef43ebd6578127ddb0 /scripts/gdb/linux/modules.py
parent0eed7b4761078c327e7ac6f90ff94a5b34a4947a (diff)
mmc: sdhci-pci-gli: Use PCI AER definitions, not hard-coded values
015c9cbcf0ad ("mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER") added PCI_GLI_9750_CORRERR_MASK, the offset of the AER Capability in config space, and PCI_GLI_9750_CORRERR_MASK_REPLAY_TIMER_TIMEOUT, the Replay Timer Timeout bit in the AER Correctable Error Status register. Use pci_find_ext_capability() to locate the AER Capability and use the existing PCI_ERR_COR_REP_TIMER definition to mask the bit. This removes a little bit of unnecessarily device-specific code and makes AER-related things more greppable. Signed-off-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions