#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/pdc.h>
#include <asm/parisc-device.h>
#include "lib82596.c"
Go to the source code of this file.
|
| #define | LASI_82596_DRIVER_VERSION "LASI 82596 driver - Revision: 1.30" |
| |
| #define | PA_I82596_RESET 0 /* Offsets relative to LASI-LAN-Addr.*/ |
| |
| #define | PA_CPU_PORT_L_ACCESS 4 |
| |
| #define | PA_CHANNEL_ATTENTION 8 |
| |
| #define | OPT_SWAP_PORT 0x0001 /* Need to wordswp on the MPU port */ |
| |
| #define | DMA_ALLOC dma_alloc_noncoherent |
| |
| #define | DMA_FREE dma_free_noncoherent |
| |
| #define | DMA_WBACK(ndev, addr, len) do { dma_cache_sync((ndev)->dev.parent, (void *)addr, len, DMA_TO_DEVICE); } while (0) |
| |
| #define | DMA_INV(ndev, addr, len) do { dma_cache_sync((ndev)->dev.parent, (void *)addr, len, DMA_FROM_DEVICE); } while (0) |
| |
| #define | DMA_WBACK_INV(ndev, addr, len) do { dma_cache_sync((ndev)->dev.parent, (void *)addr, len, DMA_BIDIRECTIONAL); } while (0) |
| |
| #define | SYSBUS 0x0000006c; |
| |
| #define | SWAP32(x) (((u32)(x)<<16) | ((((u32)(x)))>>16)) |
| |
| #define | SWAP16(x) (x) |
| |
| #define | LAN_PROM_ADDR 0xF0810000 |
| |
| #define LAN_PROM_ADDR 0xF0810000 |
| #define LASI_82596_DRIVER_VERSION "LASI 82596 driver - Revision: 1.30" |
| #define OPT_SWAP_PORT 0x0001 /* Need to wordswp on the MPU port */ |
| #define PA_CHANNEL_ATTENTION 8 |
| #define PA_CPU_PORT_L_ACCESS 4 |
| #define PA_I82596_RESET 0 /* Offsets relative to LASI-LAN-Addr.*/ |
| #define SWAP32 |
( |
|
x | ) |
(((u32)(x)<<16) | ((((u32)(x)))>>16)) |
| #define SYSBUS 0x0000006c; |
| MODULE_AUTHOR |
( |
"Richard Hirst" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"i82596 driver" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
parisc |
, |
|
|
lan_tbl |
|
|
) |
| |
| module_exit |
( |
lasi_82596_exit |
| ) |
|
| module_init |
( |
lasi_82596_init |
| ) |
|