updates memeory map to match RISCV-VP commit b8b1c23
This commit is contained in:
@@ -950,7 +950,7 @@ VOID _nx_mnrs_eth_recv_packet(UINT id, volatile ethmac_t* ethmac){
|
||||
from_mac.nx_mac_address_msw=(buffer[6]<<8) + buffer[7];
|
||||
from_mac.nx_mac_address_lsw=(buffer[8]<<24) + (buffer[9]<<16) + (buffer[10]<<8) + buffer[11];
|
||||
// find the diver instance belonging to our ethmac
|
||||
for(i=0; i<NX_MAX_MNRS_INTERFACES; ++i)
|
||||
for(i=0; i<NX_MAX_MNRS_INTERFACES; ++i) {
|
||||
if(nx_mnrs_driver[i].ethmac == ethmac)
|
||||
{
|
||||
ip_ptr = nx_mnrs_driver[i].nx_mnrs_driver_ip_ptr;
|
||||
@@ -995,7 +995,6 @@ VOID _nx_mnrs_eth_recv_packet(UINT id, volatile ethmac_t* ethmac){
|
||||
if (status)
|
||||
{
|
||||
nx_packet_release(packet_ptr);
|
||||
// _tx_thread_context_restore();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1055,6 +1054,7 @@ VOID _nx_mnrs_eth_recv_packet(UINT id, volatile ethmac_t* ethmac){
|
||||
nx_packet_release(packet_ptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
set_ethmac_mac_intr_rx_data_avail_intr_enable(ethmac, 1);
|
||||
}
|
||||
|
||||
@@ -1066,7 +1066,7 @@ VOID _nx_mnrs_eth_recv_packet_eth0(VOID){
|
||||
|
||||
VOID _nx_mnrs_eth_recv_packet_eth1(VOID){
|
||||
if(get_ethmac_mac_ctrl_rx_pending(ethmac1)) {
|
||||
_nx_mnrs_eth_recv_packet(1, ethmac1);
|
||||
_nx_mnrs_eth_recv_packet(1, ethmac1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user