Hi, The libbsd one is a concatenation of all the functions, generic as well as bsp specific into one file.The recent version of FreeBSD implements it such that bcm_sdhci.c uses generic functions defined in sdhci.c and builds the driver specific to the bsp. This provides more modularity. Another difference between the recent version and the libbsd one is in the structures of *sdhci slot* and *software context.* So modification of the libbsd version would finally result in the concatenation of the two files namely , sdhci.c and bcm_sdhci.c from the recent FreeBSD. Thus I replaced the entire sdhci.c. I had previously asked regarding this. .
If modification of the libbsd sdhci.c is better alternative, that can be done. Mudit On Fri, Jun 10, 2016 at 6:49 AM, Chris Johns <chr...@rtems.org> wrote: > On 09/06/2016 19:20, Mudit Jain wrote: > >> Is this resource structure appropriate for mbox ? >> >> Github Link <https://github.com/spark1729/rtems-libbsd/commits/RPI_SD> >> > > I may have missed something but the sdhci.c source looks like a recent > version rather than the FreeBSD version libbsd is based on. Why is this? > > Chris > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel