Skip to content

Commit a2ffc6d

Browse files
committed
Formatting
1 parent 52a2bd9 commit a2ffc6d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/portable/NetworkInterface/Zynq/x_emacpsif_physpeed.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ unsigned configure_IEEE_phy_speed( XEmacPs * xemacpsp,
500500
return 0;
501501
}
502502

503-
static void WriteSLCRDivisors(int mac_baseaddr,
504-
u32 SlcrDiv0,
505-
u32 SlcrDiv1)
503+
static void WriteSLCRDivisors( int mac_baseaddr,
504+
u32 SlcrDiv0,
505+
u32 SlcrDiv1)
506506
{
507507
volatile u32 slcrBaseAddress;
508508
if( ( unsigned long ) mac_baseaddr == EMAC0_BASE_ADDRESS )
@@ -558,15 +558,15 @@ static void SetUpSLCRDivisors( int mac_baseaddr,
558558
#ifdef XPAR_PS7_ETHERNET_0_ENET_SLCR_1000MBPS_DIV0
559559
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_0_ENET_SLCR_1000MBPS_DIV0;
560560
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_0_ENET_SLCR_1000MBPS_DIV1;
561-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
561+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
562562
#endif
563563
}
564564
else
565565
{
566566
#ifdef XPAR_PS7_ETHERNET_1_ENET_SLCR_1000MBPS_DIV0
567567
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_1_ENET_SLCR_1000MBPS_DIV0;
568568
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_1_ENET_SLCR_1000MBPS_DIV1;
569-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
569+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
570570
#endif
571571
}
572572
}
@@ -577,15 +577,15 @@ static void SetUpSLCRDivisors( int mac_baseaddr,
577577
#ifdef XPAR_PS7_ETHERNET_0_ENET_SLCR_100MBPS_DIV0
578578
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_0_ENET_SLCR_100MBPS_DIV0;
579579
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_0_ENET_SLCR_100MBPS_DIV1;
580-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
580+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
581581
#endif
582582
}
583583
else
584584
{
585585
#ifdef XPAR_PS7_ETHERNET_1_ENET_SLCR_100MBPS_DIV0
586586
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_1_ENET_SLCR_100MBPS_DIV0;
587587
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_1_ENET_SLCR_100MBPS_DIV1;
588-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
588+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
589589
#endif
590590
}
591591
}
@@ -596,15 +596,15 @@ static void SetUpSLCRDivisors( int mac_baseaddr,
596596
#ifdef XPAR_PS7_ETHERNET_0_ENET_SLCR_10MBPS_DIV0
597597
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_0_ENET_SLCR_10MBPS_DIV0;
598598
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_0_ENET_SLCR_10MBPS_DIV1;
599-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
599+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
600600
#endif
601601
}
602602
else
603603
{
604604
#ifdef XPAR_PS7_ETHERNET_1_ENET_SLCR_10MBPS_DIV0
605605
u32 SlcrDiv0 = XPAR_PS7_ETHERNET_1_ENET_SLCR_10MBPS_DIV0;
606606
u32 SlcrDiv1 = XPAR_PS7_ETHERNET_1_ENET_SLCR_10MBPS_DIV1;
607-
WriteSLCRDivisors(mac_baseaddr, SlcrDiv0, SlcrDiv1);
607+
WriteSLCRDivisors( mac_baseaddr, SlcrDiv0, SlcrDiv1 );
608608
#endif
609609
}
610610
}

0 commit comments

Comments
 (0)