mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[exanic] Power up optical PHYs (if present)
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
af02a8d071
commit
f756fd78f7
@@ -62,6 +62,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
/** I2C GPIO register */
|
||||
#define EXANIC_I2C 0x012c
|
||||
|
||||
/** Power control register */
|
||||
#define EXANIC_POWER 0x0138
|
||||
#define EXANIC_POWER_ON 0x000000f0UL /**< Power on PHYs */
|
||||
|
||||
/** Port register offset */
|
||||
#define EXANIC_PORT_REGS( index ) ( 0x0200 + ( 0x40 * (index) ) )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user