summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-22 19:53:24 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-23 23:15:32 -0700
commitcecc4e9222c4e2bca59834750e493eea6be97613 (patch)
tree9fd177ac904e4ef091c0322ae9f105210d42916d /include/asm-sparc64
parent9c10a58ed634d98114c5717e2da761d8a63f2cd4 (diff)
downloadop-kernel-dev-cecc4e9222c4e2bca59834750e493eea6be97613.zip
op-kernel-dev-cecc4e9222c4e2bca59834750e493eea6be97613.tar.gz
[SPARC64]: Convert central bus layer to in-kernel PROM device tree.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/fhc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-sparc64/fhc.h b/include/asm-sparc64/fhc.h
index f29eaa2..9e7f1b0 100644
--- a/include/asm-sparc64/fhc.h
+++ b/include/asm-sparc64/fhc.h
@@ -10,6 +10,7 @@
#include <linux/timer.h>
#include <asm/oplib.h>
+#include <asm/prom.h>
#include <asm/upa.h>
struct linux_fhc;
@@ -34,8 +35,7 @@ struct linux_central {
unsigned long clkregs;
unsigned long clkver;
int slots;
- int prom_node;
- char prom_name[64];
+ struct device_node *prom_node;
struct linux_prom_ranges central_ranges[PROMREG_MAX];
int num_central_ranges;
@@ -112,8 +112,7 @@ struct linux_fhc {
struct fhc_regs fhc_regs;
int board;
int jtag_master;
- int prom_node;
- char prom_name[64];
+ struct device_node *prom_node;
struct linux_prom_ranges fhc_ranges[PROMREG_MAX];
int num_fhc_ranges;
OpenPOWER on IntegriCloud