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
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',
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
17 matches
Mail list logo