Commit 700f6e2ce223d61b77e945404b95de84efe20a30

Authored by aurel32
1 parent 457044d1

e1000: add phy specific status register

(Tristan Gingold)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4123 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 1 deletions
hw/e1000.c
... ... @@ -137,7 +137,7 @@ static char phy_regcap[0x20] = {
137 137 [PHY_CTRL] = PHY_RW, [PHY_1000T_CTRL] = PHY_RW,
138 138 [PHY_LP_ABILITY] = PHY_R, [PHY_1000T_STATUS] = PHY_R,
139 139 [PHY_AUTONEG_ADV] = PHY_RW, [M88E1000_RX_ERR_CNTR] = PHY_R,
140   - [PHY_ID2] = PHY_R,
  140 + [PHY_ID2] = PHY_R, [M88E1000_PHY_SPEC_STATUS] = PHY_R
141 141 };
142 142  
143 143 static void
... ... @@ -901,6 +901,7 @@ static uint16_t phy_reg_init[] = {
901 901 [PHY_1000T_CTRL] = 0x0e00, [M88E1000_PHY_SPEC_CTRL] = 0x360,
902 902 [M88E1000_EXT_PHY_SPEC_CTRL] = 0x0d60, [PHY_AUTONEG_ADV] = 0xde1,
903 903 [PHY_LP_ABILITY] = 0x1e0, [PHY_1000T_STATUS] = 0x3c00,
  904 + [M88E1000_PHY_SPEC_STATUS] = 0xac00,
904 905 };
905 906  
906 907 static uint32_t mac_reg_init[] = {
... ...