merge slip? on ocp enet
I don't know if this is the correct patch, but as it is now it doesn't compile. With this fix I did test out the driver and it works ok, but there could be some other problems that slipped through.
What are the plans for find_emac_isr? It just adds somes warnings to the compile now.
===== ibm_ocp_enet.c 1.28 vs edited =====
ibm_ocp_enet.c renamed from drivers/net/ibm_ocp/ibm_ocp_enet.c +5 -6
@@ -1178,17 +1178,16 @@disable_irq (irq_resource[0 ][BL_MAL_RXDE ].irq); -/* This determines which emac is sending the interrupt */ +for (i =0 ; i < emac_dev_count; i++) { + dev = emac_dev[i]; + fep = dev->priv; + +/* This determines which emac is sending the interrupt */ if (! (get_mal_dcrn (DCRN_MALRXEOBISR (fep->mal)) & emac_rx_mask[fep->emac_num])) {continue ; } -for (i =0 ; i < emac_dev_count; i++) { - dev = emac_dev[i]; - fep = dev->priv; - -set_mal_dcrn (DCRN_MALRXEOBISR (fep->mal), emac_rx_mask[fep->emac_num]);