OSDN Git Service

3c980-TX needs EXTRA_PREAMBLE
authorGunnar Larisch <Gunnar.Larisch@gmx.de>
Sat, 17 May 2008 15:06:49 +0000 (17:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 1 Jun 2008 18:23:57 +0000 (20:23 +0200)
The ethernet card 3c980-TX needs a mdio_sync() to initialize the ethernet
properly. This is forced by adding an EXTRA_PREAMBLE to its drv_flags.

Without this, the driver did not reconnect after a link loss since
Version 2.4.29.

Signed-off-by: Gunnar Larisch <Gunnar.Larisch@gmx.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/net/3c59x.c

index f49861a..e4dff5e 100644 (file)
@@ -517,7 +517,7 @@ static struct vortex_chip_info {
        {"3c920B-EMB-WNM (ATI Radeon 9100 IGP)",
         PCI_USES_IO|PCI_USES_MASTER, IS_TORNADO|HAS_MII|HAS_HWCKSM, 128, },
        {"3c980 Cyclone",
-        PCI_USES_IO|PCI_USES_MASTER, IS_CYCLONE|HAS_HWCKSM, 128, },
+        PCI_USES_IO|PCI_USES_MASTER, IS_CYCLONE|HAS_HWCKSM|EXTRA_PREAMBLE, 128, },
 
        {"3c980C Python-T",
         PCI_USES_IO|PCI_USES_MASTER, IS_CYCLONE|HAS_NWAY|HAS_HWCKSM, 128, },