#define ATL1C_ASPM_L0s_ENABLE          0x0001
 #define ATL1C_ASPM_L1_ENABLE           0x0002
 
-#define AT_REGS_LEN    (75 * sizeof(u32))
+#define AT_REGS_LEN    (74 * sizeof(u32))
 #define AT_EEPROM_LEN  512
 
 #define ATL1C_GET_DESC(R, i, type)     (&(((type *)((R)->desc))[i]))
 
 
        memset(p, 0, AT_REGS_LEN);
 
-       regs->version = 0;
-       AT_READ_REG(hw, REG_VPD_CAP,              p++);
+       regs->version = 1;
        AT_READ_REG(hw, REG_PM_CTRL,              p++);
        AT_READ_REG(hw, REG_MAC_HALF_DUPLX_CTRL,  p++);
        AT_READ_REG(hw, REG_TWSI_CTRL,            p++);
        AT_READ_REG(hw, REG_WOL_CTRL,             p++);
 
        atl1c_read_phy_reg(hw, MII_BMCR, &phy_data);
-       regs_buff[73] = (u32) phy_data;
+       regs_buff[AT_REGS_LEN/sizeof(u32) - 2] = (u32) phy_data;
        atl1c_read_phy_reg(hw, MII_BMSR, &phy_data);
-       regs_buff[74] = (u32) phy_data;
+       regs_buff[AT_REGS_LEN/sizeof(u32) - 1] = (u32) phy_data;
 }
 
 static int atl1c_get_eeprom_len(struct net_device *netdev)
 
 #define LINK_CTRL_L1_EN                        0x02
 #define LINK_CTRL_EXT_SYNC             0x80
 
-#define REG_VPD_CAP                    0x6C
-#define VPD_CAP_ID_MASK                 0xff
-#define VPD_CAP_ID_SHIFT                0
-#define VPD_CAP_NEXT_PTR_MASK           0xFF
-#define VPD_CAP_NEXT_PTR_SHIFT          8
-#define VPD_CAP_VPD_ADDR_MASK           0x7FFF
-#define VPD_CAP_VPD_ADDR_SHIFT          16
-#define VPD_CAP_VPD_FLAG                0x80000000
-
-#define REG_VPD_DATA                   0x70
-
 #define REG_PCIE_UC_SEVERITY           0x10C
 #define PCIE_UC_SERVRITY_TRN           0x00000001
 #define PCIE_UC_SERVRITY_DLP           0x00000010