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 -2
View File
@@ -598,7 +598,7 @@ struct e1000_rx_desc {
uint8_t status; /* Descriptor status */
uint8_t errors; /* Descriptor Errors */
uint16_t special;
};
} __attribute__ (( packed )) ;
/* Receive Descriptor - Extended */
union e1000_rx_desc_extended {
@@ -729,7 +729,7 @@ struct e1000_tx_desc {
uint16_t special;
} fields;
} upper;
};
} __attribute__ (( packed )) ;
/* Transmit Descriptor bit definitions */
#define E1000_TXD_DTYP_D 0x00100000 /* Data Descriptor */