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

Go to the source code of this file.

Data Structures

struct  smc91x_platdata
 

Macros

#define SMC91X_USE_8BIT   (1 << 0)
 
#define SMC91X_USE_16BIT   (1 << 1)
 
#define SMC91X_USE_32BIT   (1 << 2)
 
#define SMC91X_NOWAIT   (1 << 3)
 
#define SMC91X_IO_SHIFT_0   (0 << 4)
 
#define SMC91X_IO_SHIFT_1   (1 << 4)
 
#define SMC91X_IO_SHIFT_2   (2 << 4)
 
#define SMC91X_IO_SHIFT_3   (3 << 4)
 
#define SMC91X_IO_SHIFT(x)   (((x) >> 4) & 0x3)
 
#define SMC91X_USE_DMA   (1 << 6)
 
#define RPC_LED_100_10   (0x00) /* LED = 100Mbps OR's with 10Mbps link detect */
 
#define RPC_LED_RES   (0x01) /* LED = Reserved */
 
#define RPC_LED_10   (0x02) /* LED = 10Mbps link detect */
 
#define RPC_LED_FD   (0x03) /* LED = Full Duplex Mode */
 
#define RPC_LED_TX_RX   (0x04) /* LED = TX or RX packet occurred */
 
#define RPC_LED_100   (0x05) /* LED = 100Mbps link detect */
 
#define RPC_LED_TX   (0x06) /* LED = TX packet occurred */
 
#define RPC_LED_RX   (0x07) /* LED = RX packet occurred */
 

Macro Definition Documentation

#define RPC_LED_10   (0x02) /* LED = 10Mbps link detect */

Definition at line 21 of file smc91x.h.

#define RPC_LED_100   (0x05) /* LED = 100Mbps link detect */

Definition at line 24 of file smc91x.h.

#define RPC_LED_100_10   (0x00) /* LED = 100Mbps OR's with 10Mbps link detect */

Definition at line 19 of file smc91x.h.

#define RPC_LED_FD   (0x03) /* LED = Full Duplex Mode */

Definition at line 22 of file smc91x.h.

#define RPC_LED_RES   (0x01) /* LED = Reserved */

Definition at line 20 of file smc91x.h.

#define RPC_LED_RX   (0x07) /* LED = RX packet occurred */

Definition at line 26 of file smc91x.h.

#define RPC_LED_TX   (0x06) /* LED = TX packet occurred */

Definition at line 25 of file smc91x.h.

#define RPC_LED_TX_RX   (0x04) /* LED = TX or RX packet occurred */

Definition at line 23 of file smc91x.h.

#define SMC91X_IO_SHIFT (   x)    (((x) >> 4) & 0x3)

Definition at line 15 of file smc91x.h.

#define SMC91X_IO_SHIFT_0   (0 << 4)

Definition at line 11 of file smc91x.h.

#define SMC91X_IO_SHIFT_1   (1 << 4)

Definition at line 12 of file smc91x.h.

#define SMC91X_IO_SHIFT_2   (2 << 4)

Definition at line 13 of file smc91x.h.

#define SMC91X_IO_SHIFT_3   (3 << 4)

Definition at line 14 of file smc91x.h.

#define SMC91X_NOWAIT   (1 << 3)

Definition at line 8 of file smc91x.h.

#define SMC91X_USE_16BIT   (1 << 1)

Definition at line 5 of file smc91x.h.

#define SMC91X_USE_32BIT   (1 << 2)

Definition at line 6 of file smc91x.h.

#define SMC91X_USE_8BIT   (1 << 0)

Definition at line 4 of file smc91x.h.

#define SMC91X_USE_DMA   (1 << 6)

Definition at line 17 of file smc91x.h.