Re: Oops during boot on Netra X1 with 2.6.18 in isa_dev_get_resource

2006-12-23 Thread richm
Hi, > Richard Mortimer (CC'd) reported an oops when booting 2.6.18 on > Netra X1. Richard writes: > >> I believe that the problem is due to a null pointer being returned >> from of_get_property in isa_dev_get_resource() >> arch/sparc64/kernel/isa.c. Enclosed is a disassembly of the >> appropriate

[PATCH] sparc64: isa.c should cope with OBP nodes with no "reg" property

2006-12-23 Thread richm
From: Richard Mortimer <[EMAIL PROTECTED]> The todm5819 Openboot device node on Netra X1 does not have a "reg" property. In this case of_get_property returns NULL resulting in an Oops. Avoid this by returning from isa_dev_get_resource() without attempting to request_resource(). Signed-off-by: Ric

[PATCH] sparc64: remove unused parameters from isa_dev_get_irq()

2006-12-23 Thread richm
From: Richard Mortimer <[EMAIL PROTECTED]> The pregs parameter was a leftover from earlier code to query device settings from OBP. These are no longer used and can be safely removed. Signed-off-by: Richard Mortimer <[EMAIL PROTECTED]> --- arch/sparc64/kernel/isa.c | 19 +++ 1 f

Oops during boot on Netra X1 with 2.6.18 in isa_dev_get_resource

2006-12-23 Thread Jurij Smakov
Hi, Richard Mortimer (CC'd) reported an oops when booting 2.6.18 on Netra X1. Richard writes: > I believe that the problem is due to a null pointer being returned > from of_get_property in isa_dev_get_resource() > arch/sparc64/kernel/isa.c. Enclosed is a disassembly of the > appropriate bit o