+struct device *
+system_if_get_parent(struct device *dev)
+{
+ if (!strcmp(dev->ifname, "eth0"))
+ return device_get("eth1", true);
+
+ return NULL;
+}
+
+int
+system_if_dump_info(struct device *dev, struct blob_buf *b)
+{
+ blobmsg_add_u8(b, "link", dev->present);
+ return 0;
+}
+
+int
+system_if_dump_stats(struct device *dev, struct blob_buf *b)
+{
+ return 0;
+}
+