when changing the mac address of a bridge interface, keep member interface addresses...
[openwrt.git] / target / linux / mpc83xx / patches / 001-rb600.patch
index 98db9e2..1d2d1a9 100644 (file)
 +      int node, size;
 +
 +      fw_dtb = (const void *)r3;
 +      int node, size;
 +
 +      fw_dtb = (const void *)r3;
-+      
++
 +      /* Find the memory range. */
 +      node = fdt_node_offset_by_prop_value(fw_dtb, -1, "device_type", "memory", sizeof("memory"));
 +      reg = fdt_getprop(fw_dtb, node, "reg", &size);
 +      /* Find the memory range. */
 +      node = fdt_node_offset_by_prop_value(fw_dtb, -1, "device_type", "memory", sizeof("memory"));
 +      reg = fdt_getprop(fw_dtb, node, "reg", &size);
 +
 +      return 0;
 +}
 +
 +      return 0;
 +}
-+device_initcall(rbppc_declare_of_platform_devices);
++machine_device_initcall(rb600, rbppc_declare_of_platform_devices);
 +
 +define_machine(rb600) {
 +      .name                           = "MikroTik RouterBOARD 600 series",
 +
 +define_machine(rb600) {
 +      .name                           = "MikroTik RouterBOARD 600 series",
This page took 0.024477 seconds and 4 git commands to generate.