[PATCH v3 6/7] Added Ethernet support for Raspberry Pi.

Deval Shah deval.maker at gmail.com
Wed Aug 31 08:59:52 UTC 2016


---
 rtemsbsd/include/bsp/nexus-devices.h                 | 2 ++
 testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index ce9d45c..7ba3541 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -90,6 +90,8 @@ RTEMS_BSD_DRIVER_BCM283X_DWCOTG(BCM2835_USB_BASE,
 			BCM2835_IRQ_ID_USB);
 RTEMS_BSD_DRIVER_USB;
 RTEMS_BSD_DRIVER_USB_MASS;
+RTEMS_BSD_DRIVER_SMSC;
+RTEMS_BSD_DRIVER_UKPHY;
 
 #elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
 
diff --git a/testsuite/include/rtems/bsd/test/network-config.h.in b/testsuite/include/rtems/bsd/test/network-config.h.in
index 34c48b4..d74248d 100644
--- a/testsuite/include/rtems/bsd/test/network-config.h.in
+++ b/testsuite/include/rtems/bsd/test/network-config.h.in
@@ -42,6 +42,8 @@
   #define NET_CFG_INTERFACE_0 "cgem0"
 #elif defined(LIBBSP_M68K_GENMCF548X_BSP_H)
   #define NET_CFG_INTERFACE_0 "fec0"
+#elif defined(LIBBSP_ARM_RASPBERRYPI_BSP_H)
+  #define NET_CFG_INTERFACE_0 "ue0"
 #else
   #define NET_CFG_INTERFACE_0 "lo0"
 #endif
-- 
2.7.4




More information about the devel mailing list