iPXE
|
MII bit-bashing interface. More...
Go to the source code of this file.
Data Structures | |
struct | mii_bit_basher |
A bit-bashing MII interface. More... | |
Macros | |
#define | MII_BIT_START 0xffffffff |
Start. More... | |
#define | MII_BIT_START_MASK 0x80000000 |
Start mask. More... | |
#define | MII_BIT_CMD_MASK 0x00000008 |
Command mask. More... | |
#define | MII_BIT_CMD_READ 0x00000006 |
Command read. More... | |
#define | MII_BIT_CMD_WRITE 0x00000005 |
Command write. More... | |
#define | MII_BIT_CMD_RW 0x00000001 |
Command read or write. More... | |
#define | MII_BIT_PHY_MASK 0x00000010 |
PHY mask. More... | |
#define | MII_BIT_REG_MASK 0x00000010 |
Register mask. More... | |
#define | MII_BIT_SWITCH 0x00000002 |
Switch. More... | |
#define | MII_BIT_SWITCH_MASK 0x00000002 |
Switch mask. More... | |
#define | MII_BIT_DATA_MASK 0x00008000 |
Data mask. More... | |
#define | MII_BIT_UDELAY 1 |
Delay between MDC transitions. More... | |
Enumerations | |
enum | { MII_BIT_MDC = 0, MII_BIT_MDIO, MII_BIT_DRIVE } |
Bit indices used for MII bit-bashing interface. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | init_mii_bit_basher (struct mii_bit_basher *miibit) |
Initialise bit-bashing interface. More... | |
MII bit-bashing interface.
Definition in file mii_bit.h.
anonymous enum |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void init_mii_bit_basher | ( | struct mii_bit_basher * | miibit | ) |
Initialise bit-bashing interface.
miibit | MII bit basher |
Definition at line 160 of file mii_bit.c.
References mii_bit_basher::mdio, mdio_init(), and mii_bit_op.
Referenced by icplus_probe().