mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 07:50:43 +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
@@ -812,6 +812,9 @@ static int exanic_probe ( struct pci_device *pci ) {
|
||||
/* Read capabilities */
|
||||
exanic->caps = readl ( exanic->regs + EXANIC_CAPS );
|
||||
|
||||
/* Power up PHYs */
|
||||
writel ( EXANIC_POWER_ON, ( exanic->regs + EXANIC_POWER ) );
|
||||
|
||||
/* Fetch base MAC address */
|
||||
if ( ( rc = exanic_fetch_mac ( exanic ) ) != 0 )
|
||||
goto err_fetch_mac;
|
||||
|
||||
Reference in New Issue
Block a user