Changeset 01a9ef5 in mainline for uspace/srv/net/net/net_standalone.c


Ignore:
Timestamp:
2010-02-16T18:11:00Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
209faf9, bfd7aac
Parents:
80ce111
Message:

+ net configuration files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/net/net_standalone.c

    r80ce111 r01a9ef5  
    7575}
    7676
    77 int read_netif_configuration_build( char * name, netif_ref netif ){
    78         ERROR_DECLARE;
    79 
    80         if( str_lcmp( name, "lo", 2 ) == 0 ){
    81                 ERROR_PROPAGATE( add_configuration( & netif->configuration, "NIL", NILDUMMY_NAME ));
    82         }else if( str_lcmp( name, "ne2k", 4 ) == 0 ){
    83                 ERROR_PROPAGATE( add_configuration( & netif->configuration, "NIL", ETHERNET_NAME ));
    84         }
    85         return EOK;
    86 }
    87 
    8877/** @}
    8978 */
Note: See TracChangeset for help on using the changeset viewer.