diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-11 22:44:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-11 22:44:04 +0000 |
commit | 16a217cd260c1274fbe26c1c59f6aac5d00daf18 (patch) | |
tree | b4fa22dce15cf9099255516a0219846c343d4907 /nuttx/include | |
parent | 9286a8bdee7ba3e095b470226c70123933b00bc6 (diff) | |
download | px4-nuttx-16a217cd260c1274fbe26c1c59f6aac5d00daf18.tar.gz px4-nuttx-16a217cd260c1274fbe26c1c59f6aac5d00daf18.tar.bz2 px4-nuttx-16a217cd260c1274fbe26c1c59f6aac5d00daf18.zip |
Add gmii
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3099 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/mii.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/nuttx/include/nuttx/mii.h b/nuttx/include/nuttx/mii.h index 10e235fda..0fa788588 100644 --- a/nuttx/include/nuttx/mii.h +++ b/nuttx/include/nuttx/mii.h @@ -110,11 +110,20 @@ #define MII_KS8721_INTCS 0x1b /* Interrupt control/status register */ #define MII_KS8721_10BTCR 0x1f /* 10BASE-TX PHY control register */ -/* */ - -#define MII_CTRL1000 0x09 /* 1000BASE-T control */ -#define MII_STAT1000 0x0a /* 1000BASE-T status */ -#define MII_NCONFIG 0x1c /* Network interface config */ +/* GMII */ + +#define GMII_MCR MII_MCR /* GMII management control */ +#define GMII_MSR MII_MSR /* GMII management status */ +#define GMII_PHYID1 MII_PHYID1 /* PHY ID 1 */ +#define GMII_PHYID2 MII_PHYID2 /* PHY ID 2 */ +#define GMII_ADVERTISE MII_ADVERTISE /* Auto-negotiation advertisement */ +#define GMII_LPA MII_LPA /* Auto-negotiation link partner base page ability */ +#define GMII_EXPANSION MII_EXPANSION /* Auto-negotiation expansion */ +#define GMII_NEXTPAGE MII_NEXTPAGE /* Auto-negotiation next page */ +#define GMII_LPANEXTPAGE MII_LPANEXTPAGE /* Auto-negotiation link partner received next page */ +#define GMII_CTRL1000 0x09 /* 1000BASE-T control */ +#define GMII_STAT1000 0x0a /* 1000BASE-T status */ +#define GMII_ESTATUS MII_ESTATUS /* Extended status register */ /* MII register bit settings ************************************************/ |