Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4349 → Rev 4350

/branches/network/uspace/srv/net/netif/netif.c
31,6 → 31,8
*/
 
/** @file
* Network interface module skeleton implementation.
* @see netif.h
*/
 
#include <async.h>
57,10 → 59,19
#include "netif_messages.h"
#include "netif_module.h"
 
/** Network interface module global data.
*/
extern netif_globals_t netif_globals;
 
DEVICE_MAP_IMPLEMENT( device_map, device_t )
 
/** Registers the device notification receiver, the network interface layer module.
* @param device_id The device identifier. Input parameter.
* @param phone The network interface layer module phone. Input parameter.
* @returns EOK on success.
* @returns ENOENT if there is no such device.
* @returns ELIMIT if there is another module registered.
*/
int register_message( device_id_t device_id, int phone );
 
int netif_probe_req( int netif_phone, device_id_t device_id, int irq, int io ){