Davicom DM9161A
[AT91 Support]

Collaboration diagram for Davicom DM9161A:

Detailed Description

Davicom DM9161A registers.


Defines

#define NIC_PHY_BMCR   0x00
 Basic mode control register.
#define NIC_PHY_BMCR_COLTEST   0x0080
 Collision test.
#define NIC_PHY_BMCR_FDUPLEX   0x0100
 Full duplex mode.
#define NIC_PHY_BMCR_ANEGSTART   0x0200
 Restart auto negotiation.
#define NIC_PHY_BMCR_ISOLATE   0x0400
 Isolate from MII.
#define NIC_PHY_BMCR_PWRDN   0x0800
 Power-down.
#define NIC_PHY_BMCR_ANEGENA   0x1000
 Enable auto negotiation.
#define NIC_PHY_BMCR_100MBPS   0x2000
 Select 100 Mbps.
#define NIC_PHY_BMCR_LOOPBACK   0x4000
 Enable loopback mode.
#define NIC_PHY_BMCR_RESET   0x8000
 Software reset.
#define NIC_PHY_BMSR   0x01
 Basic mode status register.
#define NIC_PHY_BMSR_ANCOMPL   0x0020
 Auto negotiation complete.
#define NIC_PHY_BMSR_LINKSTAT   0x0004
 Link status.
#define NIC_PHY_ID1   0x02
 PHY identifier register 1.
#define NIC_PHY_ID2   0x03
 PHY identifier register 2.
#define NIC_PHY_ANAR   0x04
 Auto negotiation advertisement register.
#define NIC_PHY_ANLPAR   0x05
 Auto negotiation link partner availability register.
#define NIC_PHY_ANEG_NP   0x8000
 Next page available.
#define NIC_PHY_ANEG_ACK   0x4000
 Ability data reception acknowledged.
#define NIC_PHY_ANEG_RF   0x2000
 Remote fault.
#define NIC_PHY_ANEG_FCS   0x0400
 Flow control supported.
#define NIC_PHY_ANEG_T4   0x0200
 100BASE-T4 supported.
#define NIC_PHY_ANEG_TX_FDX   0x0100
 100BASE-T full duplex supported.
#define NIC_PHY_ANEG_TX_HDX   0x0080
 100BASE-T half duplex supported.
#define NIC_PHY_ANEG_10_FDX   0x0040
 10BASE-T full duplex supported.
#define NIC_PHY_ANEG_10_HDX   0x0020
 10BASE-T half duplex supported.
#define NIC_PHY_ANEG_BINSEL   0x001F
 Binary encoded protocol selector.
#define NIC_PHY_ANER   0x06
 Auto negotiation expansion register.


Define Documentation

#define NIC_PHY_BMCR   0x00

Basic mode control register.

Definition at line 137 of file at91_emac.c.

#define NIC_PHY_BMCR_COLTEST   0x0080

Collision test.

Definition at line 138 of file at91_emac.c.

#define NIC_PHY_BMCR_FDUPLEX   0x0100

Full duplex mode.

Definition at line 139 of file at91_emac.c.

#define NIC_PHY_BMCR_ANEGSTART   0x0200

Restart auto negotiation.

Definition at line 140 of file at91_emac.c.

#define NIC_PHY_BMCR_ISOLATE   0x0400

Isolate from MII.

Definition at line 141 of file at91_emac.c.

#define NIC_PHY_BMCR_PWRDN   0x0800

Power-down.

Definition at line 142 of file at91_emac.c.

#define NIC_PHY_BMCR_ANEGENA   0x1000

Enable auto negotiation.

Definition at line 143 of file at91_emac.c.

#define NIC_PHY_BMCR_100MBPS   0x2000

Select 100 Mbps.

Definition at line 144 of file at91_emac.c.

#define NIC_PHY_BMCR_LOOPBACK   0x4000

Enable loopback mode.

Definition at line 145 of file at91_emac.c.

#define NIC_PHY_BMCR_RESET   0x8000

Software reset.

Definition at line 146 of file at91_emac.c.

#define NIC_PHY_BMSR   0x01

Basic mode status register.

Definition at line 148 of file at91_emac.c.

#define NIC_PHY_BMSR_ANCOMPL   0x0020

Auto negotiation complete.

Definition at line 149 of file at91_emac.c.

#define NIC_PHY_BMSR_LINKSTAT   0x0004

Link status.

Definition at line 150 of file at91_emac.c.

#define NIC_PHY_ID1   0x02

PHY identifier register 1.

Definition at line 152 of file at91_emac.c.

#define NIC_PHY_ID2   0x03

PHY identifier register 2.

Definition at line 153 of file at91_emac.c.

#define NIC_PHY_ANAR   0x04

Auto negotiation advertisement register.

Definition at line 154 of file at91_emac.c.

#define NIC_PHY_ANLPAR   0x05

Auto negotiation link partner availability register.

Definition at line 155 of file at91_emac.c.

#define NIC_PHY_ANEG_NP   0x8000

Next page available.

Definition at line 156 of file at91_emac.c.

#define NIC_PHY_ANEG_ACK   0x4000

Ability data reception acknowledged.

Definition at line 157 of file at91_emac.c.

#define NIC_PHY_ANEG_RF   0x2000

Remote fault.

Definition at line 158 of file at91_emac.c.

#define NIC_PHY_ANEG_FCS   0x0400

Flow control supported.

Definition at line 159 of file at91_emac.c.

#define NIC_PHY_ANEG_T4   0x0200

100BASE-T4 supported.

Definition at line 160 of file at91_emac.c.

#define NIC_PHY_ANEG_TX_FDX   0x0100

100BASE-T full duplex supported.

Definition at line 161 of file at91_emac.c.

#define NIC_PHY_ANEG_TX_HDX   0x0080

100BASE-T half duplex supported.

Definition at line 162 of file at91_emac.c.

#define NIC_PHY_ANEG_10_FDX   0x0040

10BASE-T full duplex supported.

Definition at line 163 of file at91_emac.c.

#define NIC_PHY_ANEG_10_HDX   0x0020

10BASE-T half duplex supported.

Definition at line 164 of file at91_emac.c.

#define NIC_PHY_ANEG_BINSEL   0x001F

Binary encoded protocol selector.

Definition at line 165 of file at91_emac.c.

#define NIC_PHY_ANER   0x06

Auto negotiation expansion register.

Definition at line 167 of file at91_emac.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/