[PATCH rtems 08/18] mv643xx_eth.c, mv643xx_eth_bsdnet.c: moved some definitions to public header

Vijay Kumar Banerjee vijay at rtems.org
Tue Mar 30 01:27:40 UTC 2021


From: till straumann <till.straumann at alumni.tu-berlin.de>

Update #4344
---
 bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c        | 5 -----
 bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c
index b475711fef..f786b66c5c 100644
--- a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c
+++ b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c
@@ -113,11 +113,6 @@
 /* Enable debugging messages and some support routines  (dump rings etc.)                    */      
 #undef  MVETH_DEBUG
 
-/* How many instances to we support (bsp.h could override) */
-#ifndef MV643XXETH_NUM_DRIVER_SLOTS
-#define MV643XXETH_NUM_DRIVER_SLOTS	2
-#endif
-
 #define TX_NUM_TAG_SLOTS			1 /* leave room for tag; must not be 0 */
 
 /* This is REAL; chip reads from 64-bit down-aligned buffer
diff --git a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c
index e233f96dde..0a42dc4190 100644
--- a/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c
+++ b/bsps/powerpc/beatnik/net/if_mve/mv643xx_eth_bsdnet.c
@@ -179,11 +179,6 @@
 
 #endif /* MVETH_TESTING */
 
-/* How many instances to we support (bsp.h could override) */
-#ifndef MV643XXETH_NUM_DRIVER_SLOTS
-#define MV643XXETH_NUM_DRIVER_SLOTS	2
-#endif
-
 #define DRVNAME			"mve"
 #define MAX_NUM_SLOTS   3
 
-- 
2.26.2



More information about the devel mailing list