#include <linux/module.h>
#include "enetc.h"
#define ENETC_DRV_NAME_STR …
static void enetc_msg_vsi_write_msg(struct enetc_hw *hw,
struct enetc_msg_swbd *msg)
{ … }
static int enetc_msg_vsi_send(struct enetc_si *si, struct enetc_msg_swbd *msg)
{ … }
static int enetc_msg_vsi_set_primary_mac_addr(struct enetc_ndev_priv *priv,
struct sockaddr *saddr)
{ … }
static int enetc_vf_set_mac_addr(struct net_device *ndev, void *addr)
{ … }
static int enetc_vf_set_features(struct net_device *ndev,
netdev_features_t features)
{ … }
static int enetc_vf_setup_tc(struct net_device *ndev, enum tc_setup_type type,
void *type_data)
{ … }
static const struct net_device_ops enetc_ndev_ops = …;
static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev,
const struct net_device_ops *ndev_ops)
{ … }
static int enetc_vf_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{ … }
static void enetc_vf_remove(struct pci_dev *pdev)
{ … }
static const struct pci_device_id enetc_vf_id_table[] = …;
MODULE_DEVICE_TABLE(pci, enetc_vf_id_table);
static struct pci_driver enetc_vf_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…);
MODULE_LICENSE(…) …;