|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/errno.h>#include <linux/interrupt.h>#include <linux/ioport.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/init.h>#include <linux/delay.h>#include <asm/io.h>#include <mach-se/mach/se.h>#include <asm/machvec.h>#include "8390.h"Go to the source code of this file.
Macros | |
| #define | DRV_NAME "stnic" |
| #define | byte unsigned char |
| #define | half unsigned short |
| #define | word unsigned int |
| #define | vbyte volatile unsigned char |
| #define | vhalf volatile unsigned short |
| #define | vword volatile unsigned int |
| #define | STNIC_RUN 0x01 /* 1 == Run, 0 == reset. */ |
| #define | START_PG 0 /* First page of TX buffer */ |
| #define | STOP_PG 128 /* Last page +1 of RX ring */ |
| #define | STNIC_CR E8390_CMD |
| #define | PG0_RSAR0 EN0_RSARLO |
| #define | PG0_RSAR1 EN0_RSARHI |
| #define | PG0_RBCR0 EN0_RCNTLO |
| #define | PG0_RBCR1 EN0_RCNTHI |
| #define | CR_RRD E8390_RREAD |
| #define | CR_RWR E8390_RWRITE |
| #define | CR_PG0 E8390_PAGE0 |
| #define | CR_STA E8390_START |
| #define | CR_RDMA E8390_NODMA |
Functions | |
| module_init (stnic_probe) | |
| module_exit (stnic_cleanup) | |
| MODULE_LICENSE ("GPL") | |
| #define CR_PG0 E8390_PAGE0 |
| #define CR_RDMA E8390_NODMA |
| #define CR_RRD E8390_RREAD |
| #define CR_RWR E8390_RWRITE |
| #define CR_STA E8390_START |
| #define PG0_RBCR0 EN0_RCNTLO |
| #define PG0_RBCR1 EN0_RCNTHI |
| #define PG0_RSAR0 EN0_RSARLO |
| #define PG0_RSAR1 EN0_RSARHI |
| module_exit | ( | stnic_cleanup | ) |
| module_init | ( | stnic_probe | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2