UDI/ne2000 - RX code implemented
[tpg/acess2.git] / UDI / drivers / net_ne2000 / ne2000_common.h
index 739bafe..59801fb 100644 (file)
 
 #define ARRAY_SIZEOF(arr)      (sizeof(arr)/sizeof(arr[0]))
 
+enum {
+       NE2K_PIO_RESET,
+       NE2K_PIO_ENABLE,
+       NE2K_PIO_RX,
+       NE2K_PIO_IRQACK,
+       NE2K_PIO_TX,
+};
+
 typedef struct
 {
        udi_init_context_t      init_context;
@@ -36,6 +44,9 @@ typedef struct
        udi_channel_t   rx_channel;
        udi_channel_t   tx_channel;
        
+       udi_nic_rx_cb_t *rx_next_cb;
+       udi_ubit8_t     rx_next_page;
+       
        udi_ubit8_t     macaddr[6];
 } ne2k_rdata_t;
 

UCC git Repository :: git.ucc.asn.au