A version of the new e1000 driver that transmits.

autonegotiation still needs work.  receive is not working yet.
This commit is contained in:
Marty Connor
2007-11-20 10:23:32 -05:00
parent 8ce93f0876
commit e41550b0ba
3 changed files with 351 additions and 254 deletions
+2 -7
View File
@@ -255,21 +255,16 @@ struct e1000_adapter {
#define NUM_TX_DESC 8
#define NUM_RX_DESC 8
char *tx_desc_ring;
char *rx_desc_ring;
struct io_buffer *tx_iobuf[NUM_TX_DESC];
struct io_buffer *rx_iobuf[NUM_RX_DESC];
struct e1000_tx_desc *tx_desc[NUM_TX_DESC];
struct e1000_rx_desc *rx_desc[NUM_RX_DESC];
struct e1000_tx_desc *tx_base;
struct e1000_rx_desc *rx_base;
uint32_t tx_head;
uint32_t tx_tail;
uint32_t tx_fill_ctr;
uint32_t rx_tail;
uint32_t ioaddr;