swconfig: remove obsolete portmapping feature
[openwrt/openwrt.git] / package / network / config / swconfig / src / swlib.h
index 3826a5e3402890854672953478c72e3870432247..89dbba748db32c3846342864de6ab1b64d22fb25 100644 (file)
@@ -129,7 +129,6 @@ struct switch_dev {
        struct switch_attr *ops;
        struct switch_attr *port_ops;
        struct switch_attr *vlan_ops;
-       struct switch_portmap *maps;
        struct switch_dev *next;
        void *priv;
 };
@@ -162,11 +161,6 @@ struct switch_port {
        unsigned int flags;
 };
 
-struct switch_portmap {
-       unsigned int virt;
-       char *segment;
-};
-
 struct switch_port_link {
        int link:1;
        int duplex:1;
@@ -183,12 +177,6 @@ struct switch_port_link {
  */
 void swlib_list(void);
 
-/**
- * swlib_print_portmap: get portmap
- * @dev: switch device struct
- */
-void swlib_print_portmap(struct switch_dev *dev, char *segment);
-
 /**
  * swlib_connect: connect to the switch through netlink
  * @name: name of the ethernet interface,