X-Git-Url: http://bbs.cooldavid.org/git/?p=jme.git;a=blobdiff_plain;f=jme.h;h=9300dcae32bb4bddca0a35356a6756cf4dd183ba;hp=7eed87058496f0b9b580098ee54115d101daf5c8;hb=98ef18f11c5307de7b507746effc514f5f990f7c;hpb=d3d584f56000841c72f0f0f85b5e3740eec0eb93 diff --git a/jme.h b/jme.h index 7eed870..9300dca 100644 --- a/jme.h +++ b/jme.h @@ -100,6 +100,13 @@ do { \ msg_ ## type(priv, fmt, ## args) #endif +#ifndef NETIF_F_TSO6 +#define NETIF_F_TSO6 0 +#endif +#ifndef NETIF_F_IPV6_CSUM +#define NETIF_F_IPV6_CSUM 0 +#endif + /* * Extra PCI Configuration space interface */ @@ -525,8 +532,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; @@ -1317,7 +1326,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; }