net/hsr: Switch from dev_add_pack() to netdev_rx_handler_register()
Also move the frame receive handler to hsr_slave.c. Signed-off-by: Arvid Brodin <arvid.brodin@alten.se> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
70ebe4a471
commit
81ba6afd6e
@@ -162,5 +162,8 @@ struct hsr_priv {
|
||||
void register_hsr_master(struct hsr_priv *hsr);
|
||||
void unregister_hsr_master(struct hsr_priv *hsr);
|
||||
bool is_hsr_slave(struct net_device *dev);
|
||||
struct hsr_priv *get_hsr_master(struct net_device *dev);
|
||||
struct net_device *get_other_slave(struct hsr_priv *hsr,
|
||||
struct net_device *dev);
|
||||
|
||||
#endif /* __HSR_PRIVATE_H */
|
||||
|
Reference in New Issue
Block a user