1 #ifndef _IPXE_MII_BIT_H 2 #define _IPXE_MII_BIT_H 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 struct mii_interface mdio
MII interface.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Media Independent Interface.
struct bit_basher basher
Bit-bashing interface.
A bit-bashing MII interface.
void init_mii_bit_basher(struct mii_bit_basher *miibit)
Initialise bit-bashing interface.