...
Every device driver’s net_dev.c
Prototype
Code Block |
---|
static void NetDev_IO_Ctrl (NET_IF *pif,
CPU_INT08U opt,
void *p_data,
NET_ERR *perr); |
Note that since every device driver’s IO_Ctrl()
function is accessed only by function pointer via the device driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static
’.
...