]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/eepro100.c
drivers/fsl-mc: Changed MC firmware loading for new boot architecture
[karo-tx-uboot.git] / drivers / net / eepro100.c
index 1e4ea0c8927ee76a022af346fb08eded21b57bb5..f2cd32c548d86fc175520b9436c55032b2aaa79f 100644 (file)
@@ -230,7 +230,7 @@ static int eepro100_send(struct eth_device *dev, void *packet, int length);
 static int eepro100_recv (struct eth_device *dev);
 static void eepro100_halt (struct eth_device *dev);
 
-#if defined(CONFIG_E500) || defined(CONFIG_DB64360) || defined(CONFIG_DB64460)
+#if defined(CONFIG_E500)
 #define bus_to_phys(a) (a)
 #define phys_to_bus(a) (a)
 #else
@@ -674,7 +674,8 @@ static int eepro100_recv (struct eth_device *dev)
                        /* Pass the packet up to the protocol
                         * layers.
                         */
-                       NetReceive((u8 *)rx_ring[rx_next].data, length);
+                       net_process_received_packet((u8 *)rx_ring[rx_next].data,
+                                                   length);
                } else {
                        /* There was an error.
                         */