Home | History | Annotate | Download | only in include

Lines Matching defs:nic

39 struct nic {
53 int ( *connect ) ( struct nic * );
54 int ( *poll ) ( struct nic *, int retrieve );
55 void ( *transmit ) ( struct nic *, const char *,
57 void ( *irq ) ( struct nic *, irq_action_t );
60 extern struct nic nic;
63 return nic.nic_op->poll ( &nic, retrieve );
68 nic.nic_op->transmit ( &nic, dest, type, size, packet );
75 extern int dummy_connect ( struct nic *nic );
76 extern void dummy_irq ( struct nic *nic, irq_action_t irq_action );
80 int ( * probe ) ( struct nic *nic, void *hwdev ),
81 void ( * disable ) ( struct nic *nic, void *hwdev ));
84 void ( * disable ) ( struct nic *nic, void *hwdev ) );
205 _name ## _probe ( struct nic *nic, void *hwdev ) { \
206 return _probe ( nic, hwdev ); \
209 _name ## _disable ( struct nic *nic, void *hwdev ) { \
211 _unsafe_disable ( nic, hwdev ); \