// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * net/dsa/tag_hellcreek.c - Hirschmann Hellcreek switch tag format handling * * Copyright (C) 2019,2020 Linutronix GmbH * Author Kurt Kanzenbach <[email protected]> * * Based on tag_ksz.c. */ #include <linux/skbuff.h> #include <net/dsa.h> #include "tag.h" #define HELLCREEK_NAME … #define HELLCREEK_TAG_LEN … static struct sk_buff *hellcreek_xmit(struct sk_buff *skb, struct net_device *dev) { … } static struct sk_buff *hellcreek_rcv(struct sk_buff *skb, struct net_device *dev) { … } static const struct dsa_device_ops hellcreek_netdev_ops = …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …; MODULE_ALIAS_DSA_TAG_DRIVER(…); module_dsa_tag_driver(hellcreek_netdev_ops);