]> err.no Git - linux-2.6/commitdiff
3c980-TX needs EXTRA_PREAMBLE
authorGunnar Larisch <Gunnar.Larisch@gmx.de>
Mon, 5 May 2008 12:01:28 +0000 (14:01 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 16:22:10 +0000 (12:22 -0400)
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.

Signed-off-by: Gunnar Larisch <Gunnar.Larisch@gmx.de>
Acked-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/3c59x.c

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