vxge: Corrected Register map entry for xmac_link registers
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Wed, 1 Jul 2009 21:14:57 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 02:16:30 +0000 (19:16 -0700)
- Corrected Register map entry for xmac_link registers.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-reg.h

index 10f4da32929f1b896ad709fb602b5b5df0672f98..9a3b823e08d4059099144459f8edec4cc8eed5b5 100644 (file)
@@ -1784,7 +1784,7 @@ struct vxge_hw_mrpcim_reg {
 #define        VXGE_HW_XMAC_GEN_ERR_REG_XMACJ_XMAC_FSM_ERR     vxge_mBIT(63)
 /*0x01e18*/    u64     xmac_gen_err_mask;
 /*0x01e20*/    u64     xmac_gen_err_alarm;
-/*0x01e28*/    u64     xmac_link_err_port_reg[2];
+/*0x01e28*/    u64     xmac_link_err_port0_reg;
 #define        VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_DOWN  vxge_mBIT(3)
 #define        VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_UP    vxge_mBIT(7)
 #define        VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMACJ_PORT_WENT_DOWN     vxge_mBIT(11)
@@ -1798,8 +1798,11 @@ struct vxge_hw_mrpcim_reg {
 #define        VXGE_HW_XMAC_LINK_ERR_PORT_REG_RATEMGMT_LASI_INV        vxge_mBIT(39)
 #define        VXGE_HW_XMAC_LINK_ERR_PORT_REG_XMDIO_MDIO_MGR_ACCESS_COMPLETE \
                                                                vxge_mBIT(47)
-/*0x01e30*/    u64     xmac_link_err_port_mask[2];
-/*0x01e38*/    u64     xmac_link_err_port_alarm[2];
+/*0x01e30*/    u64     xmac_link_err_port0_mask;
+/*0x01e38*/    u64     xmac_link_err_port0_alarm;
+/*0x01e40*/    u64     xmac_link_err_port1_reg;
+/*0x01e48*/    u64     xmac_link_err_port1_mask;
+/*0x01e50*/    u64     xmac_link_err_port1_alarm;
 /*0x01e58*/    u64     xgxs_gen_err_reg;
 #define        VXGE_HW_XGXS_GEN_ERR_REG_XGXS_XGXS_FSM_ERR      vxge_mBIT(63)
 /*0x01e60*/    u64     xgxs_gen_err_mask;