patch-2.1.132 linux/drivers/video/sbusfb.c
Next file: linux/drivers/video/tgafb.c
Previous file: linux/drivers/video/retz3fb.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Dec 21 14:48:04 1998
-  Orig file: 
v2.1.131/linux/drivers/video/sbusfb.c
-  Orig date: 
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.1.131/linux/drivers/video/sbusfb.c linux/drivers/video/sbusfb.c
@@ -1134,9 +1134,11 @@
 		int root, node;
 		root = prom_getchild(prom_root_node);
 		for (node = prom_searchsiblings(root, "SUNW,ffb"); node;
-		     node = prom_searchsiblings(prom_getsibling(node), "SUNW,ffb")) {
+		     node = prom_searchsiblings(prom_getsibling(node), "SUNW,ffb"))
+			sbusfb_init_fb(node, prom_root_node, FBTYPE_CREATOR, NULL);
+		for (node = prom_searchsiblings(root, "SUNW,afb"); node;
+		     node = prom_searchsiblings(prom_getsibling(node), "SUNW,afb"))
 			sbusfb_init_fb(node, prom_root_node, FBTYPE_CREATOR, NULL);
-		}
 	}
 #endif
 #ifdef CONFIG_SUN4
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov