diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c b/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c index c4586dd309..3d42d9f53b 100644 --- a/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c +++ b/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c @@ -24,7 +24,7 @@ #define RDA_COUNT 16 #define TDA_COUNT 16 -open_eth_configuration_t leon_open_eth_configuration; +open_eth_configuration_t leon_open_eth_configuration; int rtems_leon_open_eth_driver_attach( struct rtems_bsdnet_ifconfig *config, @@ -54,7 +54,7 @@ int rtems_leon_open_eth_driver_attach( } - if (device_found) + if (device_found) { /* clear control register and reset NIC */ *(volatile int *) base_addr = 0; @@ -69,7 +69,7 @@ int rtems_leon_open_eth_driver_attach( if (rtems_open_eth_driver_attach( config, &leon_open_eth_configuration )) { LEON_Clear_interrupt(leon_open_eth_configuration.vector); LEON_Unmask_interrupt(leon_open_eth_configuration.vector); - } + } } return 0; } |