mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[SPARC]: Port sparc64 in-kernel device tree code to sparc32.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a2bd4fd179
commit
942a6bdd1c
9 changed files with 668 additions and 91 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
#include <asm/irq.h>
|
||||
#include <asm/oplib.h>
|
||||
#include <asm/prom.h>
|
||||
#include <asm/pcic.h>
|
||||
#include <asm/timer.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
@ -665,7 +666,7 @@ void __init pcibios_fixup_bus(struct pci_bus *bus)
|
|||
/* cookies */
|
||||
pcp = pci_devcookie_alloc();
|
||||
pcp->pbm = &pcic->pbm;
|
||||
pcp->prom_node = node;
|
||||
pcp->prom_node = of_find_node_by_phandle(node);
|
||||
dev->sysdata = pcp;
|
||||
|
||||
/* fixing I/O to look like memory */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue