diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-02-19 15:35:04 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-16 11:00:13 +0400 |
commit | e4c6a3604e07185046e2ce4be82a201f4447d788 (patch) | |
tree | 8abb5616899458a0ae197bdac3e36b7360869f25 /arch/sh/include/asm/pci.h | |
parent | b6706ef10f75921733d7275fd45d268f2f6254c8 (diff) | |
download | linux-e4c6a3604e07185046e2ce4be82a201f4447d788.tar.xz |
sh: add reg_base member to pci_channel
Store the base address of the pci host controller registers in struct
pci_channel and use the address in pci_read_reg() and pci_write_reg().
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/pci.h')
-rw-r--r-- | arch/sh/include/asm/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h index 386587e08830..8e9e0edcf36c 100644 --- a/arch/sh/include/asm/pci.h +++ b/arch/sh/include/asm/pci.h @@ -24,6 +24,7 @@ struct pci_channel { int first_devfn; int last_devfn; int enabled; + unsigned long reg_base; }; /* |