From c93861c733ced9c6659241cea69c7feed56afcce Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Wed, 20 Feb 2019 02:39:38 +0000 Subject: use OCXO, and auto fail-over between different clock sources --- app/steth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/steth.c') diff --git a/app/steth.c b/app/steth.c index 5ed11c7..2603725 100644 --- a/app/steth.c +++ b/app/steth.c @@ -101,7 +101,7 @@ static void phy_stat (void) phy_stat_reg (i); } -bool +static bool phy_link_an_done (uint8_t phy) { return eth_smi_read (PHY, PHY_REG_BSR) & PHY_REG_BSR_ANDONE; @@ -230,7 +230,7 @@ static void fucked_eth_init (uint8_t phy, enum eth_clk clock) #endif -void eth_reset (void) +static void eth_reset (void) { unsigned i; @@ -295,7 +295,7 @@ void eth_reset (void) } -void eth_start_an (void) +static void eth_start_an (void) { printf ("starting autonegociation\r\n"); eth_smi_write (PHY, PHY_REG_ANTX, 0x1e1); -- cgit v1.2.3