541 Commits

Author SHA1 Message Date
Christian Mauderer
592003fa3e imx: Fix build for all other BSPs. 2020-04-16 10:51:48 +02:00
Christian Mauderer
b3da96ceb8 imx6_usbphy: Add regulator (vbus-supply).
Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
2eab5465f3 ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.

Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
4a2d99b4b0 ehci_imx: Port to RTEMS
Update #3869.
2020-04-15 16:14:18 +02:00
Sebastian Huber
29eda67d54 ehci_imx: Import from FreeBSD
Update #3869.
2020-04-15 16:14:18 +02:00
Christian Mauderer
404ad60f5f regulator: Import from FreeBSD.
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
10aa08e580 imx gpio port
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
f88f7a02ad imx6_ccm: Port to RTEMS
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
beabd3bfa9 imx6_ccm: Import from FreeBSD
Update #3869.
2020-04-14 16:39:20 +02:00
Sebastian Huber
64c45b5a1a usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-14 16:39:20 +02:00
Christian Mauderer
cec7e3f982 mmcsd: Don't handle multiple hardware partitions.
The rtems_bsd_mmcsd_attach_worker acquired the bus without releasing it.
If a MMC device has multiple hardware partitions (like eMMC which
typically has at least one boot partition) the
rtems_bsd_mmcsd_attach_worker would try to acquire the bus multiple
times. This doesn't work.

Doing it right would mean to acquire and release the bus for each
access which would have an performance impact. Beneath that it would
mean that partition switching has to be supported by the RTEMS code too.

There is currently no known use case where the access would be
necessary. Therefore this patch prefers the performance and just avoids
all further hardware partitions.
2020-04-01 14:12:47 +02:00
Sebastian Huber
835250de09 Fix INVARIANTS support 2020-03-31 09:26:36 +02:00
Sebastian Huber
46b3858b27 Update to FreeBSD stable/12 2020-02-10
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
2020-02-18 15:00:48 +01:00
Sebastian Huber
9d905758df EVENTHANDLER(9): Avoid multiple definition errors 2020-02-10 18:20:13 +01:00
Sebastian Huber
6735da1a70 NVME(4): Add NVME_GET_NAMESPACE IO control
Update #3821.
2019-11-13 13:22:22 +01:00
Sebastian Huber
16c04c33ef NVME(4): Enable per-CPU IO queues
Update #3821.
2019-11-13 13:22:19 +01:00
Sebastian Huber
13f34a7f73 NVME(4): Add support for SGL
Update #3821.
2019-11-13 13:22:17 +01:00
Sebastian Huber
90a95b575d NVME(4): Add SGL descriptor
Update #3821.
2019-11-13 13:22:15 +01:00
Sebastian Huber
d97f1710db NVME(4): Optimize data transfer
Update #3821.
2019-11-13 13:22:14 +01:00
Sebastian Huber
aaeae61bd0 NVME(4): Big endian support
Update #3821.
2019-11-13 13:22:12 +01:00
Sebastian Huber
da6b9a1891 NVME(4): Port to RTEMS
Update #3821.
2019-11-13 13:22:10 +01:00
Sebastian Huber
5ac41dcb21 NVME(4): Import from FreeBSD
Update #3821.
2019-11-13 13:21:54 +01:00
Sebastian Huber
b5f802ef43 Add support for EARLY_COUNTER 2019-09-25 10:59:50 +02:00
Sebastian Huber
f105680799 Remove obsolete header files 2019-09-25 09:26:20 +02:00
Sebastian Huber
4a6660cee0 Fix pgsigio() warnings 2019-09-25 09:25:06 +02:00
Sebastian Huber
37323bb819 Update to FreeBSD stable/12 2019-09-23
Git mirror commit 7e8d1444023128d34fb9aa4e4515928a4f794d1b.
2019-09-23 15:07:12 +02:00
Sebastian Huber
d06c638d7b Add pselect() 2019-09-23 14:28:42 +02:00
Sebastian Huber
54ded22289 PCI(4): Import missing file 2019-09-23 10:34:31 +02:00
Sebastian Huber
cb02e72a1e PCI(4): Disable unsupported features 2019-09-23 10:34:31 +02:00
Sebastian Huber
cdbae21e4d PCI(4): Add big endian support 2019-09-23 10:34:16 +02:00
Sebastian Huber
aedff4f6e8 CONFIG_INTRHOOK(9): Call handlers after boot
This enables adding drivers on demand which use this service after
initialization.
2019-09-23 10:26:34 +02:00
Sebastian Huber
329cf5c013 C++ compatibility for <dev/pci/pcivar.h> 2019-09-23 10:13:28 +02:00
Sebastian Huber
25e5265719 C++ compatibility for kernel space <sys/sysctl.h> 2019-09-23 10:13:28 +02:00
Sebastian Huber
054f66bfff libsodium: Disable unused function 2019-08-27 10:26:07 +02:00
Sebastian Huber
303dbe5f05 tty.c: Disable unused functions 2019-08-27 10:11:07 +02:00
Sebastian Huber
f2124b600b pf_ioctl.c: Disable superfluous unload support 2019-08-27 10:06:53 +02:00
Sebastian Huber
19a0e2de5c kern_intr.c: Disable unused functions 2019-08-27 10:04:31 +02:00
Sebastian Huber
e897a832ad Remove superfluous support for preloaded modules 2019-08-27 09:55:43 +02:00
Sebastian Huber
3411e3d738 Update to FreeBSD stable/12 2019-08-26
Git mirror commit 621e7bafbf6857451f23ba11b0495c7ac69aff89.
2019-08-26 09:39:40 +02:00
Sebastian Huber
c0dc524614 SLEEPQUEUE(9): Optimize sleepq_set_timeout_sbt()
Avoid an extra ISR disable/enable in SMP configurations.
2019-08-26 08:23:36 +02:00
Sebastian Huber
5283630d2c Update to FreeBSD stable/12 2019-07-09
Git mirror commit 3427c3416aa3c0f25124070959cca78024b94d85.
2019-07-09 14:45:47 +02:00
Sebastian Huber
660a8835eb SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:47 +02:00
Sebastian Huber
bbd07d1ac9 Import missing header file 2019-06-28 08:53:34 +02:00
Sebastian Huber
7ece7548c1 Update to FreeBSD stable/12 2019-06-26
Git mirror commit aa83598855d14cdbf7aef6b05d0617e90f87ca2f.
2019-06-26 13:44:21 +02:00
Sebastian Huber
705e362ea5 Update to FreeBSD stable/12 2019-06-05
Git mirror commit 78576620f2689e23144a1cf1bf55106cc6abe2b7.
2019-06-05 14:16:00 +02:00
Sebastian Huber
5cb01f2779 Add riscv support 2019-05-23 08:09:34 +02:00
Sebastian Huber
edc4bf9f71 Separate libbsd and RTEMS clock ticks 2019-05-15 13:43:49 +02:00
Sebastian Huber
f6075e1837 Fix USB_DEBUG redefinition warnings 2019-05-15 13:43:48 +02:00
Sebastian Huber
2f9d60c613 Add hostname related sysctls conditionally
This helps to the reduce code size for USB only use cases.
2019-05-13 10:15:58 +02:00
Sebastian Huber
49c75e331e Use static inline functions for jail and prison
This helps the compiler to optimize away dead code.
2019-05-13 09:34:01 +02:00