OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc2/] [or1ksim/] [peripheral/] [eth.c] - Diff between revs 705 and 723

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 705 Rev 723
Line 277... Line 277...
        }
        }
        else {
        else {
            nread = recv(eth->rtx_sock, eth->rx_buff, ETH_MAXPL, MSG_PEEK | MSG_DONTWAIT);
            nread = recv(eth->rtx_sock, eth->rx_buff, ETH_MAXPL, MSG_PEEK | MSG_DONTWAIT);
            if (nread > 0) {
            if (nread > 0) {
                SET_FLAG (eth->regs.int_source, ETH_INT_SOURCE, BUSY);
                SET_FLAG (eth->regs.int_source, ETH_INT_SOURCE, BUSY);
 
                if ( TEST_FLAG(eth->regs.int_mask, ETH_INT_MASK, BUSY_M) )
                report_interrupt(eth->mac_int);
                report_interrupt(eth->mac_int);
            }
            }
        }
        }
        break;
        break;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.