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>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#define SH7780_PCI_IO_SIZE 0x00400000 /* Size of IO window */
|
||||
|
||||
#define SH7780_PCIREG_BASE 0xFE040000 /* PCI regs base address */
|
||||
#define PCI_REG(n) (SH7780_PCIREG_BASE+n)
|
||||
|
||||
/* SH7780 PCI Config Registers */
|
||||
#define SH7780_PCIVID 0x000 /* Vendor ID */
|
||||
|
Reference in New Issue
Block a user