diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-26 02:18:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-26 02:18:57 -0400 |
commit | 87b385da1f5a5f4a12a28e00fe597bcde8d6fea3 (patch) | |
tree | 6090a5fa706d81ed1a12f6769cc0d8371ea16044 /include | |
parent | fb7cd9d9acfb52dc1b9fbd5079445e4732667bbc (diff) |
[SPARC]: Add unique device_node IDs and a ".node" property.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc/prom.h | 2 | ||||
-rw-r--r-- | include/asm-sparc64/prom.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index e9b8047470fe..f9cf44c07164 100644 --- a/include/asm-sparc/prom.h +++ b/include/asm-sparc/prom.h | |||
@@ -36,6 +36,7 @@ struct property { | |||
36 | void *value; | 36 | void *value; |
37 | struct property *next; | 37 | struct property *next; |
38 | unsigned long _flags; | 38 | unsigned long _flags; |
39 | unsigned int unique_id; | ||
39 | }; | 40 | }; |
40 | 41 | ||
41 | struct device_node { | 42 | struct device_node { |
@@ -59,6 +60,7 @@ struct device_node { | |||
59 | struct kref kref; | 60 | struct kref kref; |
60 | unsigned long _flags; | 61 | unsigned long _flags; |
61 | void *data; | 62 | void *data; |
63 | unsigned int unique_id; | ||
62 | }; | 64 | }; |
63 | 65 | ||
64 | /* flag descriptions */ | 66 | /* flag descriptions */ |
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index c8022a337380..265614d497c4 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h | |||
@@ -36,6 +36,7 @@ struct property { | |||
36 | void *value; | 36 | void *value; |
37 | struct property *next; | 37 | struct property *next; |
38 | unsigned long _flags; | 38 | unsigned long _flags; |
39 | unsigned int unique_id; | ||
39 | }; | 40 | }; |
40 | 41 | ||
41 | struct device_node { | 42 | struct device_node { |
@@ -59,6 +60,7 @@ struct device_node { | |||
59 | struct kref kref; | 60 | struct kref kref; |
60 | unsigned long _flags; | 61 | unsigned long _flags; |
61 | void *data; | 62 | void *data; |
63 | unsigned int unique_id; | ||
62 | }; | 64 | }; |
63 | 65 | ||
64 | /* flag descriptions */ | 66 | /* flag descriptions */ |