#include <linux/ethtool.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/stmmac.h>
#include "dwmac4.h"
#include "stmmac.h"
#include "stmmac_platform.h"
struct intel_dwmac { … };
struct intel_dwmac_data { … };
static void kmb_eth_fix_mac_speed(void *priv, unsigned int speed, unsigned int mode)
{ … }
static const struct intel_dwmac_data kmb_data = …;
static const struct of_device_id intel_eth_plat_match[] = …;
MODULE_DEVICE_TABLE(of, intel_eth_plat_match);
static int intel_eth_plat_probe(struct platform_device *pdev)
{ … }
static void intel_eth_plat_remove(struct platform_device *pdev)
{ … }
static struct platform_driver intel_eth_plat_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;