diff options
author | shemminger@osdl.org <shemminger@osdl.org> | 2005-10-26 15:16:07 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-28 12:18:52 -0400 |
commit | 488f84fd901cd3386f5723a3573ea2e1f55af537 (patch) | |
tree | 070a3e9a71062ee701482c7d12da6f8c5649346a | |
parent | 90890687859ea658759e653c4e70ed7e9e1a6217 (diff) |
[PATCH] sky2: remove unused definitions
The sky2 driver has a lot of register definitions, that were
copied over from the skge driver, for areas that don't exist
on the Yukon2.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/sky2.h | 36 |
1 files changed, 4 insertions, 32 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index b1acdc606f31..c15d46409bcc 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h | |||
@@ -85,21 +85,6 @@ enum csr_regs { | |||
85 | B0_IMSK = 0x000c, | 85 | B0_IMSK = 0x000c, |
86 | B0_HWE_ISRC = 0x0010, | 86 | B0_HWE_ISRC = 0x0010, |
87 | B0_HWE_IMSK = 0x0014, | 87 | B0_HWE_IMSK = 0x0014, |
88 | B0_SP_ISRC = 0x0018, | ||
89 | B0_XM1_IMSK = 0x0020, | ||
90 | B0_XM1_ISRC = 0x0028, | ||
91 | B0_XM1_PHY_ADDR = 0x0030, | ||
92 | B0_XM1_PHY_DATA = 0x0034, | ||
93 | B0_XM2_IMSK = 0x0040, | ||
94 | B0_XM2_ISRC = 0x0048, | ||
95 | B0_XM2_PHY_ADDR = 0x0050, | ||
96 | B0_XM2_PHY_DATA = 0x0054, | ||
97 | B0_R1_CSR = 0x0060, | ||
98 | B0_R2_CSR = 0x0064, | ||
99 | B0_XS1_CSR = 0x0068, | ||
100 | B0_XA1_CSR = 0x006c, | ||
101 | B0_XS2_CSR = 0x0070, | ||
102 | B0_XA2_CSR = 0x0074, | ||
103 | 88 | ||
104 | /* Special ISR registers (Yukon-2 only) */ | 89 | /* Special ISR registers (Yukon-2 only) */ |
105 | B0_Y2_SP_ISRC2 = 0x001c, | 90 | B0_Y2_SP_ISRC2 = 0x001c, |
@@ -116,36 +101,25 @@ enum csr_regs { | |||
116 | B2_MAC_CFG = 0x011a, | 101 | B2_MAC_CFG = 0x011a, |
117 | B2_CHIP_ID = 0x011b, | 102 | B2_CHIP_ID = 0x011b, |
118 | B2_E_0 = 0x011c, | 103 | B2_E_0 = 0x011c, |
119 | B2_E_1 = 0x011d, | 104 | |
120 | B2_E_2 = 0x011e, | ||
121 | B2_Y2_CLK_GATE = 0x011d, | 105 | B2_Y2_CLK_GATE = 0x011d, |
122 | B2_Y2_HW_RES = 0x011e, | 106 | B2_Y2_HW_RES = 0x011e, |
123 | B2_E_3 = 0x011f, | 107 | B2_E_3 = 0x011f, |
124 | B2_Y2_CLK_CTRL = 0x0120, | 108 | B2_Y2_CLK_CTRL = 0x0120, |
125 | B2_LD_CTRL = 0x0128, | 109 | |
126 | B2_LD_TEST = 0x0129, | ||
127 | B2_TI_INI = 0x0130, | 110 | B2_TI_INI = 0x0130, |
128 | B2_TI_VAL = 0x0134, | 111 | B2_TI_VAL = 0x0134, |
129 | B2_TI_CTRL = 0x0138, | 112 | B2_TI_CTRL = 0x0138, |
130 | B2_TI_TEST = 0x0139, | 113 | B2_TI_TEST = 0x0139, |
131 | B2_IRQM_INI = 0x0140, | 114 | |
132 | B2_IRQM_VAL = 0x0144, | ||
133 | B2_IRQM_CTRL = 0x0148, | ||
134 | B2_IRQM_TEST = 0x0149, | ||
135 | B2_IRQM_MSK = 0x014c, | ||
136 | B2_IRQM_HWE_MSK = 0x0150, | ||
137 | B2_TST_CTRL1 = 0x0158, | 115 | B2_TST_CTRL1 = 0x0158, |
138 | B2_TST_CTRL2 = 0x0159, | 116 | B2_TST_CTRL2 = 0x0159, |
139 | B2_GP_IO = 0x015c, | 117 | B2_GP_IO = 0x015c, |
118 | |||
140 | B2_I2C_CTRL = 0x0160, | 119 | B2_I2C_CTRL = 0x0160, |
141 | B2_I2C_DATA = 0x0164, | 120 | B2_I2C_DATA = 0x0164, |
142 | B2_I2C_IRQ = 0x0168, | 121 | B2_I2C_IRQ = 0x0168, |
143 | B2_I2C_SW = 0x016c, | 122 | B2_I2C_SW = 0x016c, |
144 | B2_BSC_INI = 0x0170, | ||
145 | B2_BSC_VAL = 0x0174, | ||
146 | B2_BSC_CTRL = 0x0178, | ||
147 | B2_BSC_STAT = 0x0179, | ||
148 | B2_BSC_TST = 0x017a, | ||
149 | 123 | ||
150 | B3_RAM_ADDR = 0x0180, | 124 | B3_RAM_ADDR = 0x0180, |
151 | B3_RAM_DATA_LO = 0x0184, | 125 | B3_RAM_DATA_LO = 0x0184, |
@@ -220,8 +194,6 @@ enum { | |||
220 | Y2_LED_STAT_ON = 1<<9, /* Status LED On (YUKON-2 only) */ | 194 | Y2_LED_STAT_ON = 1<<9, /* Status LED On (YUKON-2 only) */ |
221 | Y2_LED_STAT_OFF = 1<<8, /* Status LED Off (YUKON-2 only) */ | 195 | Y2_LED_STAT_OFF = 1<<8, /* Status LED Off (YUKON-2 only) */ |
222 | 196 | ||
223 | CS_BUS_CLOCK = 1<<9, /* Bus Clock 0/1 = 33/66 MHz */ | ||
224 | CS_BUS_SLOT_SZ = 1<<8, /* Slot Size 0/1 = 32/64 bit slot */ | ||
225 | CS_ST_SW_IRQ = 1<<7, /* Set IRQ SW Request */ | 197 | CS_ST_SW_IRQ = 1<<7, /* Set IRQ SW Request */ |
226 | CS_CL_SW_IRQ = 1<<6, /* Clear IRQ SW Request */ | 198 | CS_CL_SW_IRQ = 1<<6, /* Clear IRQ SW Request */ |
227 | CS_STOP_DONE = 1<<5, /* Stop Master is finished */ | 199 | CS_STOP_DONE = 1<<5, /* Stop Master is finished */ |