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

Go to the source code of this file.

Data Structures

struct  lance_regs
 
struct  lance_rx_desc
 
struct  lance_tx_desc
 

Macros

#define LE_CSR0   0x0000 /* LANCE Controller Status */
 
#define LE_CSR1   0x0001 /* IADR[15:0] */
 
#define LE_CSR2   0x0002 /* IADR[23:16] */
 
#define LE_CSR3   0x0003 /* Misc */
 
#define LE_C0_ERR   0x8000 /* Error */
 
#define LE_C0_BABL   0x4000 /* Babble: Transmitted too many bits */
 
#define LE_C0_CERR   0x2000 /* No Heartbeat (10BASE-T) */
 
#define LE_C0_MISS   0x1000 /* Missed Frame */
 
#define LE_C0_MERR   0x0800 /* Memory Error */
 
#define LE_C0_RINT   0x0400 /* Receive Interrupt */
 
#define LE_C0_TINT   0x0200 /* Transmit Interrupt */
 
#define LE_C0_IDON   0x0100 /* Initialization Done */
 
#define LE_C0_INTR   0x0080 /* Interrupt Flag */
 
#define LE_C0_INEA   0x0040 /* Interrupt Enable */
 
#define LE_C0_RXON   0x0020 /* Receive On */
 
#define LE_C0_TXON   0x0010 /* Transmit On */
 
#define LE_C0_TDMD   0x0008 /* Transmit Demand */
 
#define LE_C0_STOP   0x0004 /* Stop */
 
#define LE_C0_STRT   0x0002 /* Start */
 
#define LE_C0_INIT   0x0001 /* Initialize */
 
#define LE_C3_BSWP
 
#define LE_C3_ACON
 
#define LE_C3_BCON   0x0001 /* Byte Control */
 
#define LE_MO_PROM   0x8000 /* Promiscuous Mode */
 
#define LE_MO_INTL   0x0040 /* Internal Loopback */
 
#define LE_MO_DRTY   0x0020 /* Disable Retry */
 
#define LE_MO_FCOLL   0x0010 /* Force Collision */
 
#define LE_MO_DXMTFCS   0x0008 /* Disable Transmit CRC */
 
#define LE_MO_LOOP   0x0004 /* Loopback Enable */
 
#define LE_MO_DTX   0x0002 /* Disable Transmitter */
 
#define LE_MO_DRX   0x0001 /* Disable Receiver */
 
#define LE_R1_OWN   0x80 /* LANCE owns the descriptor */
 
#define LE_R1_ERR   0x40 /* Error */
 
#define LE_R1_FRA   0x20 /* Framing Error */
 
#define LE_R1_OFL   0x10 /* Overflow Error */
 
#define LE_R1_CRC   0x08 /* CRC Error */
 
#define LE_R1_BUF   0x04 /* Buffer Error */
 
#define LE_R1_SOP   0x02 /* Start of Packet */
 
#define LE_R1_EOP   0x01 /* End of Packet */
 
#define LE_R1_POK   0x03 /* Packet is complete: SOP + EOP */
 
#define LE_T1_OWN   0x80 /* LANCE owns the descriptor */
 
#define LE_T1_ERR   0x40 /* Error */
 
#define LE_T1_RES
 
#define LE_T1_EMORE   0x10 /* More than one retry needed */
 
#define LE_T1_EONE   0x08 /* One retry needed */
 
#define LE_T1_EDEF   0x04 /* Deferred */
 
#define LE_T1_SOP   0x02 /* Start of Packet */
 
#define LE_T1_EOP   0x01 /* End of Packet */
 
#define LE_T1_POK   0x03 /* Packet is complete: SOP + EOP */
 
#define LE_T3_BUF   0x8000 /* Buffer Error */
 
#define LE_T3_UFL   0x4000 /* Underflow Error */
 
#define LE_T3_LCOL   0x1000 /* Late Collision */
 
#define LE_T3_CLOS   0x0800 /* Loss of Carrier */
 
#define LE_T3_RTY   0x0400 /* Retry Error */
 
#define LE_T3_TDR   0x03ff /* Time Domain Reflectometry */
 
#define A2065_LANCE   0x4000
 
#define A2065_RAM   0x8000
 
#define A2065_RAM_SIZE   0x8000
 

Macro Definition Documentation

#define A2065_LANCE   0x4000

Definition at line 166 of file a2065.h.

#define A2065_RAM   0x8000

Definition at line 168 of file a2065.h.

#define A2065_RAM_SIZE   0x8000

Definition at line 169 of file a2065.h.

#define LE_C0_BABL   0x4000 /* Babble: Transmitted too many bits */

Definition at line 61 of file a2065.h.

#define LE_C0_CERR   0x2000 /* No Heartbeat (10BASE-T) */

Definition at line 62 of file a2065.h.

#define LE_C0_ERR   0x8000 /* Error */

Definition at line 60 of file a2065.h.

#define LE_C0_IDON   0x0100 /* Initialization Done */

Definition at line 67 of file a2065.h.

#define LE_C0_INEA   0x0040 /* Interrupt Enable */

Definition at line 69 of file a2065.h.

#define LE_C0_INIT   0x0001 /* Initialize */

Definition at line 75 of file a2065.h.

#define LE_C0_INTR   0x0080 /* Interrupt Flag */

Definition at line 68 of file a2065.h.

#define LE_C0_MERR   0x0800 /* Memory Error */

Definition at line 64 of file a2065.h.

#define LE_C0_MISS   0x1000 /* Missed Frame */

Definition at line 63 of file a2065.h.

#define LE_C0_RINT   0x0400 /* Receive Interrupt */

Definition at line 65 of file a2065.h.

#define LE_C0_RXON   0x0020 /* Receive On */

Definition at line 70 of file a2065.h.

#define LE_C0_STOP   0x0004 /* Stop */

Definition at line 73 of file a2065.h.

#define LE_C0_STRT   0x0002 /* Start */

Definition at line 74 of file a2065.h.

#define LE_C0_TDMD   0x0008 /* Transmit Demand */

Definition at line 72 of file a2065.h.

#define LE_C0_TINT   0x0200 /* Transmit Interrupt */

Definition at line 66 of file a2065.h.

#define LE_C0_TXON   0x0010 /* Transmit On */

Definition at line 71 of file a2065.h.

#define LE_C3_ACON
Value:
0x0002 /* ALE Control
(on for active low ALE) */

Definition at line 83 of file a2065.h.

#define LE_C3_BCON   0x0001 /* Byte Control */

Definition at line 84 of file a2065.h.

#define LE_C3_BSWP
Value:
0x0004 /* Byte Swap
(on for big endian byte order) */

Definition at line 82 of file a2065.h.

#define LE_CSR0   0x0000 /* LANCE Controller Status */

Definition at line 50 of file a2065.h.

#define LE_CSR1   0x0001 /* IADR[15:0] */

Definition at line 51 of file a2065.h.

#define LE_CSR2   0x0002 /* IADR[23:16] */

Definition at line 52 of file a2065.h.

#define LE_CSR3   0x0003 /* Misc */

Definition at line 53 of file a2065.h.

#define LE_MO_DRTY   0x0020 /* Disable Retry */

Definition at line 93 of file a2065.h.

#define LE_MO_DRX   0x0001 /* Disable Receiver */

Definition at line 98 of file a2065.h.

#define LE_MO_DTX   0x0002 /* Disable Transmitter */

Definition at line 97 of file a2065.h.

#define LE_MO_DXMTFCS   0x0008 /* Disable Transmit CRC */

Definition at line 95 of file a2065.h.

#define LE_MO_FCOLL   0x0010 /* Force Collision */

Definition at line 94 of file a2065.h.

#define LE_MO_INTL   0x0040 /* Internal Loopback */

Definition at line 92 of file a2065.h.

#define LE_MO_LOOP   0x0004 /* Loopback Enable */

Definition at line 96 of file a2065.h.

#define LE_MO_PROM   0x8000 /* Promiscuous Mode */

Definition at line 91 of file a2065.h.

#define LE_R1_BUF   0x04 /* Buffer Error */

Definition at line 129 of file a2065.h.

#define LE_R1_CRC   0x08 /* CRC Error */

Definition at line 128 of file a2065.h.

#define LE_R1_EOP   0x01 /* End of Packet */

Definition at line 131 of file a2065.h.

#define LE_R1_ERR   0x40 /* Error */

Definition at line 125 of file a2065.h.

#define LE_R1_FRA   0x20 /* Framing Error */

Definition at line 126 of file a2065.h.

#define LE_R1_OFL   0x10 /* Overflow Error */

Definition at line 127 of file a2065.h.

#define LE_R1_OWN   0x80 /* LANCE owns the descriptor */

Definition at line 124 of file a2065.h.

#define LE_R1_POK   0x03 /* Packet is complete: SOP + EOP */

Definition at line 132 of file a2065.h.

#define LE_R1_SOP   0x02 /* Start of Packet */

Definition at line 130 of file a2065.h.

#define LE_T1_EDEF   0x04 /* Deferred */

Definition at line 144 of file a2065.h.

#define LE_T1_EMORE   0x10 /* More than one retry needed */

Definition at line 142 of file a2065.h.

#define LE_T1_EONE   0x08 /* One retry needed */

Definition at line 143 of file a2065.h.

#define LE_T1_EOP   0x01 /* End of Packet */

Definition at line 146 of file a2065.h.

#define LE_T1_ERR   0x40 /* Error */

Definition at line 140 of file a2065.h.

#define LE_T1_OWN   0x80 /* LANCE owns the descriptor */

Definition at line 139 of file a2065.h.

#define LE_T1_POK   0x03 /* Packet is complete: SOP + EOP */

Definition at line 147 of file a2065.h.

#define LE_T1_RES
Value:
0x20 /* Reserved,
LANCE writes this with a zero */

Definition at line 141 of file a2065.h.

#define LE_T1_SOP   0x02 /* Start of Packet */

Definition at line 145 of file a2065.h.

#define LE_T3_BUF   0x8000 /* Buffer Error */

Definition at line 154 of file a2065.h.

#define LE_T3_CLOS   0x0800 /* Loss of Carrier */

Definition at line 157 of file a2065.h.

#define LE_T3_LCOL   0x1000 /* Late Collision */

Definition at line 156 of file a2065.h.

#define LE_T3_RTY   0x0400 /* Retry Error */

Definition at line 158 of file a2065.h.

#define LE_T3_TDR   0x03ff /* Time Domain Reflectometry */

Definition at line 159 of file a2065.h.

#define LE_T3_UFL   0x4000 /* Underflow Error */

Definition at line 155 of file a2065.h.