]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/rarp.c
tpm: Move the I2C TPM code into one file
[karo-tx-uboot.git] / net / rarp.c
index 204e03cf28ae034ffff82ac802b9ebe695a5ad0f..4ce2f37a8a69c2b8ad70e3ea5e0f2605bf589bbc 100644 (file)
@@ -59,9 +59,9 @@ static void rarp_timeout_handler(void)
 {
        if (rarp_try >= TIMEOUT_COUNT) {
                puts("\nRetry count exceeded; starting again\n");
-               NetStartAgain();
+               net_start_again();
        } else {
-               NetSetTimeout(TIMEOUT, rarp_timeout_handler);
+               net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
                rarp_request();
        }
 }
@@ -95,5 +95,5 @@ void rarp_request(void)
 
        net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE);
 
-       NetSetTimeout(TIMEOUT, rarp_timeout_handler);
+       net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
 }