Thread (3 messages) 3 messages, 2 authors, 2006-01-02

Re: [PATCH] powerpc: Remove device_node addrs/n_addr

flat view

From: Olaf Hering <hidden>
Date: 2006-01-02 13:15:46

 On Tue, Dec 13, Benjamin Herrenschmidt wrote:
The pre-parsed addrs/n_addrs fields in struct device_node are finally
gone. Remove the dodgy heuristics that did that parsing at boot and
remove the fields themselves since we now have a good replacement with
the new OF parsing code. This patch also fixes a bunch of drivers to use
the new code instead, so that at least pmac32, pseries, iseries and g5
defconfigs build.
quoted hunk ↗ jump to hunk
+++ linux-work/include/asm-powerpc/prom.h	2005-12-13 17:51:20.000000000 +1100
quoted hunk ↗ jump to hunk
@@ -120,8 +82,6 @@ struct device_node {
 	char	*type;
 	phandle	node;
 	phandle linux_phandle;
-	int	n_addrs;
-	struct	address_range *addrs;
 	int	n_intrs;
 	struct	interrupt_info *intrs;
 	char	*full_name;
Is this patch supposed to be complete? I will find references to n_addrs
in arch/powerpc:

hydra_init, chrp_find_bridges, chrp_find_openpic, comment in
of_finish_dynamic_node.

-- 
short story of a lazy sysadmin:
 alias appserv=wotan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help