net: add DP83848C constants
This commit is contained in:
parent
8f36649aad
commit
eaa5f9ab4e
1 changed files with 7 additions and 0 deletions
|
|
@ -810,12 +810,19 @@
|
|||
|
||||
/* DP83848C-specific register bit settings **********************************/
|
||||
|
||||
/* DP83848C Register 0x10: PHY Status */
|
||||
|
||||
#define MII_DP83848C_PHYSTS_SPEED (1 << 1) /* Bit 1: Speed Status Register */
|
||||
#define MII_DP83848C_PHYSTS_DUPLEX (1 << 2) /* Bit 2: Duplex Status Register */
|
||||
|
||||
/* DP83848C Register 0x11: Interrupt control/status */
|
||||
|
||||
#define MII_DP83848C_INT_TEST (1 << 2) /* Test Interrupt */
|
||||
#define MII_DP83848C_INT_EN (1 << 1) /* Interrupt enable */
|
||||
#define MII_DP83848C_INT_OEN (1 << 0) /* Interrupt output enable */
|
||||
|
||||
/* DP83848C Register 0x12: Interrupt control/status */
|
||||
|
||||
#define MII_DP83848C_ED_INT (1 << 14) /* Energy Detect interrupt: */
|
||||
#define MII_DP83848C_LINK_INT (1 << 13) /* Change of Link Status interrupt: */
|
||||
#define MII_DP83848C_SPD_INT (1 << 12) /* Change of speed status interrupt: */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue