ravb_write(ndev, ECSIPR_ICDIP | ECSIPR_MPDIP | ECSIPR_LCHNGIP, ECSIPR);
 }
 
-/* Device init function for Ethernet AVB */
-static int ravb_dmac_init(struct net_device *ndev)
+static void ravb_rcar_dmac_init(struct net_device *ndev)
 {
        struct ravb_private *priv = netdev_priv(ndev);
        const struct ravb_hw_info *info = priv->info;
-       int error;
-
-       /* Set CONFIG mode */
-       error = ravb_config(ndev);
-       if (error)
-               return error;
-
-       error = ravb_ring_init(ndev, RAVB_BE);
-       if (error)
-               return error;
-       error = ravb_ring_init(ndev, RAVB_NC);
-       if (error) {
-               ravb_ring_free(ndev, RAVB_BE);
-               return error;
-       }
-
-       /* Descriptor format */
-       ravb_ring_format(ndev, RAVB_BE);
-       ravb_ring_format(ndev, RAVB_NC);
 
        /* Set AVB RX */
        ravb_write(ndev,
        ravb_write(ndev, RIC2_QFE0 | RIC2_QFE1 | RIC2_RFFE, RIC2);
        /* Frame transmitted, timestamp FIFO updated */
        ravb_write(ndev, TIC_FTE0 | TIC_FTE1 | TIC_TFUE, TIC);
+}
+
+/* Device init function for Ethernet AVB */
+static int ravb_dmac_init(struct net_device *ndev)
+{
+       struct ravb_private *priv = netdev_priv(ndev);
+       const struct ravb_hw_info *info = priv->info;
+       int error;
+
+       /* Set CONFIG mode */
+       error = ravb_config(ndev);
+       if (error)
+               return error;
+
+       error = ravb_ring_init(ndev, RAVB_BE);
+       if (error)
+               return error;
+       error = ravb_ring_init(ndev, RAVB_NC);
+       if (error) {
+               ravb_ring_free(ndev, RAVB_BE);
+               return error;
+       }
+
+       /* Descriptor format */
+       ravb_ring_format(ndev, RAVB_BE);
+       ravb_ring_format(ndev, RAVB_NC);
+
+       info->dmac_init(ndev);
 
        /* Setting the control will start the AVB-DMAC process. */
        ravb_modify(ndev, CCC, CCC_OPC, CCC_OPC_OPERATION);
        .receive = ravb_rcar_rx,
        .set_rate = ravb_set_rate,
        .set_rx_csum_feature = ravb_set_features_rx_csum,
+       .dmac_init = ravb_rcar_dmac_init,
        .gstrings_stats = ravb_gstrings_stats,
        .gstrings_size = sizeof(ravb_gstrings_stats),
        .net_hw_features = NETIF_F_RXCSUM,
        .receive = ravb_rcar_rx,
        .set_rate = ravb_set_rate,
        .set_rx_csum_feature = ravb_set_features_rx_csum,
+       .dmac_init = ravb_rcar_dmac_init,
        .gstrings_stats = ravb_gstrings_stats,
        .gstrings_size = sizeof(ravb_gstrings_stats),
        .net_hw_features = NETIF_F_RXCSUM,