int (*jme_vlan_rx)(struct sk_buff *skb,
struct vlan_group *grp,
unsigned short vlan_tag);
+
+ u8 flag_run_asd; /* Is Auto Speed Down polling function running*/
+ u32 mc_count; /* second counter as RJ45 is attached */
+ u8 flag_media_connected; /* Because PHY 0x13 is read and clear, we need to record it */
+ struct timer_list asd_timer;
+
+
DECLARE_NAPI_STRUCT
DECLARE_NET_DEVICE_STATS
};
* 1: xtl_out = phy_giga.PD_OSC
*/
};
+/*
+ * False carrier Counter
+ */
+ enum jme_phy_an_status {
+ PHY_SPEC_STATUS_AN_COMPLETE = 0x00000800,
+ PHY_SPEC_STATUS_AN_FAIL = 0x00008000,
+};
/*
* Giga PHY Status Registers