mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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:
parent
b6706ef10f
commit
e4c6a3604e
7 changed files with 9 additions and 6 deletions
|
@ -24,6 +24,7 @@ struct pci_channel {
|
|||
int first_devfn;
|
||||
int last_devfn;
|
||||
int enabled;
|
||||
unsigned long reg_base;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue