Lines Matching +full:stdout +full:- +full:path
5 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
63 #include <asm/pci-bridge.h>
88 static int current_root_goodness = -1;
92 #define DEFAULT_ROOT_DEVICE Root_SDA1 /* sda1 - slightly silly choice */
138 plen -= l; in pmac_show_cpuinfo()
152 np = of_find_node_by_name(NULL, "l2-cache"); in pmac_show_cpuinfo()
157 of_get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo()
159 of_get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo()
162 if (of_get_property(np, "cache-unified", NULL) != 0 && dc) { in pmac_show_cpuinfo()
171 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo()
179 seq_printf(m, "pmac-generation\t: %s\n", in pmac_show_cpuinfo()
186 struct device_node *dn = of_find_node_by_name(NULL, "via-cuda"); in find_via_cuda()
191 printk("WARNING ! Your machine is CUDA-based but your kernel\n"); in find_via_cuda()
200 struct device_node *dn = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu()
205 printk("WARNING ! Your machine is PMU-based but your kernel\n"); in find_via_pmu()
251 /* Checks "l2cr-value" property in the registry */ in l2cr_init()
258 of_get_property(np, "l2cr-value", NULL); in l2cr_init()
286 /* Set loops_per_jiffy to a half-way reasonable value, in pmac_setup_arch()
291 fp = of_get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch()
307 ic = of_find_node_with_property(NULL, "interrupt-controller"); in pmac_setup_arch()
379 if (p != NULL && (p == boot_command_line || p[-1] == ' ')) in note_bootable_part()
494 return -1; in pmac_declare_of_platform_devices()
513 /* Some machines have strangely broken device-tree */ in pmac_declare_of_platform_devices()
543 pr_debug(" -> check_pmac_serial_console()\n"); in check_pmac_serial_console()
548 return -EBUSY; in check_pmac_serial_console()
553 return -ENODEV; in check_pmac_serial_console()
557 /* ... So use the full path instead */ in check_pmac_serial_console()
558 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
560 pr_debug(" no linux,stdout-path !\n"); in check_pmac_serial_console()
561 return -ENODEV; in check_pmac_serial_console()
565 pr_debug(" can't find stdout package %s !\n", name); in check_pmac_serial_console()
566 return -ENODEV; in check_pmac_serial_console()
568 pr_debug("stdout is %s\n", prom_stdout->full_name); in check_pmac_serial_console()
572 pr_debug(" stdout package has no name !\n"); in check_pmac_serial_console()
576 if (strcmp(name, "ch-a") == 0) in check_pmac_serial_console()
578 else if (strcmp(name, "ch-b") == 0) in check_pmac_serial_console()
591 return -ENODEV; in check_pmac_serial_console()
598 * Called very early, MMU is off, device-tree isn't unflattened
649 if (bus->self == NULL && (of_device_is_compatible(node, "u3-agp") || in pmac_pci_probe_mode()
650 of_device_is_compatible(node, "u4-pcie") || in pmac_pci_probe_mode()
651 of_device_is_compatible(node, "u3-ht"))) in pmac_pci_probe_mode()