Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
am79c961a.h File Reference

Go to the source code of this file.

Data Structures

struct  dev_priv
 

Macros

#define DEBUG_TX   2
 
#define DEBUG_RX   4
 
#define DEBUG_INT   8
 
#define DEBUG_IC   16
 
#define NET_DEBUG   0
 
#define NET_UID   0
 
#define NET_RDP   0x10
 
#define NET_RAP   0x12
 
#define NET_RESET   0x14
 
#define NET_IDP   0x16
 
#define CSR0   0
 
#define CSR0_INIT   0x0001
 
#define CSR0_STRT   0x0002
 
#define CSR0_STOP   0x0004
 
#define CSR0_TDMD   0x0008
 
#define CSR0_TXON   0x0010
 
#define CSR0_RXON   0x0020
 
#define CSR0_IENA   0x0040
 
#define CSR0_INTR   0x0080
 
#define CSR0_IDON   0x0100
 
#define CSR0_TINT   0x0200
 
#define CSR0_RINT   0x0400
 
#define CSR0_MERR   0x0800
 
#define CSR0_MISS   0x1000
 
#define CSR0_CERR   0x2000
 
#define CSR0_BABL   0x4000
 
#define CSR0_ERR   0x8000
 
#define CSR3   3
 
#define CSR3_EMBA   0x0008
 
#define CSR3_DXMT2PD   0x0010
 
#define CSR3_LAPPEN   0x0020
 
#define CSR3_DXSUFLO   0x0040
 
#define CSR3_IDONM   0x0100
 
#define CSR3_TINTM   0x0200
 
#define CSR3_RINTM   0x0400
 
#define CSR3_MERRM   0x0800
 
#define CSR3_MISSM   0x1000
 
#define CSR3_BABLM   0x4000
 
#define CSR3_MASKALL   0x5F00
 
#define CSR4   4
 
#define CSR4_JABM   0x0001
 
#define CSR4_JAB   0x0002
 
#define CSR4_TXSTRTM   0x0004
 
#define CSR4_TXSTRT   0x0008
 
#define CSR4_RCVCCOM   0x0010
 
#define CSR4_RCVCCO   0x0020
 
#define CSR4_MFCOM   0x0100
 
#define CSR4_MFCO   0x0200
 
#define CSR4_ASTRP_RCV   0x0400
 
#define CSR4_APAD_XMIT   0x0800
 
#define CTRL1   5
 
#define CTRL1_SPND   0x0001
 
#define LADRL   8
 
#define LADRM1   9
 
#define LADRM2   10
 
#define LADRH   11
 
#define PADRL   12
 
#define PADRM   13
 
#define PADRH   14
 
#define MODE   15
 
#define MODE_DISRX   0x0001
 
#define MODE_DISTX   0x0002
 
#define MODE_LOOP   0x0004
 
#define MODE_DTCRC   0x0008
 
#define MODE_COLL   0x0010
 
#define MODE_DRETRY   0x0020
 
#define MODE_INTLOOP   0x0040
 
#define MODE_PORT_AUI   0x0000
 
#define MODE_PORT_10BT   0x0080
 
#define MODE_DRXPA   0x2000
 
#define MODE_DRXBA   0x4000
 
#define MODE_PROMISC   0x8000
 
#define BASERXL   24
 
#define BASERXH   25
 
#define BASETXL   30
 
#define BASETXH   31
 
#define POLLINT   47
 
#define SIZERXR   76
 
#define SIZETXR   78
 
#define CSR_MFC   112
 
#define RMD_ENP   0x0100
 
#define RMD_STP   0x0200
 
#define RMD_CRC   0x0800
 
#define RMD_FRAM   0x2000
 
#define RMD_ERR   0x4000
 
#define RMD_OWN   0x8000
 
#define TMD_ENP   0x0100
 
#define TMD_STP   0x0200
 
#define TMD_MORE   0x1000
 
#define TMD_ERR   0x4000
 
#define TMD_OWN   0x8000
 
#define TST_RTRY   0x0400
 
#define TST_LCAR   0x0800
 
#define TST_LCOL   0x1000
 
#define TST_UFLO   0x4000
 
#define TST_BUFF   0x8000
 
#define ISALED0   0x0004
 
#define ISALED0_LNKST   0x8000
 

Macro Definition Documentation

#define BASERXH   25

Definition at line 99 of file am79c961a.h.

#define BASERXL   24

Definition at line 98 of file am79c961a.h.

#define BASETXH   31

Definition at line 101 of file am79c961a.h.

#define BASETXL   30

Definition at line 100 of file am79c961a.h.

#define CSR0   0

Definition at line 30 of file am79c961a.h.

#define CSR0_BABL   0x4000

Definition at line 45 of file am79c961a.h.

#define CSR0_CERR   0x2000

Definition at line 44 of file am79c961a.h.

#define CSR0_ERR   0x8000

Definition at line 46 of file am79c961a.h.

#define CSR0_IDON   0x0100

Definition at line 39 of file am79c961a.h.

#define CSR0_IENA   0x0040

Definition at line 37 of file am79c961a.h.

#define CSR0_INIT   0x0001

Definition at line 31 of file am79c961a.h.

#define CSR0_INTR   0x0080

Definition at line 38 of file am79c961a.h.

#define CSR0_MERR   0x0800

Definition at line 42 of file am79c961a.h.

#define CSR0_MISS   0x1000

Definition at line 43 of file am79c961a.h.

#define CSR0_RINT   0x0400

Definition at line 41 of file am79c961a.h.

#define CSR0_RXON   0x0020

Definition at line 36 of file am79c961a.h.

#define CSR0_STOP   0x0004

Definition at line 33 of file am79c961a.h.

#define CSR0_STRT   0x0002

Definition at line 32 of file am79c961a.h.

#define CSR0_TDMD   0x0008

Definition at line 34 of file am79c961a.h.

#define CSR0_TINT   0x0200

Definition at line 40 of file am79c961a.h.

#define CSR0_TXON   0x0010

Definition at line 35 of file am79c961a.h.

#define CSR3   3

Definition at line 48 of file am79c961a.h.

#define CSR3_BABLM   0x4000

Definition at line 58 of file am79c961a.h.

#define CSR3_DXMT2PD   0x0010

Definition at line 50 of file am79c961a.h.

#define CSR3_DXSUFLO   0x0040

Definition at line 52 of file am79c961a.h.

#define CSR3_EMBA   0x0008

Definition at line 49 of file am79c961a.h.

#define CSR3_IDONM   0x0100

Definition at line 53 of file am79c961a.h.

#define CSR3_LAPPEN   0x0020

Definition at line 51 of file am79c961a.h.

#define CSR3_MASKALL   0x5F00

Definition at line 59 of file am79c961a.h.

#define CSR3_MERRM   0x0800

Definition at line 56 of file am79c961a.h.

#define CSR3_MISSM   0x1000

Definition at line 57 of file am79c961a.h.

#define CSR3_RINTM   0x0400

Definition at line 55 of file am79c961a.h.

#define CSR3_TINTM   0x0200

Definition at line 54 of file am79c961a.h.

#define CSR4   4

Definition at line 61 of file am79c961a.h.

#define CSR4_APAD_XMIT   0x0800

Definition at line 71 of file am79c961a.h.

#define CSR4_ASTRP_RCV   0x0400

Definition at line 70 of file am79c961a.h.

#define CSR4_JAB   0x0002

Definition at line 63 of file am79c961a.h.

#define CSR4_JABM   0x0001

Definition at line 62 of file am79c961a.h.

#define CSR4_MFCO   0x0200

Definition at line 69 of file am79c961a.h.

#define CSR4_MFCOM   0x0100

Definition at line 68 of file am79c961a.h.

#define CSR4_RCVCCO   0x0020

Definition at line 67 of file am79c961a.h.

#define CSR4_RCVCCOM   0x0010

Definition at line 66 of file am79c961a.h.

#define CSR4_TXSTRT   0x0008

Definition at line 65 of file am79c961a.h.

#define CSR4_TXSTRTM   0x0004

Definition at line 64 of file am79c961a.h.

#define CSR_MFC   112

Definition at line 108 of file am79c961a.h.

#define CTRL1   5

Definition at line 73 of file am79c961a.h.

#define CTRL1_SPND   0x0001

Definition at line 74 of file am79c961a.h.

#define DEBUG_IC   16

Definition at line 16 of file am79c961a.h.

#define DEBUG_INT   8

Definition at line 15 of file am79c961a.h.

#define DEBUG_RX   4

Definition at line 14 of file am79c961a.h.

#define DEBUG_TX   2

Definition at line 13 of file am79c961a.h.

#define ISALED0   0x0004

Definition at line 129 of file am79c961a.h.

#define ISALED0_LNKST   0x8000

Definition at line 130 of file am79c961a.h.

#define LADRH   11

Definition at line 79 of file am79c961a.h.

#define LADRL   8

Definition at line 76 of file am79c961a.h.

#define LADRM1   9

Definition at line 77 of file am79c961a.h.

#define LADRM2   10

Definition at line 78 of file am79c961a.h.

#define MODE   15

Definition at line 84 of file am79c961a.h.

#define MODE_COLL   0x0010

Definition at line 89 of file am79c961a.h.

#define MODE_DISRX   0x0001

Definition at line 85 of file am79c961a.h.

#define MODE_DISTX   0x0002

Definition at line 86 of file am79c961a.h.

#define MODE_DRETRY   0x0020

Definition at line 90 of file am79c961a.h.

#define MODE_DRXBA   0x4000

Definition at line 95 of file am79c961a.h.

#define MODE_DRXPA   0x2000

Definition at line 94 of file am79c961a.h.

#define MODE_DTCRC   0x0008

Definition at line 88 of file am79c961a.h.

#define MODE_INTLOOP   0x0040

Definition at line 91 of file am79c961a.h.

#define MODE_LOOP   0x0004

Definition at line 87 of file am79c961a.h.

#define MODE_PORT_10BT   0x0080

Definition at line 93 of file am79c961a.h.

#define MODE_PORT_AUI   0x0000

Definition at line 92 of file am79c961a.h.

#define MODE_PROMISC   0x8000

Definition at line 96 of file am79c961a.h.

#define NET_DEBUG   0

Definition at line 18 of file am79c961a.h.

#define NET_IDP   0x16

Definition at line 25 of file am79c961a.h.

#define NET_RAP   0x12

Definition at line 23 of file am79c961a.h.

#define NET_RDP   0x10

Definition at line 22 of file am79c961a.h.

#define NET_RESET   0x14

Definition at line 24 of file am79c961a.h.

#define NET_UID   0

Definition at line 21 of file am79c961a.h.

#define PADRH   14

Definition at line 82 of file am79c961a.h.

#define PADRL   12

Definition at line 80 of file am79c961a.h.

#define PADRM   13

Definition at line 81 of file am79c961a.h.

#define POLLINT   47

Definition at line 103 of file am79c961a.h.

#define RMD_CRC   0x0800

Definition at line 112 of file am79c961a.h.

#define RMD_ENP   0x0100

Definition at line 110 of file am79c961a.h.

#define RMD_ERR   0x4000

Definition at line 114 of file am79c961a.h.

#define RMD_FRAM   0x2000

Definition at line 113 of file am79c961a.h.

#define RMD_OWN   0x8000

Definition at line 115 of file am79c961a.h.

#define RMD_STP   0x0200

Definition at line 111 of file am79c961a.h.

#define SIZERXR   76

Definition at line 105 of file am79c961a.h.

#define SIZETXR   78

Definition at line 106 of file am79c961a.h.

#define TMD_ENP   0x0100

Definition at line 117 of file am79c961a.h.

#define TMD_ERR   0x4000

Definition at line 120 of file am79c961a.h.

#define TMD_MORE   0x1000

Definition at line 119 of file am79c961a.h.

#define TMD_OWN   0x8000

Definition at line 121 of file am79c961a.h.

#define TMD_STP   0x0200

Definition at line 118 of file am79c961a.h.

#define TST_BUFF   0x8000

Definition at line 127 of file am79c961a.h.

#define TST_LCAR   0x0800

Definition at line 124 of file am79c961a.h.

#define TST_LCOL   0x1000

Definition at line 125 of file am79c961a.h.

#define TST_RTRY   0x0400

Definition at line 123 of file am79c961a.h.

#define TST_UFLO   0x4000

Definition at line 126 of file am79c961a.h.