Subversion Repositories HelenOS

Rev

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

Rev 4350 Rev 4703
Line 49... Line 49...
49
 
49
 
50
/** Initializes the specific module.
50
/** Initializes the specific module.
51
 */
51
 */
52
int netif_initialize( void );
52
int netif_initialize( void );
53
 
53
 
54
/** Automatically probes all known devices.
-
 
55
 */
-
 
56
int netif_probe_auto_message( void );
-
 
57
 
-
 
58
/** Probes the existence of the device.
54
/** Probes the existence of the device.
59
 *  @param device_id The device identifier. Input parameter.
55
 *  @param device_id The device identifier. Input parameter.
60
 *  @param irq The device interrupt number. Input parameter.
56
 *  @param irq The device interrupt number. Input parameter.
61
 *  @param io The device input/output address. Input parameter.
57
 *  @param io The device input/output address. Input parameter.
62
 *  @returns EOK on success.
58
 *  @returns EOK on success.
Line 100... Line 96...
100
 *  @returns Other error codes as defined for the find_device() function.
96
 *  @returns Other error codes as defined for the find_device() function.
101
 *  @returns Other error codes as defined for the specific module message implementation.
97
 *  @returns Other error codes as defined for the specific module message implementation.
102
 */
98
 */
103
int netif_get_addr_message( device_id_t device_id, measured_string_ref address );
99
int netif_get_addr_message( device_id_t device_id, measured_string_ref address );
104
 
100
 
-
 
101
/** Processes the netif driver specific message.
-
 
102
 *  This function is called for uncommon messages received by the netif skeleton.
-
 
103
 *  @param callid The message identifier. Input parameter.
-
 
104
 *  @param call The message parameters. Input parameter.
-
 
105
 *  @param answer The message answer parameters. Output parameter.
-
 
106
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
-
 
107
 *  @returns EOK on success.
-
 
108
 *  @returns ENOTSUP if the message is not known.
-
 
109
 *  @returns Other error codes as defined for the specific module message implementation.
-
 
110
 */
105
int netif_specific_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
111
int netif_specific_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
106
 
112
 
107
/** Returns the device usage statistics.
113
/** Returns the device usage statistics.
108
 *  @param device_id The device identifier. Input parameter.
114
 *  @param device_id The device identifier. Input parameter.
109
 *  @param stats The device usage statistics. Output parameter.
115
 *  @param stats The device usage statistics. Output parameter.