]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/fhc.h
PNP: add pnp_possible_config() -- can a device could be configured this way?
[linux-2.6] / include / asm-sparc64 / fhc.h
index f29eaa2540550e5266d0fd00b562b54e500a3208..ddffcdfbc984afa7a8e75c17756cf163af13e03a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: fhc.h,v 1.5 1999/09/21 14:39:29 davem Exp $
+/*
  * fhc.h: Structures for central/fhc pseudo driver on Sunfire/Starfire/Wildfire.
  *
  * Copyright (C) 1997, 1999 David S. Miller (davem@redhat.com)
@@ -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;