#ifndef __SUNGEM_PHY_H__
#define __SUNGEM_PHY_H__
#include <linux/types.h>
struct mii_phy;
struct mii_phy_ops
{ … };
struct mii_phy_def
{ … };
enum { … };
struct mii_phy
{ … };
extern int sungem_phy_probe(struct mii_phy *phy, int mii_id);
#define BMCR_SPD2 …
#define LPA_PAUSE …
#define MII_BCM5201_INTERRUPT …
#define MII_BCM5201_INTERRUPT_INTENABLE …
#define MII_BCM5201_AUXMODE2 …
#define MII_BCM5201_AUXMODE2_LOWPOWER …
#define MII_BCM5201_MULTIPHY …
#define MII_BCM5201_MULTIPHY_SERIALMODE …
#define MII_BCM5201_MULTIPHY_SUPERISOLATE …
#define MII_BCM5221_TEST …
#define MII_BCM5221_TEST_ENABLE_SHADOWS …
#define MII_BCM5221_SHDOW_AUX_STAT2 …
#define MII_BCM5221_SHDOW_AUX_STAT2_APD …
#define MII_BCM5221_SHDOW_AUX_MODE4 …
#define MII_BCM5221_SHDOW_AUX_MODE4_IDDQMODE …
#define MII_BCM5221_SHDOW_AUX_MODE4_CLKLOPWR …
#define MII_BCM5241_SHDOW_AUX_MODE4_STANDBYPWR …
#define MII_BCM5400_GB_CONTROL …
#define MII_BCM5400_GB_CONTROL_FULLDUPLEXCAP …
#define MII_BCM5400_AUXCONTROL …
#define MII_BCM5400_AUXCONTROL_PWR10BASET …
#define MII_BCM5400_AUXSTATUS …
#define MII_BCM5400_AUXSTATUS_LINKMODE_MASK …
#define MII_BCM5400_AUXSTATUS_LINKMODE_SHIFT …
#define MII_1000BASETCONTROL …
#define MII_1000BASETCONTROL_FULLDUPLEXCAP …
#define MII_1000BASETCONTROL_HALFDUPLEXCAP …
#define MII_M1011_PHY_SPEC_CONTROL …
#define MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX …
#define MII_M1011_PHY_SPEC_CONTROL_AUTO_MDIX …
#define MII_M1011_PHY_SPEC_STATUS …
#define MII_M1011_PHY_SPEC_STATUS_1000 …
#define MII_M1011_PHY_SPEC_STATUS_100 …
#define MII_M1011_PHY_SPEC_STATUS_SPD_MASK …
#define MII_M1011_PHY_SPEC_STATUS_FULLDUPLEX …
#define MII_M1011_PHY_SPEC_STATUS_RESOLVED …
#define MII_M1011_PHY_SPEC_STATUS_TX_PAUSE …
#define MII_M1011_PHY_SPEC_STATUS_RX_PAUSE …
#endif