On 11/4/06, Benjamin Herrenschmidt [off-list ref] wrote:
On Sun, 2006-11-05 at 01:27 +0100, Sylvain Munaut wrote:
quoted
with a helper that would do
- The find_node
- get_address / translate / get_size
- ioremap
Something like :
intr = mpc52xx_find_and_map("mpc52xx-intr");
sdma = mpc52xx_find_and_map("mpc52xx-sdma");
Hrm... I don't care that much but I also don't think we need that
helper. It's not saving much.
While on this topic... if a helper is added, what about it is 52xx
specific? Wouldn't the same code apply to all platforms?
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195