diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-08-16 22:04:14 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-25 13:27:35 +1000 |
commit | 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 (patch) | |
tree | 3641fb3b82081252fcb67cb8d2c66eb4d877e25c /fs/dcache.c | |
parent | a0a428e30077fd64c39aadf5221cf2c7a14dc281 (diff) |
[POWERPC] Add a helper for calculating RTAS "config_addr" parameters
Several RTAS calls take a "config_addr" parameter, which is a particular
way of specifying a PCI busno, devfn and register number into a 32-bit word.
Currently these are open-coded, and I'll be adding another soon, replace
them with a helper that encapsulates the logic. Be more strict about masking
the busno too, just in case.
Booted on P5 LPAR.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions