diff options
Diffstat (limited to 'drivers/net/ne3210.c')
-rw-r--r-- | drivers/net/ne3210.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/net/ne3210.c b/drivers/net/ne3210.c index 243ed2aee88e..e8984b0ca521 100644 --- a/drivers/net/ne3210.c +++ b/drivers/net/ne3210.c | |||
@@ -80,17 +80,20 @@ static void ne3210_block_output(struct net_device *dev, int count, const unsigne | |||
80 | 80 | ||
81 | #define NE3210_DEBUG 0x0 | 81 | #define NE3210_DEBUG 0x0 |
82 | 82 | ||
83 | static unsigned char irq_map[] __initdata = {15, 12, 11, 10, 9, 7, 5, 3}; | 83 | static const unsigned char irq_map[] __devinitconst = |
84 | static unsigned int shmem_map[] __initdata = {0xff0, 0xfe0, 0xfff0, 0xd8, 0xffe0, 0xffc0, 0xd0, 0x0}; | 84 | { 15, 12, 11, 10, 9, 7, 5, 3 }; |
85 | static const char *ifmap[] __initdata = {"UTP", "?", "BNC", "AUI"}; | 85 | static const unsigned int shmem_map[] __devinitconst = |
86 | static int ifmap_val[] __initdata = { | 86 | { 0xff0, 0xfe0, 0xfff0, 0xd8, 0xffe0, 0xffc0, 0xd0, 0x0 }; |
87 | static const char *const ifmap[] __devinitconst = | ||
88 | { "UTP", "?", "BNC", "AUI" }; | ||
89 | static const int ifmap_val[] __devinitconst = { | ||
87 | IF_PORT_10BASET, | 90 | IF_PORT_10BASET, |
88 | IF_PORT_UNKNOWN, | 91 | IF_PORT_UNKNOWN, |
89 | IF_PORT_10BASE2, | 92 | IF_PORT_10BASE2, |
90 | IF_PORT_AUI, | 93 | IF_PORT_AUI, |
91 | }; | 94 | }; |
92 | 95 | ||
93 | static int __init ne3210_eisa_probe (struct device *device) | 96 | static int __devinit ne3210_eisa_probe (struct device *device) |
94 | { | 97 | { |
95 | unsigned long ioaddr, phys_mem; | 98 | unsigned long ioaddr, phys_mem; |
96 | int i, retval, port_index; | 99 | int i, retval, port_index; |
@@ -313,7 +316,7 @@ static void ne3210_block_output(struct net_device *dev, int count, | |||
313 | memcpy_toio(shmem, buf, count); | 316 | memcpy_toio(shmem, buf, count); |
314 | } | 317 | } |
315 | 318 | ||
316 | static struct eisa_device_id ne3210_ids[] = { | 319 | static const struct eisa_device_id ne3210_ids[] __devinitconst = { |
317 | { "EGL0101" }, | 320 | { "EGL0101" }, |
318 | { "NVL1801" }, | 321 | { "NVL1801" }, |
319 | { "" }, | 322 | { "" }, |