Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | mii_phy_ops |
struct | mii_phy_def |
struct | mii_phy |
Enumerations | |
enum | { BCM54XX_COPPER, BCM54XX_FIBER, BCM54XX_GBIC, BCM54XX_SGMII, BCM54XX_UNKNOWN } |
Functions | |
int | sungem_phy_probe (struct mii_phy *phy, int mii_id) |
#define BMCR_SPD2 0x0040 /* Gigabit enable (bcm54xx) */ |
Definition at line 69 of file sungem_phy.h.
#define LPA_PAUSE 0x0400 |
Definition at line 70 of file sungem_phy.h.
#define MII_1000BASETCONTROL 0x09 |
Definition at line 113 of file sungem_phy.h.
#define MII_1000BASETCONTROL_FULLDUPLEXCAP 0x0200 |
Definition at line 114 of file sungem_phy.h.
#define MII_1000BASETCONTROL_HALFDUPLEXCAP 0x0100 |
Definition at line 115 of file sungem_phy.h.
#define MII_BCM5201_AUXMODE2 0x1B |
Definition at line 78 of file sungem_phy.h.
#define MII_BCM5201_AUXMODE2_LOWPOWER 0x0008 |
Definition at line 79 of file sungem_phy.h.
#define MII_BCM5201_INTERRUPT 0x1A |
Definition at line 75 of file sungem_phy.h.
#define MII_BCM5201_INTERRUPT_INTENABLE 0x4000 |
Definition at line 76 of file sungem_phy.h.
#define MII_BCM5201_MULTIPHY 0x1E |
Definition at line 81 of file sungem_phy.h.
#define MII_BCM5201_MULTIPHY_SERIALMODE 0x0002 |
Definition at line 84 of file sungem_phy.h.
#define MII_BCM5201_MULTIPHY_SUPERISOLATE 0x0008 |
Definition at line 85 of file sungem_phy.h.
#define MII_BCM5221_SHDOW_AUX_MODE4 0x1a |
Definition at line 92 of file sungem_phy.h.
#define MII_BCM5221_SHDOW_AUX_MODE4_CLKLOPWR 0x0004 |
Definition at line 94 of file sungem_phy.h.
#define MII_BCM5221_SHDOW_AUX_MODE4_IDDQMODE 0x0001 |
Definition at line 93 of file sungem_phy.h.
#define MII_BCM5221_SHDOW_AUX_STAT2 0x1b |
Definition at line 90 of file sungem_phy.h.
#define MII_BCM5221_SHDOW_AUX_STAT2_APD 0x0020 |
Definition at line 91 of file sungem_phy.h.
#define MII_BCM5221_TEST 0x1f |
Definition at line 88 of file sungem_phy.h.
#define MII_BCM5221_TEST_ENABLE_SHADOWS 0x0080 |
Definition at line 89 of file sungem_phy.h.
#define MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR 0x0008 |
Definition at line 97 of file sungem_phy.h.
#define MII_BCM5400_AUXCONTROL 0x18 |
Definition at line 104 of file sungem_phy.h.
#define MII_BCM5400_AUXCONTROL_PWR10BASET 0x0004 |
Definition at line 105 of file sungem_phy.h.
#define MII_BCM5400_AUXSTATUS 0x19 |
Definition at line 108 of file sungem_phy.h.
#define MII_BCM5400_AUXSTATUS_LINKMODE_MASK 0x0700 |
Definition at line 109 of file sungem_phy.h.
#define MII_BCM5400_AUXSTATUS_LINKMODE_SHIFT 8 |
Definition at line 110 of file sungem_phy.h.
#define MII_BCM5400_GB_CONTROL 0x09 |
Definition at line 100 of file sungem_phy.h.
#define MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP 0x0200 |
Definition at line 101 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_CONTROL 0x10 |
Definition at line 118 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX 0x40 |
Definition at line 120 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX 0x20 |
Definition at line 119 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS 0x11 |
Definition at line 123 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_100 0x4000 |
Definition at line 125 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_1000 0x8000 |
Definition at line 124 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_FULLDUPLEX 0x2000 |
Definition at line 127 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_RESOLVED 0x0800 |
Definition at line 128 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_RX_PAUSE 0x0004 |
Definition at line 130 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_SPD_MASK 0xc000 |
Definition at line 126 of file sungem_phy.h.
#define MII_M1011_PHY_SPEC_STATUS_TX_PAUSE 0x0008 |
Definition at line 129 of file sungem_phy.h.
anonymous enum |
Definition at line 29 of file sungem_phy.h.