[PATCH] Ethernet driver For BBB ported from FreeBSD

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 26 06:37:46 UTC 2015



On 25/06/15 18:18, ragunath wrote:
> This patch includes changes for porting cpsw ethernet driver for Beaglebone black from Freebsd.
> It also includes smsc phy ported from FreeBSD. Corresponding nexus devices are added.
> For networking to work properly, two additional changes are needed on the RTEMS side.
>
> ---
>   Makefile                                           |    3 +
>   freebsd/sys/arm/ti/cpsw/if_cpsw.c                  | 2239 ++++++++++++++++++++
>   freebsd/sys/arm/ti/cpsw/if_cpswreg.h               |  137 ++
>   freebsd/sys/arm/ti/cpsw/if_cpswvar.h               |  126 ++
>   freebsd/sys/dev/mii/smscphy.c                      |  227 ++
>   rtemsbsd/include/bsp/nexus-devices.h               |   34 +
>   rtemsbsd/include/machine/rtems-bsd-cache.h         |    2 +-
>   .../include/rtems/bsd/test/network-config.h.in     |    2 +
>   8 files changed, 2769 insertions(+), 1 deletion(-)
>   create mode 100644 freebsd/sys/arm/ti/cpsw/if_cpsw.c
>   create mode 100644 freebsd/sys/arm/ti/cpsw/if_cpswreg.h
>   create mode 100644 freebsd/sys/arm/ti/cpsw/if_cpswvar.h
>   create mode 100644 freebsd/sys/dev/mii/smscphy.c

As Gedare already mentioned, please separate the import commit from the 
rest. For example see git log and grep for "if_cgem:".

Which FreeBSD version did you use?

Don't modify the Makefile by hand.  Use libbsd.py instead and generate it.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list