diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-04 10:16:00 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-04 10:16:00 -0400 |
| commit | 0e833d8cfcb52b5ee3ead22cabbab81dea32c3f0 (patch) | |
| tree | 0c64533ba9181c014a4b2dcda75c273ae0437dd6 | |
| parent | 4f1ba49efafccbc73017f824efa2505c81b247cd (diff) | |
| parent | 7b29dc21ea084be7ddfb536994a9cfae95337690 (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: (40 commits)
tg3: Fix tg3_skb_error_unmap()
net: tracepoint of net_dev_xmit sees freed skb and causes panic
drivers/net/can/flexcan.c: add missing clk_put
net: dm9000: Get the chip in a known good state before enabling interrupts
drivers/net/davinci_emac.c: add missing clk_put
af-packet: Add flag to distinguish VID 0 from no-vlan.
caif: Fix race when conditionally taking rtnl lock
usbnet/cdc_ncm: add missing .reset_resume hook
vlan: fix typo in vlan_dev_hard_start_xmit()
net/ipv4: Check for mistakenly passed in non-IPv4 address
iwl4965: correctly validate temperature value
bluetooth l2cap: fix locking in l2cap_global_chan_by_psm
ath9k: fix two more bugs in tx power
cfg80211: don't drop p2p probe responses
Revert "net: fix section mismatches"
drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run()
sctp: stop pending timers and purge queues when peer restart asoc
drivers/net: ks8842 Fix crash on received packet when in PIO mode.
ip_options_compile: properly handle unaligned pointer
iwlagn: fix incorrect PCI subsystem id for 6150 devices
...
60 files changed, 380 insertions, 219 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 5f25889e27ef..44b28b2d7003 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
| @@ -185,7 +185,7 @@ static int max_interrupt_work = 10; | |||
| 185 | static int nopnp; | 185 | static int nopnp; |
| 186 | #endif | 186 | #endif |
| 187 | 187 | ||
| 188 | static int el3_common_init(struct net_device *dev); | 188 | static int __devinit el3_common_init(struct net_device *dev); |
| 189 | static void el3_common_remove(struct net_device *dev); | 189 | static void el3_common_remove(struct net_device *dev); |
| 190 | static ushort id_read_eeprom(int index); | 190 | static ushort id_read_eeprom(int index); |
| 191 | static ushort read_eeprom(int ioaddr, int index); | 191 | static ushort read_eeprom(int ioaddr, int index); |
| @@ -395,7 +395,7 @@ static struct isa_driver el3_isa_driver = { | |||
| 395 | static int isa_registered; | 395 | static int isa_registered; |
| 396 | 396 | ||
| 397 | #ifdef CONFIG_PNP | 397 | #ifdef CONFIG_PNP |
| 398 | static const struct pnp_device_id el3_pnp_ids[] __devinitconst = { | 398 | static struct pnp_device_id el3_pnp_ids[] = { |
| 399 | { .id = "TCM5090" }, /* 3Com Etherlink III (TP) */ | 399 | { .id = "TCM5090" }, /* 3Com Etherlink III (TP) */ |
| 400 | { .id = "TCM5091" }, /* 3Com Etherlink III */ | 400 | { .id = "TCM5091" }, /* 3Com Etherlink III */ |
| 401 | { .id = "TCM5094" }, /* 3Com Etherlink III (combo) */ | 401 | { .id = "TCM5094" }, /* 3Com Etherlink III (combo) */ |
| @@ -478,7 +478,7 @@ static int pnp_registered; | |||
| 478 | #endif /* CONFIG_PNP */ | 478 | #endif /* CONFIG_PNP */ |
| 479 | 479 | ||
| 480 | #ifdef CONFIG_EISA | 480 | #ifdef CONFIG_EISA |
| 481 | static const struct eisa_device_id el3_eisa_ids[] __devinitconst = { | 481 | static struct eisa_device_id el3_eisa_ids[] = { |
| 482 | { "TCM5090" }, | 482 | { "TCM5090" }, |
| 483 | { "TCM5091" }, | 483 | { "TCM5091" }, |
| 484 | { "TCM5092" }, | 484 | { "TCM5092" }, |
| @@ -508,7 +508,7 @@ static int eisa_registered; | |||
| 508 | #ifdef CONFIG_MCA | 508 | #ifdef CONFIG_MCA |
| 509 | static int el3_mca_probe(struct device *dev); | 509 | static int el3_mca_probe(struct device *dev); |
| 510 | 510 | ||
| 511 | static const short el3_mca_adapter_ids[] __devinitconst = { | 511 | static short el3_mca_adapter_ids[] __initdata = { |
| 512 | 0x627c, | 512 | 0x627c, |
| 513 | 0x627d, | 513 | 0x627d, |
| 514 | 0x62db, | 514 | 0x62db, |
| @@ -517,7 +517,7 @@ static const short el3_mca_adapter_ids[] __devinitconst = { | |||
| 517 | 0x0000 | 517 | 0x0000 |
| 518 | }; | 518 | }; |
| 519 | 519 | ||
| 520 | static const char *const el3_mca_adapter_names[] __devinitconst = { | 520 | static char *el3_mca_adapter_names[] __initdata = { |
| 521 | "3Com 3c529 EtherLink III (10base2)", | 521 | "3Com 3c529 EtherLink III (10base2)", |
| 522 | "3Com 3c529 EtherLink III (10baseT)", | 522 | "3Com 3c529 EtherLink III (10baseT)", |
| 523 | "3Com 3c529 EtherLink III (test mode)", | 523 | "3Com 3c529 EtherLink III (test mode)", |
| @@ -601,7 +601,7 @@ static void el3_common_remove (struct net_device *dev) | |||
| 601 | } | 601 | } |
| 602 | 602 | ||
| 603 | #ifdef CONFIG_MCA | 603 | #ifdef CONFIG_MCA |
| 604 | static int __devinit el3_mca_probe(struct device *device) | 604 | static int __init el3_mca_probe(struct device *device) |
| 605 | { | 605 | { |
| 606 | /* Based on Erik Nygren's (nygren@mit.edu) 3c529 patch, | 606 | /* Based on Erik Nygren's (nygren@mit.edu) 3c529 patch, |
| 607 | * heavily modified by Chris Beauregard | 607 | * heavily modified by Chris Beauregard |
| @@ -671,7 +671,7 @@ static int __devinit el3_mca_probe(struct device *device) | |||
| 671 | #endif /* CONFIG_MCA */ | 671 | #endif /* CONFIG_MCA */ |
| 672 | 672 | ||
| 673 | #ifdef CONFIG_EISA | 673 | #ifdef CONFIG_EISA |
| 674 | static int __devinit el3_eisa_probe (struct device *device) | 674 | static int __init el3_eisa_probe (struct device *device) |
| 675 | { | 675 | { |
| 676 | short i; | 676 | short i; |
| 677 | int ioaddr, irq, if_port; | 677 | int ioaddr, irq, if_port; |
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 99f43d275442..8cc22568ebd3 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
| @@ -901,14 +901,14 @@ static const struct dev_pm_ops vortex_pm_ops = { | |||
| 901 | #endif /* !CONFIG_PM */ | 901 | #endif /* !CONFIG_PM */ |
| 902 | 902 | ||
| 903 | #ifdef CONFIG_EISA | 903 | #ifdef CONFIG_EISA |
| 904 | static const struct eisa_device_id vortex_eisa_ids[] __devinitconst = { | 904 | static struct eisa_device_id vortex_eisa_ids[] = { |
| 905 | { "TCM5920", CH_3C592 }, | 905 | { "TCM5920", CH_3C592 }, |
| 906 | { "TCM5970", CH_3C597 }, | 906 | { "TCM5970", CH_3C597 }, |
| 907 | { "" } | 907 | { "" } |
| 908 | }; | 908 | }; |
| 909 | MODULE_DEVICE_TABLE(eisa, vortex_eisa_ids); | 909 | MODULE_DEVICE_TABLE(eisa, vortex_eisa_ids); |
| 910 | 910 | ||
