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

Andrew Morton
2003-11-11T23:26:13Z

jhf@rivenstone.net (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 },

_