#define __JME_H_INCLUDED__
#define DRV_NAME "jme"
-#define DRV_VERSION "1.0.7-jmmod"
+#define DRV_VERSION "1.0.8-jmmod"
#define PFX DRV_NAME ": "
#define PCI_DEVICE_ID_JMICRON_JMC250 0x0250
enum jme_iomap_lens {
JME_MAC_LEN = 0x80,
- JME_PHY_LEN = 0x58,
+ JME_PHY_LEN = 0x70,
JME_MISC_LEN = 0x98,
JME_RSS_LEN = 0xFF,
};
JME_PHY_LINK = JME_PHY | 0x30, /* PHY Link Status Register */
JME_SMBCSR = JME_PHY | 0x40, /* SMB Control and Status */
JME_SMBINTF = JME_PHY | 0x44, /* SMB Interface */
-
+ JME_EXGP2 = JME_PHY | 0x60, /* General Purpose */ //Aries undo
JME_TMCSR = JME_MISC | 0x00, /* Timer Control/Status Register */
JME_GPREG0 = JME_MISC | 0x08, /* General purpose REG-0 */
SMI_REG_ADDR_SHIFT = 11,
SMI_PHY_ADDR_SHIFT = 6,
};
+//Aries undo
+enum jme_phy_GeneralPurpose_bit {
+ FIX_IPV6_CHECKSUM = 0x40000000,
+};
static inline u32 smi_reg_addr(int x)
{
*/
static int jme_set_settings(struct net_device *netdev,
struct ethtool_cmd *ecmd);
+static void jme_set_unicastaddr(struct net_device *netdev);
static void jme_set_multi(struct net_device *netdev);
#endif