diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-08-12 07:42:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:14:05 -0400 |
commit | 5ef5da0ff2fc4f04c856f4ce9a757e318a02ad06 (patch) | |
tree | 132b5bcd6de8f6316fb11c4f773a607317b5e131 /drivers/net/wireless/wl12xx | |
parent | 11aa6e2398f54712b1e1bdeb9d8bf3b452c5a5d5 (diff) |
wl1251: remove unused definitions from wl1251_reg.h
Luis reported that IRQ_MASK conflicts with include/pcmcia/cs.h on
compat-wireless. Remove that and a bunch of other unused defines
from wl1251_reg.h.
Reported-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_reg.h | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_reg.h b/drivers/net/wireless/wl12xx/wl1251_reg.h index 2de47cc32b8b..bdd561001dcb 100644 --- a/drivers/net/wireless/wl12xx/wl1251_reg.h +++ b/drivers/net/wireless/wl12xx/wl1251_reg.h | |||
@@ -42,70 +42,6 @@ | |||
42 | /* ELP WLAN_READY bit */ | 42 | /* ELP WLAN_READY bit */ |
43 | #define ELPCTRL_WLAN_READY 0x2 | 43 | #define ELPCTRL_WLAN_READY 0x2 |
44 | 44 | ||
45 | /* | ||
46 | * Interrupt registers. | ||
47 | * 64 bit interrupt sources registers ws ced. | ||
48 | * sme interupts were removed and new ones were added. | ||
49 | * Order was changed. | ||
50 | */ | ||
51 | #define FIQ_MASK (REGISTERS_BASE + 0x0400) | ||
52 | #define FIQ_MASK_L (REGISTERS_BASE + 0x0400) | ||
53 | #define FIQ_MASK_H (REGISTERS_BASE + 0x0404) | ||
54 | #define FIQ_MASK_SET (REGISTERS_BASE + 0x0408) | ||
55 | #define FIQ_MASK_SET_L (REGISTERS_BASE + 0x0408) | ||
56 | #define FIQ_MASK_SET_H (REGISTERS_BASE + 0x040C) | ||
57 | #define FIQ_MASK_CLR (REGISTERS_BASE + 0x0410) | ||
58 | #define FIQ_MASK_CLR_L (REGISTERS_BASE + 0x0410) | ||
59 | #define FIQ_MASK_CLR_H (REGISTERS_BASE + 0x0414) | ||
60 | #define IRQ_MASK (REGISTERS_BASE + 0x0418) | ||
61 | #define IRQ_MASK_L (REGISTERS_BASE + 0x0418) | ||
62 | #define IRQ_MASK_H (REGISTERS_BASE + 0x041C) | ||
63 | #define IRQ_MASK_SET (REGISTERS_BASE + 0x0420) | ||
64 | #define IRQ_MASK_SET_L (REGISTERS_BASE + 0x0420) | ||
65 | #define IRQ_MASK_SET_H (REGISTERS_BASE + 0x0424) | ||
66 | #define IRQ_MASK_CLR (REGISTERS_BASE + 0x0428) | ||
67 | #define IRQ_MASK_CLR_L (REGISTERS_BASE + 0x0428) | ||
68 | #define IRQ_MASK_CLR_H (REGISTERS_BASE + 0x042C) | ||
69 | #define ECPU_MASK (REGISTERS_BASE + 0x0448) | ||
70 | #define FIQ_STS_L (REGISTERS_BASE + 0x044C) | ||
71 | #define FIQ_STS_H (REGISTERS_BASE + 0x0450) | ||
72 | #define IRQ_STS_L (REGISTERS_BASE + 0x0454) | ||
73 | #define IRQ_STS_H (REGISTERS_BASE + 0x0458) | ||
74 | #define INT_STS_ND (REGISTERS_BASE + 0x0464) | ||
75 | #define INT_STS_RAW_L (REGISTERS_BASE + 0x0464) | ||
76 | #define INT_STS_RAW_H (REGISTERS_BASE + 0x0468) | ||
77 | #define INT_STS_CLR (REGISTERS_BASE + 0x04B4) | ||
78 | #define INT_STS_CLR_L (REGISTERS_BASE + 0x04B4) | ||
79 | #define INT_STS_CLR_H (REGISTERS_BASE + 0x04B8) | ||
80 | #define INT_ACK (REGISTERS_BASE + 0x046C) | ||
81 | #define INT_ACK_L (REGISTERS_BASE + 0x046C) | ||
82 | #define INT_ACK_H (REGISTERS_BASE + 0x0470) | ||
83 | #define INT_TRIG (REGISTERS_BASE + 0x0474) | ||
84 | #define INT_TRIG_L (REGISTERS_BASE + 0x0474) | ||
85 | #define INT_TRIG_H (REGISTERS_BASE + 0x0478) | ||
86 | #define HOST_STS_L (REGISTERS_BASE + 0x045C) | ||
87 | #define HOST_STS_H (REGISTERS_BASE + 0x0460) | ||
88 | #define HOST_MASK (REGISTERS_BASE + 0x0430) | ||
89 | #define HOST_MASK_L (REGISTERS_BASE + 0x0430) | ||
90 | #define HOST_MASK_H (REGISTERS_BASE + 0x0434) | ||
91 | #define HOST_MASK_SET (REGISTERS_BASE + 0x0438) | ||
92 | #define HOST_MASK_SET_L (REGISTERS_BASE + 0x0438) | ||
93 | #define HOST_MASK_SET_H (REGISTERS_BASE + 0x043C) | ||
94 | #define HOST_MASK_CLR (REGISTERS_BASE + 0x0440) | ||
95 | #define HOST_MASK_CLR_L (REGISTERS_BASE + 0x0440) | ||
96 | #define HOST_MASK_CLR_H (REGISTERS_BASE + 0x0444) | ||
97 | |||
98 | /* Host Interrupts*/ | ||
99 | #define HINT_MASK (REGISTERS_BASE + 0x0494) | ||
100 | #define HINT_MASK_SET (REGISTERS_BASE + 0x0498) | ||
101 | #define HINT_MASK_CLR (REGISTERS_BASE + 0x049C) | ||
102 | #define HINT_STS_ND_MASKED (REGISTERS_BASE + 0x04A0) | ||
103 | /*1150 spec calls this HINT_STS_RAW*/ | ||
104 | #define HINT_STS_ND (REGISTERS_BASE + 0x04B0) | ||
105 | #define HINT_STS_CLR (REGISTERS_BASE + 0x04A4) | ||
106 | #define HINT_ACK (REGISTERS_BASE + 0x04A8) | ||
107 | #define HINT_TRIG (REGISTERS_BASE + 0x04AC) | ||
108 | |||
109 | /* Device Configuration registers*/ | 45 | /* Device Configuration registers*/ |
110 | #define SOR_CFG (REGISTERS_BASE + 0x0800) | 46 | #define SOR_CFG (REGISTERS_BASE + 0x0800) |
111 | #define ECPU_CTRL (REGISTERS_BASE + 0x0804) | 47 | #define ECPU_CTRL (REGISTERS_BASE + 0x0804) |
@@ -420,16 +356,6 @@ enum wl12xx_acx_int_reg { | |||
420 | 356 | ||
421 | 357 | ||
422 | /*=============================================== | 358 | /*=============================================== |
423 | Phy regs | ||
424 | ===============================================*/ | ||
425 | #define ACX_PHY_ADDR_REG SBB_ADDR | ||
426 | #define ACX_PHY_DATA_REG SBB_DATA | ||
427 | #define ACX_PHY_CTRL_REG SBB_CTL | ||
428 | #define ACX_PHY_REG_WR_MASK 0x00000001ul | ||
429 | #define ACX_PHY_REG_RD_MASK 0x00000002ul | ||
430 | |||
431 | |||
432 | /*=============================================== | ||
433 | EEPROM Read/Write Request 32bit RW | 359 | EEPROM Read/Write Request 32bit RW |
434 | ------------------------------------------ | 360 | ------------------------------------------ |
435 | 1 EE_READ - EEPROM Read Request 1 - Setting this bit | 361 | 1 EE_READ - EEPROM Read Request 1 - Setting this bit |
@@ -498,28 +424,6 @@ enum wl12xx_acx_int_reg { | |||
498 | #define ACX_CONT_WIND_MIN_MASK 0x0000007f | 424 | #define ACX_CONT_WIND_MIN_MASK 0x0000007f |
499 | #define ACX_CONT_WIND_MAX 0x03ff0000 | 425 | #define ACX_CONT_WIND_MAX 0x03ff0000 |
500 | 426 | ||
501 | /* | ||
502 | * Indirect slave register/memory registers | ||
503 | * ---------------------------------------- | ||
504 | */ | ||
505 | #define HW_SLAVE_REG_ADDR_REG 0x00000004 | ||
506 | #define HW_SLAVE_REG_DATA_REG 0x00000008 | ||
507 | #define HW_SLAVE_REG_CTRL_REG 0x0000000c | ||
508 | |||
509 | #define SLAVE_AUTO_INC 0x00010000 | ||
510 | #define SLAVE_NO_AUTO_INC 0x00000000 | ||
511 | #define SLAVE_HOST_LITTLE_ENDIAN 0x00000000 | ||
512 | |||
513 | #define HW_SLAVE_MEM_ADDR_REG SLV_MEM_ADDR | ||
514 | #define HW_SLAVE_MEM_DATA_REG SLV_MEM_DATA | ||
515 | #define HW_SLAVE_MEM_CTRL_REG SLV_MEM_CTL | ||
516 | #define HW_SLAVE_MEM_ENDIAN_REG SLV_END_CTL | ||
517 | |||
518 | #define HW_FUNC_EVENT_INT_EN 0x8000 | ||
519 | #define HW_FUNC_EVENT_MASK_REG 0x00000034 | ||
520 | |||
521 | #define ACX_MAC_TIMESTAMP_REG (MAC_TIMESTAMP) | ||
522 | |||
523 | /*=============================================== | 427 | /*=============================================== |
524 | HI_CFG Interface Configuration Register Values | 428 | HI_CFG Interface Configuration Register Values |
525 | ------------------------------------------ | 429 | ------------------------------------------ |
@@ -678,10 +582,6 @@ b12-b0 - Supported Rate indicator bits as defined below. | |||
678 | ******************************************************************************/ | 582 | ******************************************************************************/ |
679 | 583 | ||
680 | 584 | ||
681 | #define TNETW1251_CHIP_ID_PG1_0 0x07010101 | ||
682 | #define TNETW1251_CHIP_ID_PG1_1 0x07020101 | ||
683 | #define TNETW1251_CHIP_ID_PG1_2 0x07030101 | ||
684 | |||
685 | /************************************************************************* | 585 | /************************************************************************* |
686 | 586 | ||
687 | Interrupt Trigger Register (Host -> WiLink) | 587 | Interrupt Trigger Register (Host -> WiLink) |