]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - drivers/staging/rtl8187se/r8180_93cx6.h
staging: r8187se: Change to use common eeprom routines in EEPROM_93CX
[lisovros/linux_canprio.git] / drivers / staging / rtl8187se / r8180_93cx6.h
index 36ae100f3f161a06fb1f7c918c2cb368fccae124..79e7391ac8815f3cae582d93b5c5364ffa70635a 100644 (file)
 
 #define        EPROM_TXPW_OFDM_CH1_2 0x20
 
-//#define      EPROM_TXPW_CH1_2 0x10
-#define  EPROM_TXPW_CH1_2 0x30
-#define        EPROM_TXPW_CH3_4 0x11
-#define        EPROM_TXPW_CH5_6 0x12
-#define        EPROM_TXPW_CH7_8 0x13
-#define        EPROM_TXPW_CH9_10 0x14
-#define        EPROM_TXPW_CH11_12 0x15
-#define        EPROM_TXPW_CH13_14 0x16
-
-u32 eprom_read(struct net_device *dev,u32 addr); //reads a 16 bits word
+#define        EPROM_TXPW_CH1_2 0x30
+
+#define RTL818X_EEPROM_CMD_READ                (1 << 0)
+#define RTL818X_EEPROM_CMD_WRITE       (1 << 1)
+#define RTL818X_EEPROM_CMD_CK          (1 << 2)
+#define RTL818X_EEPROM_CMD_CS          (1 << 3)
+