|
@@ -160,29 +160,6 @@ static int pnic_transmit ( struct net_device *netdev, struct io_buffer *iobuf )
|
160
|
160
|
return 0;
|
161
|
161
|
}
|
162
|
162
|
|
163
|
|
-/**************************************************************************
|
164
|
|
-IRQ - Handle card interrupt status
|
165
|
|
-***************************************************************************/
|
166
|
|
-#if 0
|
167
|
|
-static void pnic_irq ( struct net_device *netdev, irq_action_t action ) {
|
168
|
|
- struct pnic *pnic = netdev->priv;
|
169
|
|
- uint8_t enabled;
|
170
|
|
-
|
171
|
|
- switch ( action ) {
|
172
|
|
- case DISABLE :
|
173
|
|
- case ENABLE :
|
174
|
|
- enabled = ( action == ENABLE ? 1 : 0 );
|
175
|
|
- pnic_command ( pnic, PNIC_CMD_MASK_IRQ,
|
176
|
|
- &enabled, sizeof ( enabled ), NULL, 0, NULL );
|
177
|
|
- break;
|
178
|
|
- case FORCE :
|
179
|
|
- pnic_command ( pnic, PNIC_CMD_FORCE_IRQ,
|
180
|
|
- NULL, 0, NULL, 0, NULL );
|
181
|
|
- break;
|
182
|
|
- }
|
183
|
|
-}
|
184
|
|
-#endif
|
185
|
|
-
|
186
|
163
|
/**************************************************************************
|
187
|
164
|
OPEN - Open network device
|
188
|
165
|
***************************************************************************/
|