#include <linux/clk-provider.h>
#include <linux/pci.h>
#include <linux/dmi.h>
#include "stmmac.h"
struct stmmac_pci_info { … };
static void common_default_data(struct plat_stmmacenet_data *plat)
{ … }
static int stmmac_default_data(struct pci_dev *pdev,
struct plat_stmmacenet_data *plat)
{ … }
static const struct stmmac_pci_info stmmac_pci_info = …;
static int snps_gmac5_default_data(struct pci_dev *pdev,
struct plat_stmmacenet_data *plat)
{ … }
static const struct stmmac_pci_info snps_gmac5_pci_info = …;
static int stmmac_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void stmmac_pci_remove(struct pci_dev *pdev)
{ … }
static int __maybe_unused stmmac_pci_suspend(struct device *dev)
{ … }
static int __maybe_unused stmmac_pci_resume(struct device *dev)
{ … }
static SIMPLE_DEV_PM_OPS(stmmac_pm_ops, stmmac_pci_suspend, stmmac_pci_resume);
#define PCI_VENDOR_ID_STMMAC …
#define PCI_DEVICE_ID_STMMAC_STMMAC …
#define PCI_DEVICE_ID_SYNOPSYS_GMAC5_ID …
static const struct pci_device_id stmmac_id_table[] = …;
MODULE_DEVICE_TABLE(pci, stmmac_id_table);
static struct pci_driver stmmac_pci_driver = …;
module_pci_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;