Changeset 517


Ignore:
Timestamp:
Aug 27, 2018, 4:19:04 AM (6 years ago)
Author:
viala@…
Message:

Revert rev515. I introduced a problem.

The fact is that entry is initialized but we make a lot of if.
This is really misleading and quite ineficient.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/kernel_init.c

    r515 r517  
    476476                    if((func==DEV_FUNC_NIC) && (rx==0)) entry  = &chdev_dir.nic_tx[channel];
    477477                    if((func==DEV_FUNC_NIC) && (rx==1)) entry  = &chdev_dir.nic_rx[channel];
    478                     else { assert( false, "Unknown functional device type."); }
    479478
    480479                    for( x = 0 ; x < info->x_size ; x++ )
Note: See TracChangeset for help on using the changeset viewer.