Rev 4261 | Rev 4351 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4261 | Rev 4350 | ||
|---|---|---|---|
| Line 101... | Line 101... | ||
| 101 | default: |
101 | default: |
| 102 | return ETH_LSAP_NULL; |
102 | return ETH_LSAP_NULL; |
| 103 | } |
103 | } |
| 104 | } |
104 | } |
| 105 | 105 | ||
| - | 106 | /** Maps the network interface layer services to the hardware types. |
|
| - | 107 | * @param nil The network interface service. Input parameter. |
|
| - | 108 | * @returns The hardware type of the network interface service. |
|
| 106 | /** \todo |
109 | * @returns 0 if mapping is not found. |
| 107 | */ |
110 | */ |
| 108 | static inline int hardware_map( services_t nil ){ |
111 | static inline int hardware_map( services_t nil ){ |
| 109 | switch( nil ){ |
112 | switch( nil ){ |
| 110 | case SERVICE_ETHERNET: |
113 | case SERVICE_ETHERNET: |
| 111 | case SERVICE_DP8390: |
114 | case SERVICE_DP8390: |