[PATCH rtems-libbsd 5/5] libbsd: USB Template Driver Documentation

2021-08-01 Thread Husni Faiz
Signed-off-by: Husni Faiz --- libbsd/device_driver.rst | 30 ++ libbsd/index.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 libbsd/device_driver.rst diff --git a/libbsd/device_driver.rst b/libbsd/device_driver.rst new file mode 100644 index

[PATCH rtems-libbsd 4/5] wscript: Enable build for LibBSD Doc

2021-08-01 Thread Husni Faiz
Signed-off-by: Husni Faiz --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index fd8f10c..5ae735d 100644 --- a/wscript +++ b/wscript @@ -35,7 +35,8 @@ build_all = ['user', 'shell',

[PATCH rtems-libbsd 3/5] libbsd: Add conf.py and wscript for the libbsd doc.

2021-08-01 Thread Husni Faiz
Signed-off-by: Husni Faiz --- libbsd/conf.py | 14 ++ libbsd/wscript | 7 +++ 2 files changed, 21 insertions(+) create mode 100644 libbsd/conf.py create mode 100644 libbsd/wscript diff --git a/libbsd/conf.py b/libbsd/conf.py new file mode 100644 index 000..3f76889

[PATCH rtems-libbsd 2/5] libbsd: Index for LibBSD Doc

2021-08-01 Thread Husni Faiz
Add the index file and an empty page for introduction. Signed-off-by: Husni Faiz --- libbsd/index.rst| 23 +++ libbsd/introduction.rst | 8 2 files changed, 31 insertions(+) create mode 100644 libbsd/index.rst create mode 100644 libbsd/introduction.rst

[PATCH rtems-libbsd 1/5] libbsd: Quick Start Guide for RTEMS LibBSD

2021-08-01 Thread Husni Faiz
This guide has instructions to build the RTESM LibBSD manually for Beagle BSP. Signed-off-by: Husni Faiz --- libbsd/quick_start.rst | 51 ++ 1 file changed, 51 insertions(+) create mode 100644 libbsd/quick_start.rst diff --git a/libbsd/quick_start.rst b

[PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-01 Thread Husni Faiz
umentation. Husni Faiz (5): libbsd: Quick Start Guide for RTEMS LibBSD libbsd: Index for LibBSD Doc libbsd: Add conf.py and wscript for the libbsd doc. wscript: Enable build for LibBSD Doc libbsd: USB Template Driver Documentation libbsd/conf.py | 14 +++ libbsd/device_drive

[PATCH rtems-libbsd v2 5/5] create-kernel-namespace for USB Template driver

2021-07-28 Thread Husni Faiz
Signed-off-by: Husni Faiz --- rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h index 97cdb625..ae56ad9c 100644 --- a

[PATCH rtems-libbsd v2 4/5] libbsd.py: add usb template files

2021-07-28 Thread Husni Faiz
add the imported template files for CDC Ethernet register the dev_usb_template module enable usb template in default buildset Signed-off-by: Husni Faiz --- buildset/default.ini | 1 + buildset/minimal.ini | 3 ++- libbsd.py| 25 + 3 files changed, 28

[PATCH rtems-libbsd v2 3/5] nexus-devices: Include CDC Ethernet for Beagle

2021-07-28 Thread Husni Faiz
Configure bus for CDC Ethernet Include CDC Ethernet in Beagle BSP Signed-off-by: Husni Faiz --- rtemsbsd/include/bsp/nexus-devices.h | 5 + .../include/machine/rtems-bsd-nexus-bus.h | 19 +++ 2 files changed, 24 insertions(+) diff --git a/rtemsbsd/include/bsp

[PATCH rtems-libbsd v2 2/5] usb_template: Configure template driver only for CDC Ethernet

2021-07-28 Thread Husni Faiz
Add the conditional macro to prevent the driver from referencing the templates which are not imported yet. Include functions which adds the hw.usb.template sysctl variable. Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 4 freebsd/sys/dev/usb/usb_device.c

[PATCH rtems-libbsd v2 1/5] usb_template:Import CDC Ethernet

2021-07-28 Thread Husni Faiz
Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 1489 + freebsd/sys/dev/usb/template/usb_template.h | 130 ++ .../sys/dev/usb/template/usb_template_cdce.c | 355 3 files changed, 1974 insertions(+) create mode 100644 freebsd/sys/dev/usb

[PATCH rtems-libbsd v2 0/5] Beagle BSP: USB Template Driver for CDC Ethernet

2021-07-28 Thread Husni Faiz
This set of patches import the drivers from freebsd and configures it for the beagle bsp. Github Branch for the commits https://github.com/drac98/rtems-libbsd/commits/usb-cdce Patch for 6-freebsd-12 branch https://github.com/drac98/rtems-libbsd/commits/usb-cdce12 Husni Faiz (5

[PATCH rtems-libbsd 4/4] libbsd.py: add usb template files

2021-07-06 Thread Husni Faiz
add the imported template files for CDC Ethernet register the dev_usb_template module enable usb template in default buildset Signed-off-by: Husni Faiz --- buildset/default.ini | 1 + buildset/minimal.ini | 3 ++- libbsd.py| 25 + 3 files changed, 28

[PATCH rtems-libbsd 3/4] nexus-devices: Include CDC Ethernet for Beagle

2021-07-06 Thread Husni Faiz
Configure bus for CDC Ethernet Include CDC Ethernet in Beagle BSP Signed-off-by: Husni Faiz --- rtemsbsd/include/bsp/nexus-devices.h | 5 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 17 + 2 files changed, 22 insertions(+) diff --git a/rtemsbsd/include/bsp

[PATCH rtems-libbsd 2/4] usb_template: Configure template driver only for CDC Ethernet

2021-07-06 Thread Husni Faiz
Add the conditional macro to prevent the driver from referencing the templates which are not imported yet. Include functions which adds the hw.usb.template sysctl variable. Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 4 freebsd/sys/dev/usb/usb_device.c

[PATCH rtems-libbsd 1/4] usb_template:Import CDC Ethernet

2021-07-06 Thread Husni Faiz
Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 1489 + freebsd/sys/dev/usb/template/usb_template.h | 130 ++ .../sys/dev/usb/template/usb_template_cdce.c | 355 3 files changed, 1974 insertions(+) create mode 100644 freebsd/sys/dev/usb

[PATCH rtems-libbsd 0/4] Beagle BSP: USB Template Driver for CDC Ethernet

2021-07-06 Thread Husni Faiz
This set of patches import the drivers from freebsd and configures it for the beagle bsp. Github Branch for the commits https://github.com/drac98/rtems-libbsd/commits/usb-cdce Husni Faiz (4): usb_template:Import CDC Ethernet usb_template: Configure template driver only for CDC Ethernet