Fix reversed definitions for the bits that select half vs. full duplex.

Submitted by:	Darren Croke <djc@packetdesign.com>
This commit is contained in:
Archie Cobbs 2002-01-10 18:06:41 +00:00
parent 45a3e7b196
commit 4fc53c229d

View File

@ -61,16 +61,16 @@
#define XMPHY_ANAR_ACK 0x4000 /* Next page or base received */
#define XMPHY_ANAR_RFBITS 0x3000 /* Remote fault bits */
#define XMPHY_ANAR_PAUSEBITS 0x0180 /* Pause bits */
#define XMPHY_ANAR_FDX 0x0040 /* Select full duplex */
#define XMPHY_ANAR_HDX 0x0020 /* Select half duplex */
#define XMPHY_ANAR_HDX 0x0040 /* Select half duplex */
#define XMPHY_ANAR_FDX 0x0020 /* Select full duplex */
#define XMPHY_MII_ANLPAR 0x05
#define XMPHY_ANLPAR_NP 0x8000 /* Next page */
#define XMPHY_ANLPAR_ACK 0x4000 /* Next page or base received */
#define XMPHY_ANLPAR_RFBITS 0x3000 /* Remote fault bits */
#define XMPHY_ANLPAR_PAUSEBITS 0x0180 /* Pause bits */
#define XMPHY_ANLPAR_FDX 0x0040 /* Select full duplex */
#define XMPHY_ANLPAR_HDX 0x0020 /* Select half duplex */
#define XMPHY_ANLPAR_HDX 0x0040 /* Select half duplex */
#define XMPHY_ANLPAR_FDX 0x0020 /* Select full duplex */
#define XMPHY_RF_OK 0x0000 /* No error -- link is good */
#define XMPHY_RF_LINKFAIL 0x1000 /* Link failure */