Subversion Repositories HelenOS

Rev

Rev 4075 | Rev 4261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4075 Rev 4243
Line 39... Line 39...
39
 
39
 
40
#include <ipc/services.h>
40
#include <ipc/services.h>
41
 
41
 
42
#include "ethernet_lsap.h"
42
#include "ethernet_lsap.h"
43
#include "ethernet_protocols.h"
43
#include "ethernet_protocols.h"
-
 
44
#include "hardware.h"
44
 
45
 
45
/** Maps the internetwork layer service to the network interface layer type.
46
/** Maps the internetwork layer service to the network interface layer type.
46
 *  @param nil Network interface layer service. Input parameter.
47
 *  @param nil Network interface layer service. Input parameter.
47
 *  @param il Internetwork layer service. Input parameter.
48
 *  @param il Internetwork layer service. Input parameter.
48
 *  @returns Network interface layer type of the internetworking layer service.
49
 *  @returns Network interface layer type of the internetworking layer service.
Line 100... Line 101...
100
        default:
101
        default:
101
            return ETH_LSAP_NULL;
102
            return ETH_LSAP_NULL;
102
    }
103
    }
103
}
104
}
104
 
105
 
-
 
106
/** \todo
-
 
107
 */
-
 
108
static inline int hardware_map( services_t nil ){
-
 
109
    switch( nil ){
-
 
110
        case SERVICE_ETHERNET:
-
 
111
            return HW_ETHER;
-
 
112
        default:
-
 
113
            return 0;
-
 
114
    }
-
 
115
}
-
 
116
 
105
#endif
117
#endif
106
 
118
 
107
/** @}
119
/** @}
108
 */
120
 */