diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-02-19 21:35:04 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-16 16:00:13 +0900 |
commit | e4c6a3604e07185046e2ce4be82a201f4447d788 (patch) | |
tree | 8abb5616899458a0ae197bdac3e36b7360869f25 /arch/sh/drivers/pci/pci-sh7751.h | |
parent | b6706ef10f75921733d7275fd45d268f2f6254c8 (diff) | |
download | op-kernel-dev-e4c6a3604e07185046e2ce4be82a201f4447d788.zip op-kernel-dev-e4c6a3604e07185046e2ce4be82a201f4447d788.tar.gz |
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/drivers/pci/pci-sh7751.h')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7751.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.h b/arch/sh/drivers/pci/pci-sh7751.h index 0ea4387..c390dd2 100644 --- a/arch/sh/drivers/pci/pci-sh7751.h +++ b/arch/sh/drivers/pci/pci-sh7751.h @@ -26,7 +26,6 @@ #define SH7751_PCI_IO_SIZE 0x40000 /* Size of IO window */ #define SH7751_PCIREG_BASE 0xFE200000 /* PCI regs base address */ -#define PCI_REG(n) (SH7751_PCIREG_BASE+ n) #define SH7751_PCICONF0 0x0 /* PCI Config Reg 0 */ #define SH7751_PCICONF0_DEVID 0xFFFF0000 /* Device ID */ |