Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
smsc911x.h File Reference
#include <linux/phy.h>

Go to the source code of this file.

Data Structures

struct  smsc911x_platform_config
 

Macros

#define SMSC911X_IRQ_POLARITY_ACTIVE_LOW   0
 
#define SMSC911X_IRQ_POLARITY_ACTIVE_HIGH   1
 
#define SMSC911X_IRQ_TYPE_OPEN_DRAIN   0
 
#define SMSC911X_IRQ_TYPE_PUSH_PULL   1
 
#define SMSC911X_USE_16BIT   (BIT(0))
 
#define SMSC911X_USE_32BIT   (BIT(1))
 
#define SMSC911X_FORCE_INTERNAL_PHY   (BIT(2))
 
#define SMSC911X_FORCE_EXTERNAL_PHY   (BIT(3))
 
#define SMSC911X_SAVE_MAC_ADDRESS   (BIT(4))
 
#define SMSC911X_SWAP_FIFO   (BIT(5))
 

Macro Definition Documentation

#define SMSC911X_FORCE_EXTERNAL_PHY   (BIT(3))

Definition at line 49 of file smsc911x.h.

#define SMSC911X_FORCE_INTERNAL_PHY   (BIT(2))

Definition at line 48 of file smsc911x.h.

#define SMSC911X_IRQ_POLARITY_ACTIVE_HIGH   1

Definition at line 39 of file smsc911x.h.

#define SMSC911X_IRQ_POLARITY_ACTIVE_LOW   0

Definition at line 38 of file smsc911x.h.

#define SMSC911X_IRQ_TYPE_OPEN_DRAIN   0

Definition at line 42 of file smsc911x.h.

#define SMSC911X_IRQ_TYPE_PUSH_PULL   1

Definition at line 43 of file smsc911x.h.

#define SMSC911X_SAVE_MAC_ADDRESS   (BIT(4))

Definition at line 50 of file smsc911x.h.

#define SMSC911X_SWAP_FIFO   (BIT(5))

Definition at line 60 of file smsc911x.h.

#define SMSC911X_USE_16BIT   (BIT(0))

Definition at line 46 of file smsc911x.h.

#define SMSC911X_USE_32BIT   (BIT(1))

Definition at line 47 of file smsc911x.h.