#include <linux/module.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/crc32.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/bitops.h>
#include <linux/workqueue.h>
#include <linux/of.h>
#include <linux/of_net.h>
#include <linux/slab.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/uaccess.h>
#include <asm/dcr.h>
#include <asm/dcr-regs.h>
#include "core.h"
Go to the source code of this file.
#define DRV_DESC "PPC 4xx OCP EMAC driver" |
#define DRV_VERSION "3.54" |
#define EMAC_BOOT_LIST_SIZE 4 |
#define EMAC_DEP_MAL_IDX 0 |
#define EMAC_DEP_MDIO_IDX 4 |
#define EMAC_DEP_PREV_IDX 5 |
#define EMAC_DEP_RGMII_IDX 2 |
#define EMAC_DEP_TAH_IDX 3 |
#define EMAC_DEP_ZMII_IDX 1 |
#define EMAC_PROBE_DEP_TIMEOUT (HZ * 5) |
#define EMAC_RX_COPY_THRESH CONFIG_IBM_EMAC_RX_COPY_THRESHOLD |
#define PHY_POLL_LINK_OFF (HZ / 5) |
#define PHY_POLL_LINK_ON HZ |
#define STOP_TIMEOUT_10 1230 |
#define STOP_TIMEOUT_100 124 |
#define STOP_TIMEOUT_1000 13 |
#define STOP_TIMEOUT_1000_JUMBO 73 |
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
emac_match |
|
|
) |
| |
module_exit |
( |
emac_exit |
| ) |
|
module_init |
( |
emac_init |
| ) |
|