<div dir="ltr"><div dir="ltr"><div>I don't get notified of the replies to my patch. Not sure why.</div><div>Replies don't go to spam either. That's why my replies are late. <br></div><div>I added the <a href="http://rtems.org">rtems.org</a> to the whitelist. I hope next time I'll get notified ;)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021 at 5:38 AM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 28/7/21 9:56 pm, Husni Faiz wrote:<br>
> add the imported template files for CDC Ethernet<br>
> register the dev_usb_template module<br>
> enable usb template in default buildset<br>
> <br>
> Signed-off-by: Husni Faiz <<a href="mailto:ahamedhusni73@gmail.com" target="_blank">ahamedhusni73@gmail.com</a>><br>
> ---<br>
> buildset/default.ini | 1 +<br>
> buildset/minimal.ini | 3 ++-<br>
> libbsd.py | 25 +++++++++++++++++++++++++<br>
> 3 files changed, 28 insertions(+), 1 deletion(-)<br>
> <br>
> diff --git a/buildset/default.ini b/buildset/default.ini<br>
> index 472c535d..117bacc3 100644<br>
> --- a/buildset/default.ini<br>
> +++ b/buildset/default.ini<br>
> @@ -34,6 +34,7 @@ dev_usb_net = on<br>
> dev_usb_quirk = on<br>
> dev_usb_serial = on<br>
> dev_usb_storage = on<br>
> +dev_usb_template = on<br>
> dev_usb_wlan = off<br>
> dev_wlan_rtwn = off<br>
> iic = on<br>
> diff --git a/buildset/minimal.ini b/buildset/minimal.ini<br>
> index 03dd96bb..060b1930 100644<br>
> --- a/buildset/minimal.ini<br>
> +++ b/buildset/minimal.ini<br>
> @@ -19,5 +19,6 @@ extends = default.ini<br>
> <br>
> [modules]<br>
> crypto_openssl = off<br>
> +dev_usb_template = off<br>
> netinet6 = off<br>
> -usr_bin_openssl = off<br>
> +usr_bin_openssl = off<br>
> \ No newline at end of file<br>
<br>
What happened here?<br>
<br></blockquote><div>That's auto generated by the git format-patch. I don't see it in my files.</div><div>(Not sure why but Github-like services seem to use that to show the end of the file icon.</div><div>I assume they might get ignored when applying the patches.)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Chris<br>
<br>
> diff --git a/libbsd.py b/libbsd.py<br>
> index c9151901..049ec7f8 100644<br>
> --- a/libbsd.py<br>
> +++ b/libbsd.py<br>
> @@ -1162,6 +1162,30 @@ class dev_usb_storage(builder.Module):<br>
> mm.generator['source']()<br>
> )<br>
> <br>
> +#<br>
> +# USB Template<br>
> +#<br>
> +class dev_usb_template(builder.Module):<br>
> +<br>
> + def __init__(self, manager):<br>
> + super(dev_usb_template, self).__init__(manager, type(self).__name__)<br>
> +<br>
> + def generate(self):<br>
> + mm = self.manager<br>
> + self.addDependency('dev_usb')<br>
> + self.addKernelSpaceHeaderFiles(<br>
> + [<br>
> + 'sys/dev/usb/template/usb_template.h',<br>
> + ]<br>
> + )<br>
> + self.addKernelSpaceSourceFiles(<br>
> + [<br>
> + 'sys/dev/usb/template/usb_template.c',<br>
> + 'sys/dev/usb/template/usb_template_cdce.c',<br>
> + ],<br>
> + mm.generator['source']()<br>
> + )<br>
> +<br>
> #<br>
> # BBB USB<br>
> #<br>
> @@ -5480,6 +5504,7 @@ def load(mm):<br>
> <br>
> mm.addModule(cam(mm))<br>
> mm.addModule(dev_usb_storage(mm))<br>
> + mm.addModule(dev_usb_template(mm))<br>
> mm.addModule(dev_usb_controller_bbb(mm))<br>
> <br>
> mm.addModule(net(mm))<br>
> <br>
</blockquote></div></div>