#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/proc_fs.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/crc32.h>
#include <linux/bitrev.h>
#include <linux/ethtool.h>
#include <linux/slab.h>
#include <asm/prom.h>
#include <asm/dbdma.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/machdep.h>
#include <asm/pmac_feature.h>
#include <asm/macio.h>
#include <asm/irq.h>
#include "bmac.h"
Go to the source code of this file.
| #define ChipSelect 0x0001 |
| #define DBDMA_CLEAR |
( |
|
x | ) |
( (x) << 16) |
| #define DBDMA_SET |
( |
|
x | ) |
( ((x) | (x) << 16) ) |
| #define ENET_CRCPOLY 0x04c11db7 |
| #define EnetAddressOffset 20 |
| #define ETHERMINPACKET 64 |
Value:
Definition at line 142 of file bmac.c.
| #define SROMAddressBits 6 |
| #define SROMAddressLength 5 |
| #define SROMStartOffset 10 /* this is in words */ |
| MODULE_AUTHOR |
( |
"Randy Gobbel/Paul Mackerras" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"PowerMac BMAC ethernet driver." |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
bmac_match |
|
|
) |
| |
| module_exit |
( |
bmac_exit |
| ) |
|
| module_init |
( |
bmac_init |
| ) |
|