diff options
| author | Alexey Kardashevskiy <[email protected]> | 2019-08-29 18:44:17 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-29 20:24:05 +1000 |
| commit | bc605cd79edb68131d3be5b00b949aa312277d39 (patch) | |
| tree | e730c5decfb99977ed6d95f243c772763a0d449c /include/linux | |
| parent | f2902a2fb40c589b886d21518ef8a1ee87f76b0c (diff) | |
powerpc/of/pci: Rewrite pci_parse_of_flags
The existing code uses bunch of hardcoded values from the PCI Bus
Binding to IEEE Std 1275 spec; and it does so in quite non-obvious
way.
This defines fields from the cell#0 of the "reg" property of a PCI
device and uses them for parsing.
This should cause no behavioral change.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
[mpe: Unsplit some 80/81 char lines, space the code with some newlines]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions