Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [POWERPC] Store the base address in dcr_host_t | Michael Ellerman | 2007-10-03 | 1 | -1/+5 |
| | | | | | | | | | | In its current form, dcr_map() doesn't remember the base address you passed it, which means you need to store it somewhere else. Rather than adding the base to another struct it seems simpler to store it in the dcr_host_t. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org> | ||||
* | [POWERPC] Generic DCR infrastructure | Benjamin Herrenschmidt | 2006-12-04 | 1 | -0/+51 |
This patch adds new dcr_map/dcr_read/dcr_write accessors for DCRs that can be used by drivers to transparently address either native DCRs or memory mapped DCRs. The implementation for memory mapped DCRs is done after the binding being currently worked on for SLOF and the Axon chipset. This patch enables it for the cell native platform Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org> |