]> git.sur5r.net Git - u-boot/blobdiff - drivers/lan91c96.c
OMAP242x H4 board update
[u-boot] / drivers / lan91c96.c
index 032f9780af4b284c1c538d3ec6756a86c253d6e2..bb03dae39c40722d0a03cf6001194caef8529d6d 100644 (file)
@@ -139,7 +139,9 @@ extern int eth_init (bd_t * bd);
 extern void eth_halt (void);
 extern int eth_rx (void);
 extern int eth_send (volatile void *packet, int length);
+#if 0
 static int smc_hw_init (void);
+#endif
 
 /*
  * This is called by  register_netdev().  It is responsible for
@@ -620,7 +622,7 @@ static int smc_open (bd_t *bd)
                address |= smc_mac_addr[i];
                SMC_outw (address, LAN91C96_IA0 + i);
        }
-#else 
+#else
        for (i = 0; i < 6; i++)
                SMC_outb (smc_mac_addr[i], LAN91C96_IA0 + i);
 #endif
@@ -817,6 +819,7 @@ int eth_send (volatile void *packet, int length)
 }
 
 
+#if 0
 /*-------------------------------------------------------------------------
  * smc_hw_init()
  *
@@ -860,6 +863,7 @@ static int smc_hw_init ()
        }
        return 0;
 }
+#endif /* 0 */
 
 #endif /* COMMANDS & CFG_NET */
 
@@ -937,7 +941,7 @@ int smc_get_ethaddr (bd_t * bd)
        return (0);
 }
 
-/* 
+/*
  * get_rom_mac()
  * Note, this has omly been tested for the OMAP730 P2.
  */
@@ -960,6 +964,4 @@ int get_rom_mac (char *v_rom_mac)
 #endif
 }
 
-
-
 #endif /* CONFIG_DRIVER_LAN91C96 */