]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/rtl8192u/r8192U_hw.h
staging: rtl8192u: fix read_nic_* functions
[~andy/linux] / drivers / staging / rtl8192u / r8192U_hw.h
index 15b0423356f8705597204c2cb2470cdb14b5999f..7e612aa56fa4c806d376eb1c830c39a885e6e245 100644 (file)
@@ -388,10 +388,11 @@ enum _RTL8192Usb_HW {
 #define EPROM_CMD_NORMAL 0
 #define EPROM_CMD_LOAD 1
 #define EPROM_CMD_PROGRAM 2
-#define EPROM_CS_SHIFT 3
-#define EPROM_CK_SHIFT 2
-#define EPROM_W_SHIFT 1
-#define EPROM_R_SHIFT 0
+#define EPROM_CS_BIT BIT(3)
+#define EPROM_CK_BIT BIT(2)
+#define EPROM_W_BIT  BIT(1)
+#define EPROM_R_BIT  BIT(0)
+
        MAC0                    = 0x000,
        MAC1                    = 0x001,
        MAC2                    = 0x002,