#include <linux/io.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include "enetc.h"
#include "enetc_ierb.h"
#define ENETC_IERB_TXMBAR(port) …
#define ENETC_IERB_RXMBER(port) …
#define ENETC_IERB_RXMBLR(port) …
#define ENETC_IERB_RXBCR(port) …
#define ENETC_IERB_TXBCR(port) …
#define ENETC_IERB_FMBDTR …
#define ENETC_RESERVED_FOR_ICM …
struct enetc_ierb { … };
static void enetc_ierb_write(struct enetc_ierb *ierb, u32 offset, u32 val)
{ … }
int enetc_ierb_register_pf(struct platform_device *pdev,
struct pci_dev *pf_pdev)
{ … }
EXPORT_SYMBOL(…);
static int enetc_ierb_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id enetc_ierb_match[] = …;
MODULE_DEVICE_TABLE(of, enetc_ierb_match);
static struct platform_driver enetc_ierb_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;