Home
last modified time | relevance | path

Searched hist:"6 f3d5d3cc4b1447578ae8484166bbc34a64150c5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Drtas_pci.cdiff 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 Wed Aug 16 07:04:14 CDT 2006 Michael Ellerman <michael@ellerman.id.au> [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>