15#define MII_BIT_START 0xffffffff
16#define MII_BIT_START_MASK 0x80000000
18#define MII_BIT_CMD_MASK 0x00000008
19#define MII_BIT_CMD_READ 0x00000006
20#define MII_BIT_CMD_WRITE 0x00000005
21#define MII_BIT_CMD_RW 0x00000001
23#define MII_BIT_PHY_MASK 0x00000010
25#define MII_BIT_REG_MASK 0x00000010
27#define MII_BIT_SWITCH 0x00000002
28#define MII_BIT_SWITCH_MASK 0x00000002
30#define MII_BIT_DATA_MASK 0x00008000
51#define MII_BIT_UDELAY 1
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Media Independent Interface.
void init_mii_bit_basher(struct mii_bit_basher *miibit)
Initialise bit-bashing interface.
@ MII_BIT_DRIVE
MII data direction.
A bit-bashing MII interface.
struct bit_basher basher
Bit-bashing interface.
struct mii_interface mdio
MII interface.