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

Go to the source code of this file.

Data Structures

struct  net_local
 

Macros

#define EL1_IO_EXTENT   16
 
#define EL_DEBUG   0 /* use 0 for production, 1 for devel., >2 for debug */
 
#define debug   el_debug
 
#define RX_STATUS   (ioaddr + 0x06)
 
#define RX_CMD   RX_STATUS
 
#define TX_STATUS   (ioaddr + 0x07)
 
#define TX_CMD   TX_STATUS
 
#define GP_LOW   (ioaddr + 0x08)
 
#define GP_HIGH   (ioaddr + 0x09)
 
#define RX_BUF_CLR   (ioaddr + 0x0A)
 
#define RX_LOW   (ioaddr + 0x0A)
 
#define RX_HIGH   (ioaddr + 0x0B)
 
#define SAPROM   (ioaddr + 0x0C)
 
#define AX_STATUS   (ioaddr + 0x0E)
 
#define AX_CMD   AX_STATUS
 
#define DATAPORT   (ioaddr + 0x0F)
 
#define TX_RDY   0x08 /* In TX_STATUS */
 
#define EL1_DATAPTR   0x08
 
#define EL1_RXPTR   0x0A
 
#define EL1_SAPROM   0x0C
 
#define EL1_DATAPORT   0x0f
 
#define AX_OFF   0x00 /* Irq off, buffer access on */
 
#define AX_SYS   0x40 /* Load the buffer */
 
#define AX_XMIT   0x44 /* Transmit a packet */
 
#define AX_RX   0x48 /* Receive a packet */
 
#define AX_LOOP   0x0C /* Loopback mode */
 
#define AX_RESET   0x80
 
#define RX_NORM   0xA8 /* 0x68 == all addrs, 0xA8 only to me. */
 
#define RX_PROM   0x68 /* Senior Prom, uhmm promiscuous mode. */
 
#define RX_MULT   0xE8 /* Accept multicast packets. */
 
#define TX_NORM   0x0A /* Interrupt on everything that might hang the chip */
 
#define TX_COLLISION   0x02
 
#define TX_16COLLISIONS   0x04
 
#define TX_READY   0x08
 
#define RX_RUNT   0x08
 
#define RX_MISSED   0x01 /* Missed a packet due to 3c501 braindamage. */
 
#define RX_GOOD   0x30 /* Good packet 0x20, or simple overflow 0x10. */
 

Macro Definition Documentation

#define AX_CMD   AX_STATUS

Definition at line 50 of file 3c501.h.

#define AX_LOOP   0x0C /* Loopback mode */

Definition at line 67 of file 3c501.h.

#define AX_OFF   0x00 /* Irq off, buffer access on */

Definition at line 63 of file 3c501.h.

#define AX_RESET   0x80

Definition at line 68 of file 3c501.h.

#define AX_RX   0x48 /* Receive a packet */

Definition at line 66 of file 3c501.h.

#define AX_STATUS   (ioaddr + 0x0E)

Definition at line 49 of file 3c501.h.

#define AX_SYS   0x40 /* Load the buffer */

Definition at line 64 of file 3c501.h.

#define AX_XMIT   0x44 /* Transmit a packet */

Definition at line 65 of file 3c501.h.

#define DATAPORT   (ioaddr + 0x0F)

Definition at line 51 of file 3c501.h.

#define debug   el_debug

Definition at line 22 of file 3c501.h.

#define EL1_DATAPORT   0x0f

Definition at line 57 of file 3c501.h.

#define EL1_DATAPTR   0x08

Definition at line 54 of file 3c501.h.

#define EL1_IO_EXTENT   16

Definition at line 17 of file 3c501.h.

#define EL1_RXPTR   0x0A

Definition at line 55 of file 3c501.h.

#define EL1_SAPROM   0x0C

Definition at line 56 of file 3c501.h.

#define EL_DEBUG   0 /* use 0 for production, 1 for devel., >2 for debug */

Definition at line 20 of file 3c501.h.

#define GP_HIGH   (ioaddr + 0x09)

Definition at line 44 of file 3c501.h.

#define GP_LOW   (ioaddr + 0x08)

Definition at line 43 of file 3c501.h.

#define RX_BUF_CLR   (ioaddr + 0x0A)

Definition at line 45 of file 3c501.h.

#define RX_CMD   RX_STATUS

Definition at line 40 of file 3c501.h.

#define RX_GOOD   0x30 /* Good packet 0x20, or simple overflow 0x10. */

Definition at line 90 of file 3c501.h.

#define RX_HIGH   (ioaddr + 0x0B)

Definition at line 47 of file 3c501.h.

#define RX_LOW   (ioaddr + 0x0A)

Definition at line 46 of file 3c501.h.

#define RX_MISSED   0x01 /* Missed a packet due to 3c501 braindamage. */

Definition at line 89 of file 3c501.h.

#define RX_MULT   0xE8 /* Accept multicast packets. */

Definition at line 77 of file 3c501.h.

#define RX_NORM   0xA8 /* 0x68 == all addrs, 0xA8 only to me. */

Definition at line 75 of file 3c501.h.

#define RX_PROM   0x68 /* Senior Prom, uhmm promiscuous mode. */

Definition at line 76 of file 3c501.h.

#define RX_RUNT   0x08

Definition at line 88 of file 3c501.h.

#define RX_STATUS   (ioaddr + 0x06)

Definition at line 39 of file 3c501.h.

#define SAPROM   (ioaddr + 0x0C)

Definition at line 48 of file 3c501.h.

#define TX_16COLLISIONS   0x04

Definition at line 85 of file 3c501.h.

#define TX_CMD   TX_STATUS

Definition at line 42 of file 3c501.h.

#define TX_COLLISION   0x02

Definition at line 84 of file 3c501.h.

#define TX_NORM   0x0A /* Interrupt on everything that might hang the chip */

Definition at line 78 of file 3c501.h.

#define TX_RDY   0x08 /* In TX_STATUS */

Definition at line 52 of file 3c501.h.

#define TX_READY   0x08

Definition at line 86 of file 3c501.h.

#define TX_STATUS   (ioaddr + 0x07)

Definition at line 41 of file 3c501.h.