net: dsa: sja1105: offload bridge port flags to device
[linux-2.6-microblaze.git] / drivers / net / dsa / sja1105 / sja1105.h
index d582308..15a0893 100644 (file)
@@ -94,6 +94,7 @@ struct sja1105_info {
         * pop it when it's equal to TPID2.
         */
        u16 qinq_tpid;
+       bool can_limit_mcast_flood;
        int (*reset_cmd)(struct dsa_switch *ds);
        int (*setup_rgmii_delay)(const void *ctx, int port);
        /* Prototypes from include/net/dsa.h */
@@ -204,6 +205,7 @@ struct sja1105_private {
        bool rgmii_rx_delay[SJA1105_NUM_PORTS];
        bool rgmii_tx_delay[SJA1105_NUM_PORTS];
        bool best_effort_vlan_filtering;
+       unsigned long learn_ena;
        const struct sja1105_info *info;
        struct gpio_desc *reset_gpio;
        struct spi_device *spidev;