fix AT8032
authorDavid Bauer <mail@david-bauer.net>
Sun, 19 Jan 2020 12:57:15 +0000 (13:57 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 19 Jan 2020 12:57:15 +0000 (13:57 +0100)
target/linux/generic/pending-5.4/180-net-phy-at803x-add-support-for-AT8032.patch

index d236542009d24a1360a6e79bffdff78f79485578..224e06f7935a04dd1f712ab7bbb0e0e6f05c4c34 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
         * signalled. This is necessary to circumvent a hardware bug that
         * occurs when the cable is unplugged while TX packets are pending
         * in the FIFO. In such cases, the FIFO enters an error mode it
-@@ -471,6 +473,24 @@ static struct phy_driver at803x_driver[]
+@@ -471,6 +473,20 @@ static struct phy_driver at803x_driver[]
        .aneg_done              = at803x_aneg_done,
        .ack_interrupt          = &at803x_ack_interrupt,
        .config_intr            = &at803x_config_intr,
@@ -44,10 +44,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +      .get_wol                = at803x_get_wol,
 +      .suspend                = at803x_suspend,
 +      .resume                 = at803x_resume,
-+      .features               = PHY_BASIC_FEATURES,
-+      .flags                  = PHY_HAS_INTERRUPT,
-+      .config_aneg            = genphy_config_aneg,
-+      .read_status            = genphy_read_status,
 +      .ack_interrupt          = at803x_ack_interrupt,
 +      .config_intr            = at803x_config_intr,
  } };