aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r--drivers/net/s2io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 49b597cbc19a..a49ff17e1b83 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -214,7 +214,7 @@ static void s2io_vlan_rx_kill_vid(struct net_device *dev, unsigned long vid)
214#define SWITCH_SIGN 0xA5A5A5A5A5A5A5A5ULL 214#define SWITCH_SIGN 0xA5A5A5A5A5A5A5A5ULL
215#define END_SIGN 0x0 215#define END_SIGN 0x0
216 216
217static u64 herc_act_dtx_cfg[] = { 217static const u64 herc_act_dtx_cfg[] = {
218 /* Set address */ 218 /* Set address */
219 0x8000051536750000ULL, 0x80000515367500E0ULL, 219 0x8000051536750000ULL, 0x80000515367500E0ULL,
220 /* Write data */ 220 /* Write data */
@@ -235,7 +235,7 @@ static u64 herc_act_dtx_cfg[] = {
235 END_SIGN 235 END_SIGN
236}; 236};
237 237
238static u64 xena_mdio_cfg[] = { 238static const u64 xena_mdio_cfg[] = {
239 /* Reset PMA PLL */ 239 /* Reset PMA PLL */
240 0xC001010000000000ULL, 0xC0010100000000E0ULL, 240 0xC001010000000000ULL, 0xC0010100000000E0ULL,
241 0xC0010100008000E4ULL, 241 0xC0010100008000E4ULL,
@@ -245,7 +245,7 @@ static u64 xena_mdio_cfg[] = {
245 END_SIGN 245 END_SIGN
246}; 246};
247 247
248static u64 xena_dtx_cfg[] = { 248static const u64 xena_dtx_cfg[] = {
249 0x8000051500000000ULL, 0x80000515000000E0ULL, 249 0x8000051500000000ULL, 0x80000515000000E0ULL,
250 0x80000515D93500E4ULL, 0x8001051500000000ULL, 250 0x80000515D93500E4ULL, 0x8001051500000000ULL,
251 0x80010515000000E0ULL, 0x80010515001E00E4ULL, 251 0x80010515000000E0ULL, 0x80010515001E00E4ULL,
@@ -273,7 +273,7 @@ static u64 xena_dtx_cfg[] = {
273 * Constants for Fixing the MacAddress problem seen mostly on 273 * Constants for Fixing the MacAddress problem seen mostly on
274 * Alpha machines. 274 * Alpha machines.
275 */ 275 */
276static u64 fix_mac[] = { 276static const u64 fix_mac[] = {
277 0x0060000000000000ULL, 0x0060600000000000ULL, 277 0x0060000000000000ULL, 0x0060600000000000ULL,
278 0x0040600000000000ULL, 0x0000600000000000ULL, 278 0x0040600000000000ULL, 0x0000600000000000ULL,
279 0x0020600000000000ULL, 0x0060600000000000ULL, 279 0x0020600000000000ULL, 0x0060600000000000ULL,