X-Git-Url: http://bbs.cooldavid.org/git/?p=jme.git;a=blobdiff_plain;f=jme.h;fp=jme.h;h=32b2a9ddbcd6696b881a9397d3b36c0a3f928757;hp=eac09264bf2a0da8d48247df6b8e482835a5a249;hb=4400ae988529ac28b9fe45256163bd90b8d4681d;hpb=0d8a2973ea72430ca704cea7af569d7f51281297 diff --git a/jme.h b/jme.h index eac0926..32b2a9d 100644 --- a/jme.h +++ b/jme.h @@ -411,8 +411,10 @@ struct jme_adapter { u32 rx_ring_mask; u8 mrrs; unsigned int fpgaver; - unsigned int chiprev; - u8 rev; + u8 chiprev; + u8 chip_main_rev; + u8 chip_sub_rev; + u8 pcirev; u32 msg_enable; struct ethtool_cmd old_ecmd; unsigned int old_mtu; @@ -1184,7 +1186,7 @@ enum jme_phy_reg17_vals { /* * Workaround */ -static inline int is_buggy250(unsigned short device, unsigned int chiprev) +static inline int is_buggy250(unsigned short device, u8 chiprev) { return device == PCI_DEVICE_ID_JMICRON_JMC250 && chiprev == 0x11; }