PCI: brcmstb: Stop using chip numbers for conditions
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | PCI: brcmstb: Remove redundant const specifier for struct fieldsdrivers/ | +3 | 1 reply | |
| 2/13 | PCI: brcmstb: Use flags u32 instead of boolsdrivers/ | +17 | 2 replies | |
| 3/13 | PCI: brcmstb: Add Broadcom quirks macrodrivers/ | +4 | 1 reply | |
| 4/13 | PCI: brcmstb: Declare and assign quirk OB_WIN_32BIT_ADDRdrivers/ | +5 | 1 reply | |
| 5/13 | PCI: brcmstb: Declare and assign quirk OB_WIN_MAXSZ_128MBdrivers/ | +8 | 2 replies | |
| 6/13 | PCI: brcmstb: Declare and assign flag IS_BMIPSdrivers/ | +6 | 1 reply | |
| 7/13 | PCI: brcmstb: Declare and assign quirk 32BIT_PCI_OPSdrivers/ | +6 | 1 reply | |
| 8/13 | PCI: brcmstb: Declare and assign quirk NO_RGR1_TIMERdrivers/ | +7 | 1 reply | |
| 9/13 | PCI: brcmstb: Declare and assign quirk EARLY_PERST_ASSERTdrivers/ | +5 | 1 reply | |
| 10/13 | PCI: brcmstb: Declare and assign quirk PERST_PCIE_REV_CUTOFFdrivers/ | +4 | 1 reply | |
| 11/13 | PCI: brcmstb: Put max_burst_size setting in cfg_datadrivers/ | +13 | 2 replies | |
| 12/13 | PCI: brcmstb: Use order-0 indexing for inbound BAR window arraydrivers/ | +21 | 1 reply | |
| 13/13 | PCI: brcmstb: Split up complicated function into two variantsdrivers/ | +68 | 2 replies |
Reviews trailers per patch
12 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Florian Fainelli |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | R-b |
| 5/13 | R-b |
| 6/13 | R-b |
| 7/13 | R-b |
| 8/13 | R-b |
| 9/13 | R-b |
| 10/13 | R-b |
| 11/13 | |
| 12/13 | R-b |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] PCI: brcmstb: Stop using chip numbers for conditions
Much of the brcmstb PCIe driver code does (essentially) this:
if (pcie->chip == 0x1234 || pcie->chip == 0x5678) {
/* ... */
}when it should instead do this:
if (behavior_xyz(pcie)) {
/* ... */
}This series does the above. In addition, some other minor improvements are added in the hopes of making the code more readable.
Jim Quinlan (13):
PCI: brcmstb: Remove redundant const specifier for struct fields
PCI: brcmstb: Use flags u32 instead of bools
PCI: brcmstb: Add Broadcom quirks macro
PCI: brcmstb: Declare and assign quirk OB_WIN_32BIT_ADDR
PCI: brcmstb: Declare and assign quirk OB_WIN_MAXSZ_128MB
PCI: brcmstb: Declare and assign flag IS_BMIPS
PCI: brcmstb: Declare and assign quirk 32BIT_PCI_OPS
PCI: brcmstb: Declare and assign quirk NO_RGR1_TIMER
PCI: brcmstb: Declare and assign quirk EARLY_PERST_ASSERT
PCI: brcmstb: Declare and assign quirk PERST_PCIE_REV_CUTOFF
PCI: brcmstb: Put max_burst_size setting in cfg_data
PCI: brcmstb: Use order-0 indexing for inbound BAR window array
PCI: brcmstb: Split up complicated function into two variants
drivers/pci/controller/pcie-brcmstb.c | 267 +++++++++++++++----------- 1 file changed, 158 insertions(+), 109 deletions(-)
base-commit: bc35965f6940a9bf834d54187b6088b8eb09206d
Signature · 1 line
2.34.1