This commit is contained in:
root 2011-06-21 00:11:27 +02:00
parent a2605f2784
commit 5fdb3cb778

View file

@ -814,7 +814,6 @@ err_t mmnif_init(struct netif* netif)
static int num = 0;
uint16_t speed = 4000;
DEBUGPRINTF("BARBARBARBARBARBARBARBARBARBARBARBARBAR");
/* Alloc and clear memory for the device struct
*/
@ -830,6 +829,8 @@ err_t mmnif_init(struct netif* netif)
}
memset(mmnif, 0, sizeof(mmnif_t));
DEBUGPRINTF("BARBARBARBARBARBARBARBARBARBARBARBARBAR");
/* Alloc and clear shared memory for rx_buff
*/
mmnif->rx_buff = mmnif_shmalloc((sizeof(mm_rx_buffer_t) + MMNIF_RX_QUEUELEN * MMNIF_RX_BUFFERLEN) * (MMNIF_CORES-1));