diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-16 18:04:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-16 18:04:38 -0600 |
commit | bc49d73b00c70fc2e03a3e1151e96f6785c57ee4 (patch) | |
tree | a63338e88bedbca58570a4a6b4222cf681f387fe /nuttx/arch | |
parent | 1580fa6ac14875ed1f7099fc25ee5c56c8510279 (diff) | |
download | px4-nuttx-bc49d73b00c70fc2e03a3e1151e96f6785c57ee4.tar.gz px4-nuttx-bc49d73b00c70fc2e03a3e1151e96f6785c57ee4.tar.bz2 px4-nuttx-bc49d73b00c70fc2e03a3e1151e96f6785c57ee4.zip |
SAMA4 EMAC: Remove some editor garbage that ended up in the last commit
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_emac.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_emac.c b/nuttx/arch/arm/src/sama5/sam_emac.c index 108b18c4d..f56e6d681 100644 --- a/nuttx/arch/arm/src/sama5/sam_emac.c +++ b/nuttx/arch/arm/src/sama5/sam_emac.c @@ -2095,26 +2095,6 @@ static int sam_autonegotiate(struct sam_emac_s *priv) /* Set the Auto_negotiation Advertisement Register MII advertising for * Next page 100BaseTxFD and HD, 10BaseTFD and HD, IEEE 802.3 */ -#define MII_ADVERTISE_SELECT 0x001f /* Bits 0-4: Selector field */ -#define MII_ADVERTISE_CSMA (1 << 0) /* CSMA */ -#define MII_ADVERTISE_8023 (1 << 0) /* IEEE Std 802.3 */ -#define MII_ADVERTISE_8029 (2 << 0) /* IEEE Std 802.9 ISLAN-16T */ -#define MII_ADVERTISE_8025 (3 << 0) /* IEEE Std 802.5 */ -#define MII_ADVERTISE_1394 (4 << 0) /* IEEE Std 1394 */ -#define MII_ADVERTISE_10BASETXHALF (1 << 5) /* Bit 5: Try 10BASE-TX half duplex */ -#define MII_ADVERTISE_1000XFULL (1 << 5) /* Bit 5: Try 1000BASE-X full duplex */ -#define MII_ADVERTISE_10BASETXFULL (1 << 6) /* Bit 6: Try 10BASE-TX full duplex */ -#define MII_ADVERTISE_1000XHALF (1 << 6) /* Bit 6: Try 1000BASE-X half duplex */ -#define MII_ADVERTISE_100BASETXHALF (1 << 7) /* Bit 7: Try 100BASE-TX half duplex */ -#define MII_ADVERTISE_1000XPAUSE (1 << 7) /* Bit 7: Try 1000BASE-X pause */ -#define MII_ADVERTISE_100BASETXFULL (1 << 8) /* Bit 8: Try 100BASE-TX full duplex*/ -#define MII_ADVERTISE_1000XASYMPAU (1 << 8) /* Bit 8: Try 1000BASE-X asym pause */ -#define MII_ADVERTISE_100BASET4 (1 << 9) /* Bit 9: Try 100BASE-T4 */ -#define MII_ADVERTISE_FDXPAUSE (1 << 10) /* Bit 10: Try full duplex flow control */ -#define MII_ADVERTISE_ASYMPAUSE (1 << 11) /* Bit 11: Try asymetric pause */ -#define MII_ADVERTISE_RFAULT (1 << 13) /* Bit 13: Remote fault supported */ -#define MII_ADVERTISE_LPACK (1 << 14) /* Bit 14: Ack link partners response */ -#define MII_ADVERTISE_NXTPAGE (1 << 15) /* Bit 15: Next page enabled */ advertise = MII_ADVERTISE_100BASETXFULL | MII_ADVERTISE_100BASETXHALF | MII_ADVERTISE_10BASETXFULL | MII_ADVERTISE_10BASETXHALF | |