Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | ARCNET_TOTAL_SIZE 8 |
#define | BUS_ALIGN 1 |
#define | _INTMASK (ioaddr+BUS_ALIGN*0) /* writable */ |
#define | _STATUS (ioaddr+BUS_ALIGN*0) /* readable */ |
#define | _COMMAND (ioaddr+BUS_ALIGN*1) /* standard arcnet commands */ |
#define | _DIAGSTAT (ioaddr+BUS_ALIGN*1) /* diagnostic status register */ |
#define | _ADDR_HI (ioaddr+BUS_ALIGN*2) /* control registers for IO-mapped memory */ |
#define | _ADDR_LO (ioaddr+BUS_ALIGN*3) |
#define | _MEMDATA (ioaddr+BUS_ALIGN*4) /* data port for IO-mapped memory */ |
#define | _SUBADR (ioaddr+BUS_ALIGN*5) /* the extended port _XREG refers to */ |
#define | _CONFIG (ioaddr+BUS_ALIGN*6) /* configuration register */ |
#define | _XREG |
#define | RDDATAflag 0x80 /* next access is a read (not a write) */ |
#define | NEWNXTIDflag 0x02 /* ID to which token is passed has changed */ |
#define | RESETcfg 0x80 /* put card in reset state */ |
#define | TXENcfg 0x20 /* enable TX */ |
#define | PROMISCset 0x10 /* enable RCV_ALL */ |
#define | P1MODE 0x80 /* enable P1-MODE for Backplane */ |
#define | SLOWARB 0x01 /* enable Slow Arbitration for >=5Mbps */ |
#define | SUB_TENTATIVE 0 /* tentative node ID */ |
#define | SUB_NODE 1 /* node ID */ |
#define | SUB_SETUP1 2 /* various options */ |
#define | SUB_TEST 3 /* test/diag register */ |
#define | SUB_SETUP2 4 /* sundry options */ |
#define | SUB_BUSCTL 5 /* bus control options */ |
#define | SUB_DMACOUNT 6 /* DMA count options */ |
#define | SET_SUBADR(x) |
#define | ARCRESET |
#define | ARCRESET0 |
#define | ASTATUS() inb(_STATUS) |
#define | ADIAGSTATUS() inb(_DIAGSTAT) |
#define | ACOMMAND(cmd) outb((cmd),_COMMAND) |
#define | AINTMASK(msk) outb((msk),_INTMASK) |
#define | SETCONF outb(lp->config, _CONFIG) |
Functions | |
int | com20020_check (struct net_device *dev) |
int | com20020_found (struct net_device *dev, int shared) |
Variables | |
struct net_device_ops | com20020_netdev_ops |
Definition at line 49 of file com20020.h.
#define _ADDR_LO (ioaddr+BUS_ALIGN*3) |
Definition at line 50 of file com20020.h.
Definition at line 47 of file com20020.h.
#define _CONFIG (ioaddr+BUS_ALIGN*6) /* configuration register */ |
Definition at line 53 of file com20020.h.
Definition at line 48 of file com20020.h.
Definition at line 45 of file com20020.h.
Definition at line 51 of file com20020.h.
Definition at line 46 of file com20020.h.
Definition at line 52 of file com20020.h.
#define _XREG |
Definition at line 54 of file com20020.h.
Definition at line 109 of file com20020.h.
#define ARCNET_TOTAL_SIZE 8 |
Definition at line 35 of file com20020.h.
#define ARCRESET |
#define ARCRESET0 |
Definition at line 103 of file com20020.h.
Definition at line 108 of file com20020.h.
#define BUS_ALIGN 1 |
Definition at line 41 of file com20020.h.
#define NEWNXTIDflag 0x02 /* ID to which token is passed has changed */ |
Definition at line 60 of file com20020.h.
#define P1MODE 0x80 /* enable P1-MODE for Backplane */ |
Definition at line 68 of file com20020.h.
#define PROMISCset 0x10 /* enable RCV_ALL */ |
Definition at line 67 of file com20020.h.
#define RDDATAflag 0x80 /* next access is a read (not a write) */ |
Definition at line 57 of file com20020.h.
#define RESETcfg 0x80 /* put card in reset state */ |
Definition at line 63 of file com20020.h.
#define SET_SUBADR | ( | x | ) |
#define SLOWARB 0x01 /* enable Slow Arbitration for >=5Mbps */ |
Definition at line 69 of file com20020.h.
Definition at line 79 of file com20020.h.
Definition at line 80 of file com20020.h.
Definition at line 73 of file com20020.h.
#define SUB_SETUP1 2 /* various options */ |
Definition at line 74 of file com20020.h.
#define SUB_SETUP2 4 /* sundry options */ |
Definition at line 78 of file com20020.h.
Definition at line 72 of file com20020.h.
Definition at line 75 of file com20020.h.
#define TXENcfg 0x20 /* enable TX */ |
Definition at line 64 of file com20020.h.
int com20020_check | ( | struct net_device * | dev | ) |
Definition at line 89 of file com20020.c.
int com20020_found | ( | struct net_device * | dev, |
int | shared | ||
) |
Definition at line 163 of file com20020.c.
struct net_device_ops com20020_netdev_ops |
Definition at line 152 of file com20020.c.