diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-10 03:04:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-10 03:04:35 -0500 |
commit | 25f666300625d894ebe04bac2b4b3aadb907c861 (patch) | |
tree | 47547369f2d6eb366268e85252444ecb1bdcfab5 /drivers/net | |
parent | 0b6ca82af83a79f3d1001c8a0701ed34ac38126e (diff) | |
parent | 21347456abfbf5bc7fcace7327476736bbb28abe (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (28 commits)
[NET_SCHED] sch_htb: htb_requeue fix
[IPV6]: Replace using the magic constant "1024" with IP6_RT_PRIO_USER for fc_metric.
starfire: secton fix
via-velocity: section fix
natsemi: section fix
typhoon: section fix
isdn: fix section mismatch warning for ISACVer
isdn: fix section mismatch warnings from hisax_cs_setup_card
isdn: fix section mismatch warnings in isac.c and isar.c
isdn: fix section mismatch warning in hfc_sx.c
[PKT_SCHED] ematch: tcf_em_destroy robustness
[PKT_SCHED]: deinline functions in meta match
[SCTP]: Convert sctp_dbg_objcnt to seq files.
[SCTP]: Use snmp_fold_field instead of a homebrew analogue.
[IGMP]: Optimize kfree_skb in igmp_rcv.
[KEY]: Convert net/pfkey to use seq files.
[KEY]: Clean up proc files creation a bit.
pppol2tp: fix printk warnings
bnx2: section fix
bnx2x: section fix
...
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2.c | 4 | ||||
-rw-r--r-- | drivers/net/bnx2x.c | 4 | ||||
-rw-r--r-- | drivers/net/natsemi.c | 6 | ||||
-rw-r--r-- | drivers/net/pppol2tp.c | 22 | ||||
-rw-r--r-- | drivers/net/starfire.c | 2 | ||||
-rw-r--r-- | drivers/net/typhoon.c | 4 | ||||
-rw-r--r-- | drivers/net/via-velocity.c | 2 |
7 files changed, 23 insertions, 21 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 8b552c6dd2e7..471c7f3e8a4a 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -64,7 +64,7 @@ | |||
64 | /* Time in jiffies before concluding the transmitter is hung. */ | 64 | /* Time in jiffies before concluding the transmitter is hung. */ |
65 | #define TX_TIMEOUT (5*HZ) | 65 | #define TX_TIMEOUT (5*HZ) |
66 | 66 | ||
67 | static const char version[] __devinitdata = | 67 | static char version[] __devinitdata = |
68 | "Broadcom NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 68 | "Broadcom NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
69 | 69 | ||
70 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); | 70 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); |
@@ -90,7 +90,7 @@ typedef enum { | |||
90 | } board_t; | 90 | } board_t; |
91 | 91 | ||
92 | /* indexed by board_t, above */ | 92 | /* indexed by board_t, above */ |
93 | static const struct { | 93 | static struct { |
94 | char *name; | 94 | char *name; |
95 | } board_info[] __devinitdata = { | 95 | } board_info[] __devinitdata = { |
96 | { "Broadcom NetXtreme II BCM5706 1000Base-T" }, | 96 | { "Broadcom NetXtreme II BCM5706 1000Base-T" }, |
diff --git a/drivers/net/bnx2x.c b/drivers/net/bnx2x.c index 4a73c884d0c4..afc7f34b1dcf 100644 --- a/drivers/net/bnx2x.c +++ b/drivers/net/bnx2x.c | |||
@@ -70,7 +70,7 @@ | |||
70 | /* Time in jiffies before concluding the transmitter is hung. */ | 70 | /* Time in jiffies before concluding the transmitter is hung. */ |
71 | #define TX_TIMEOUT (5*HZ) | 71 | #define TX_TIMEOUT (5*HZ) |
72 | 72 | ||
73 | static const char version[] __devinitdata = | 73 | static char version[] __devinitdata = |
74 | "Broadcom NetXtreme II 577xx 10Gigabit Ethernet Driver " | 74 | "Broadcom NetXtreme II 577xx 10Gigabit Ethernet Driver " |
75 | DRV_MODULE_NAME " " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 75 | DRV_MODULE_NAME " " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
76 | 76 | ||
@@ -107,7 +107,7 @@ enum bnx2x_board_type { | |||
107 | }; | 107 | }; |
108 | 108 | ||
109 | /* indexed by board_t, above */ | 109 | /* indexed by board_t, above */ |
110 | static const struct { | 110 | static struct { |
111 | char *name; | 111 | char *name; |
112 | } board_info[] __devinitdata = { | 112 | } board_info[] __devinitdata = { |
113 | { "Broadcom NetXtreme II BCM57710 XGb" } | 113 | { "Broadcom NetXtreme II BCM57710 XGb" } |
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 0a3e60418e53..385f69c14387 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c | |||
@@ -127,7 +127,7 @@ static int full_duplex[MAX_UNITS]; | |||
127 | #define NATSEMI_RX_LIMIT 2046 /* maximum supported by hardware */ | 127 | #define NATSEMI_RX_LIMIT 2046 /* maximum supported by hardware */ |
128 | 128 | ||
129 | /* These identify the driver base version and may not be removed. */ | 129 | /* These identify the driver base version and may not be removed. */ |
130 | static const char version[] __devinitdata = | 130 | static char version[] __devinitdata = |
131 | KERN_INFO DRV_NAME " dp8381x driver, version " | 131 | KERN_INFO DRV_NAME " dp8381x driver, version " |
132 | DRV_VERSION ", " DRV_RELDATE "\n" | 132 | DRV_VERSION ", " DRV_RELDATE "\n" |
133 | KERN_INFO " originally by Donald Becker <becker@scyld.com>\n" | 133 | KERN_INFO " originally by Donald Becker <becker@scyld.com>\n" |
@@ -238,7 +238,7 @@ enum { | |||
238 | }; | 238 | }; |
239 | 239 | ||
240 | /* array of board data directly indexed by pci_tbl[x].driver_data */ | 240 | /* array of board data directly indexed by pci_tbl[x].driver_data */ |
241 | static const struct { | 241 | static struct { |
242 | const char *name; | 242 | const char *name; |
243 | unsigned long flags; | 243 | unsigned long flags; |
244 | unsigned int eeprom_size; | 244 | unsigned int eeprom_size; |
@@ -247,7 +247,7 @@ static const struct { | |||
247 | { "NatSemi DP8381[56]", 0, 24 }, | 247 | { "NatSemi DP8381[56]", 0, 24 }, |
248 | }; | 248 | }; |
249 | 249 | ||
250 | static const struct pci_device_id natsemi_pci_tbl[] __devinitdata = { | 250 | static struct pci_device_id natsemi_pci_tbl[] __devinitdata = { |
251 | { PCI_VENDOR_ID_NS, 0x0020, 0x12d9, 0x000c, 0, 0, 0 }, | 251 | { PCI_VENDOR_ID_NS, 0x0020, 0x12d9, 0x000c, 0, 0, 0 }, |
252 | { PCI_VENDOR_ID_NS, 0x0020, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 }, | 252 | { PCI_VENDOR_ID_NS, 0x0020, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 }, |
253 | { } /* terminate list */ | 253 | { } /* terminate list */ |
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 5aa0a8089694..e0b072d9fdb7 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -2289,10 +2289,12 @@ static void pppol2tp_seq_tunnel_show(struct seq_file *m, void *v) | |||
2289 | atomic_read(&tunnel->ref_count) - 1); | 2289 | atomic_read(&tunnel->ref_count) - 1); |
2290 | seq_printf(m, " %08x %llu/%llu/%llu %llu/%llu/%llu\n", | 2290 | seq_printf(m, " %08x %llu/%llu/%llu %llu/%llu/%llu\n", |
2291 | tunnel->debug, | 2291 | tunnel->debug, |
2292 | tunnel->stats.tx_packets, tunnel->stats.tx_bytes, | 2292 | (unsigned long long)tunnel->stats.tx_packets, |
2293 | tunnel->stats.tx_errors, | 2293 | (unsigned long long)tunnel->stats.tx_bytes, |
2294 | tunnel->stats.rx_packets, tunnel->stats.rx_bytes, | 2294 | (unsigned long long)tunnel->stats.tx_errors, |
2295 | tunnel->stats.rx_errors); | 2295 | (unsigned long long)tunnel->stats.rx_packets, |
2296 | (unsigned long long)tunnel->stats.rx_bytes, | ||
2297 | (unsigned long long)tunnel->stats.rx_errors); | ||
2296 | } | 2298 | } |
2297 | 2299 | ||
2298 | static void pppol2tp_seq_session_show(struct seq_file *m, void *v) | 2300 | static void pppol2tp_seq_session_show(struct seq_file *m, void *v) |
@@ -2320,12 +2322,12 @@ static void pppol2tp_seq_session_show(struct seq_file *m, void *v) | |||
2320 | jiffies_to_msecs(session->reorder_timeout)); | 2322 | jiffies_to_msecs(session->reorder_timeout)); |
2321 | seq_printf(m, " %hu/%hu %llu/%llu/%llu %llu/%llu/%llu\n", | 2323 | seq_printf(m, " %hu/%hu %llu/%llu/%llu %llu/%llu/%llu\n", |
2322 | session->nr, session->ns, | 2324 | session->nr, session->ns, |
2323 | session->stats.tx_packets, | 2325 | (unsigned long long)session->stats.tx_packets, |
2324 | session->stats.tx_bytes, | 2326 | (unsigned long long)session->stats.tx_bytes, |
2325 | session->stats.tx_errors, | 2327 | (unsigned long long)session->stats.tx_errors, |
2326 | session->stats.rx_packets, | 2328 | (unsigned long long)session->stats.rx_packets, |
2327 | session->stats.rx_bytes, | 2329 | (unsigned long long)session->stats.rx_bytes, |
2328 | session->stats.rx_errors); | 2330 | (unsigned long long)session->stats.rx_errors); |
2329 | } | 2331 | } |
2330 | 2332 | ||
2331 | static int pppol2tp_seq_show(struct seq_file *m, void *v) | 2333 | static int pppol2tp_seq_show(struct seq_file *m, void *v) |
diff --git a/drivers/net/starfire.c b/drivers/net/starfire.c index 6e00dc857afa..c49214feae91 100644 --- a/drivers/net/starfire.c +++ b/drivers/net/starfire.c | |||
@@ -216,7 +216,7 @@ do { \ | |||
216 | 216 | ||
217 | 217 | ||
218 | /* These identify the driver base version and may not be removed. */ | 218 | /* These identify the driver base version and may not be removed. */ |
219 | static const char version[] __devinitdata = | 219 | static char version[] = |
220 | KERN_INFO "starfire.c:v1.03 7/26/2000 Written by Donald Becker <becker@scyld.com>\n" | 220 | KERN_INFO "starfire.c:v1.03 7/26/2000 Written by Donald Becker <becker@scyld.com>\n" |
221 | KERN_INFO " (unofficial 2.2/2.4 kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n"; | 221 | KERN_INFO " (unofficial 2.2/2.4 kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n"; |
222 | 222 | ||
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index f50cb520dffb..333961bb7873 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c | |||
@@ -134,7 +134,7 @@ static const int multicast_filter_limit = 32; | |||
134 | #include "typhoon.h" | 134 | #include "typhoon.h" |
135 | #include "typhoon-firmware.h" | 135 | #include "typhoon-firmware.h" |
136 | 136 | ||
137 | static const char version[] __devinitdata = | 137 | static char version[] __devinitdata = |
138 | "typhoon.c: version " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 138 | "typhoon.c: version " DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
139 | 139 | ||
140 | MODULE_AUTHOR("David Dillow <dave@thedillows.org>"); | 140 | MODULE_AUTHOR("David Dillow <dave@thedillows.org>"); |
@@ -178,7 +178,7 @@ enum typhoon_cards { | |||
178 | }; | 178 | }; |
179 | 179 | ||
180 | /* directly indexed by enum typhoon_cards, above */ | 180 | /* directly indexed by enum typhoon_cards, above */ |
181 | static const struct typhoon_card_info typhoon_card_info[] __devinitdata = { | 181 | static struct typhoon_card_info typhoon_card_info[] __devinitdata = { |
182 | { "3Com Typhoon (3C990-TX)", | 182 | { "3Com Typhoon (3C990-TX)", |
183 | TYPHOON_CRYPTO_NONE}, | 183 | TYPHOON_CRYPTO_NONE}, |
184 | { "3Com Typhoon (3CR990-TX-95)", | 184 | { "3Com Typhoon (3CR990-TX-95)", |
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index 8c9fb824cbd4..cc0addb5640c 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -440,7 +440,7 @@ static void velocity_unregister_notifier(void) | |||
440 | * Internal board variants. At the moment we have only one | 440 | * Internal board variants. At the moment we have only one |
441 | */ | 441 | */ |
442 | 442 | ||
443 | static const struct velocity_info_tbl chip_info_table[] __devinitdata = { | 443 | static struct velocity_info_tbl chip_info_table[] = { |
444 | {CHIP_TYPE_VT6110, "VIA Networking Velocity Family Gigabit Ethernet Adapter", 1, 0x00FFFFFFUL}, | 444 | {CHIP_TYPE_VT6110, "VIA Networking Velocity Family Gigabit Ethernet Adapter", 1, 0x00FFFFFFUL}, |
445 | { } | 445 | { } |
446 | }; | 446 | }; |