Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports.

This commit is contained in:
Marty Connor
2007-11-20 12:06:22 -05:00
parent e41550b0ba
commit 8973caa1e6
3 changed files with 22 additions and 18 deletions
+4 -4
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 */
@@ -1381,8 +1381,8 @@ struct e1000_hw_stats {
/* Structure containing variables used by the shared code (e1000_hw.c) */
struct e1000_hw {
uint8_t *hw_addr;
uint8_t *flash_address;
uint8_t *hw_addr;
uint8_t *flash_address;
e1000_mac_type mac_type;
e1000_phy_type phy_type;
uint32_t phy_init_script;