]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/adaptec/starfire.c
net: vlan: prepare for 802.1ad VLAN filtering offload
[karo-tx-linux.git] / drivers / net / ethernet / adaptec / starfire.c
index 365865130f7cfa57f5f1fe723567c62e440086aa..cdbc5443ae3b8bfc81d0510d2948121a3ccfd86e 100644 (file)
@@ -594,7 +594,8 @@ static const struct ethtool_ops ethtool_ops;
 
 
 #ifdef VLAN_SUPPORT
-static int netdev_vlan_rx_add_vid(struct net_device *dev, unsigned short vid)
+static int netdev_vlan_rx_add_vid(struct net_device *dev,
+                                 __be16 proto, u16 vid)
 {
        struct netdev_private *np = netdev_priv(dev);
 
@@ -608,7 +609,8 @@ static int netdev_vlan_rx_add_vid(struct net_device *dev, unsigned short vid)
        return 0;
 }
 
-static int netdev_vlan_rx_kill_vid(struct net_device *dev, unsigned short vid)
+static int netdev_vlan_rx_kill_vid(struct net_device *dev,
+                                  __be16 proto, u16 vid)
 {
        struct netdev_private *np = netdev_priv(dev);