};
#define TX_TIMEOUT (5 * HZ)
-#define JME_REG_LEN 0x500
+#define JME_REG_LEN 0x600
#define MAX_ETHERNET_JUMBO_PACKET_SIZE 9216
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,23)
#define JME_PHY_TIMEOUT 100 /* 100 msec */
#define JME_PHY_REG_NR 32
+#define JME_PHY_SPEC_REG_NR 128
/*
* Global Host Control
#define BMSR_ANCOMP 0x0020
+/*
+ * For extended PHY register interface
+ */
+enum jme_phy_spec_regs {
+ JME_PHY_SPEC_ADDR_REG = 0x1E,
+ JME_PHY_SPEC_DATA_REG = 0x1F,
+};
+enum jme_phy_spec_addr_bits {
+ JME_PHY_SPEC_REG_READ = 0x4000u,
+ JME_PHY_SPEC_REG_WRITE = 0x8000u,
+};
+
/*
* Workaround
*/