mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
powerpc/powernv: Add PIO accessors for Power8 LPC bus
This uses the hooks provided by CONFIG_PPC_INDIRECT_PIO to implement a set of hooks for IO port access to use the LPC bus via OPAL calls for the first 64K of IO space Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
b37193b718
commit
3fafe9c202
8 changed files with 226 additions and 1 deletions
|
@ -25,6 +25,9 @@
|
|||
#include <asm/firmware.h>
|
||||
#include <asm/bug.h>
|
||||
|
||||
/* See definition in io.h */
|
||||
bool isa_io_special;
|
||||
|
||||
void _insb(const volatile u8 __iomem *port, void *buf, long count)
|
||||
{
|
||||
u8 *tbuf = buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue