diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c b/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c index abb35cee93..47b4d7a413 100644 --- a/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c +++ b/c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c @@ -30,9 +30,9 @@ #define SMC91111_BASE_PIO 4 scmv91111_configuration_t leon_scmv91111_configuration = { - SMC91111_BASE_ADDR, /* base address */ - SMC91111_BASE_IRQ, /* vector number */ - SMC91111_BASE_PIO, /* PIO */ + SMC91111_BASE_ADDR, /* base address */ + SMC91111_BASE_IRQ, /* vector number */ + SMC91111_BASE_PIO, /* PIO */ 100, /* 100b */ 1, /* fulldx */ 1 /* autoneg */ @@ -56,7 +56,7 @@ int rtems_smc91111_driver_attach_leon2(struct rtems_bsdnet_ifconfig *config) *((volatile unsigned int *)0x800000A8) |= (0xe0 | leon_scmv91111_configuration.pio) << (8 * ((leon_scmv91111_configuration.vector & 0x0f) - 4)); - + return _rtems_smc91111_driver_attach(config,&leon_scmv91111_configuration); }; |