Re: Ultra4000 and kernel 2.4.0

Daz <[email protected]>
Newsgroups org.kernel.vger.ultralinux
Message-ID <marc-linux-ultrasparc-98044261124866@msgid-missing>
That worked!!  muchas gracias!!   Now I just have to go back to fixing
that dang soc problem.....grumble...grumble...



David
On Thu, 25 Jan 2001, David
S. Miller wrote:

> 
> Please try this patch, thanks:
> 
> --- drivers/sbus/sbus.c.~1~	Tue Nov 28 08:33:08 2000
> +++ drivers/sbus/sbus.c	Thu Jan 25 07:34:01 2001
> @@ -238,10 +238,14 @@
>  					break;
>  			}
>  			if (rngnum = num_ranges) {
> -				prom_printf("sbus_apply_ranges: Cannot find matching "
> -					    "range nregs[%d] nranges[%d].\n",
> -					    num_regs, num_ranges);
> -				prom_halt();
> +				/* We used to flag this as an error.  Actually
> +				 * some devices do not report the regs as we expect.
> +				 * For example, see SUNW,pln device.  In that case
> +				 * the reg property is in a format internal to that
> +				 * node, ie. it is not in the SBUS register space
> +				 * per se. -DaveM
> +				 */
> +				return;
>  			}
>  			regs[regnum].which_io = ranges[rngnum].ot_parent_space;
>  			regs[regnum].phys_addr += ranges[rngnum].ot_parent_base;
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader

-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.