Re: Ultra4000 and kernel 2.4.0

"David S. Miller" <[email protected]>
Newsgroups org.kernel.vger.ultralinux
Message-ID <marc-linux-ultrasparc-98043699805145@msgid-missing>
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;
-
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.