Re: [OOPS] TLAN fails on ifconfig with CONFIG_HOTPLUG=n

From: Andrew Morton
Date: Tue Nov 11 2003 - 18:26:52 EST


jhf@xxxxxxxxxxxxxx (Joseph Fannin) wrote:
>
> I'm getting an Oops when ifup'ing a Compaq Netelligent card that
> uses the tlan driver running 2.6.

Does this fix it?

diff -puN drivers/net/tlan.c~tlan-oops-fix drivers/net/tlan.c
--- 25/drivers/net/tlan.c~tlan-oops-fix 2003-11-11 15:29:32.000000000 -0800
+++ 25-akpm/drivers/net/tlan.c 2003-11-11 15:29:38.000000000 -0800
@@ -234,7 +234,7 @@ static struct board {
const char *deviceLabel;
u32 flags;
u16 addrOfs;
-} board_info[] __devinitdata = {
+} board_info[] = {
{ "Compaq Netelligent 10 T PCI UTP", TLAN_ADAPTER_ACTIVITY_LED, 0x83 },
{ "Compaq Netelligent 10/100 TX PCI UTP", TLAN_ADAPTER_ACTIVITY_LED, 0x83 },
{ "Compaq Integrated NetFlex-3/P", TLAN_ADAPTER_NONE, 0x83 },

_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/