samba36: enable parallel build
[openwrt/openwrt.git] / package / swconfig / src / swlib.h
index b3c6769de19831711cae92090f8c6aeb64c4b89e..ff73969c8718cc0edcc1c7010669b44f24da0b14 100644 (file)
@@ -114,10 +114,12 @@ struct uci_package;
 
 struct switch_dev {
        int id;
+       char dev_name[IFNAMSIZ];
        const char *name;
-       const char *dev_name;
+       const char *alias;
        int ports;
        int vlans;
+       int cpu_port;
        struct switch_attr *ops;
        struct switch_attr *port_ops;
        struct switch_attr *vlan_ops;