[Top] [All Lists]

[PATCH 2.6.4-rc3] pcnet32.c oops

To: tsbogend@xxxxxxxxxxxxxxxx, jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx
Subject: [PATCH 2.6.4-rc3] pcnet32.c oops
From: Don Fry <brazilnut@xxxxxxxxxx>
Date: Wed, 10 Mar 2004 13:08:17 -0800 (PST)
Sender: netdev-bounce@xxxxxxxxxxx
Please apply the following fix to 2.6.3-rc4.

When adding an additional device, a variable which has been removed
is accessed.  Adding the first device or a 4-port card works.
Adding a second device was not done in PCI hot plug testing.  Now
tested on IA32.

--- linux-2.6.4-rc3/drivers/net/orig.pcnet32.c  Wed Mar 10 08:55:40 2004
+++ linux-2.6.4-rc3/drivers/net/pcnet32.c       Wed Mar 10 11:35:41 2004
@@ -69,7 +69,7 @@
 MODULE_DEVICE_TABLE (pci, pcnet32_pci_tbl);
-int cards_found __initdata;
+static int cards_found;
  * VLB I/O addresses

Don Fry

<Prev in Thread] Current Thread [Next in Thread>