summaryrefslogtreecommitdiffstats
path: root/freebsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* imx: Remove ccm functions alredy defined in RTEMSChristian Mauderer2021-09-021-0/+2
| | | | | | | The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in libbsd. Otherwise some applications get linker errors. Update #3869
* i386: Remove unneeded include header filesJan Sommer2021-06-071-6/+0
|
* MMCSD: Use cache aligned alloc for ioctlChristian Mauderer2021-04-191-0/+4
| | | | | Some drivers can't easily work with buffers that are not cache aligned and have an arbitrary length. Therefore use an aligned malloc instead.
* ping6: Honor file descriptor maximumChristian Mauderer2021-03-261-0/+11
| | | | | | This is basically the same as the patch for ping. Update #4360
* arm/ti/ti_pinmux: Remove TI pinmux driverG S Niteesh Babu2021-03-214-895/+0
| | | | | | | | | | | | | | The TI driver has been moved to RTEMS so the driver can be removed from libBSD. The following files have been removed from libBSD and moved to RTEMS. 1) ti/am335x/am335x_scm_padconf.c 2) ti/am335x/am335x_scm_padconf.h 3) ti/ti_pinmux.c 4) ti/ti_pinmux.h Update #3784
* ehci_pci: Import from freebsd-orgMoyano, Gabriel2021-03-082-0/+636
| | | | Updates #4264
* wpa: Fix multiple definition of `hmac_md5`Christian Mauderer2020-12-141-0/+4
| | | | hmac_md5 is defined in dhcpcd and in wpa supplicant.
* if_ffec: Fix cache handling on txChristian Mauderer2020-11-201-5/+6
| | | | | | | | | | | | | | | | With the previous fix, it could happen that the end of the packet hasn't been flushed. For example assume the following addresses: ds_addr: 0x81c804A ds_len: 0x57 In that case the data ends at 0x81c80a1. But due to the rounding the area from 0x81c8040 to 0x81c80a0 would have been flushed. This fix now first calculates the start and end address, aligns these addresses and then recalculates the len that has to be flushed. Update #4180
* Update arm64/aarch64 supportKinsey Moore2020-11-137-0/+1997
|
* dwc_otg: Add support for nexus busSebastian Huber2020-10-271-0/+3
| | | | Update #3910.
* dwc_otg: Update host frame intervalSebastian Huber2020-10-271-40/+24
| | | | | | | Update the host frame interval after a device connection. Select also the FS/LS PHY clock. It is not clear if this works on all platforms. Update #3910.
* Add moxie supportSebastian Huber2020-09-231-0/+83
|
* Add or1k supportSebastian Huber2020-09-231-0/+83
|
* ck: Use default implementation < ARMv6Sebastian Huber2020-09-231-0/+2
|
* i386: Delete old machine dependent filesJan Sommer2020-09-163-75/+0
| | | | | | | | - The files in the i386 directory have been moved to common x86 directories by FreeBSD: - freebsd/sys/i386/include/machine/bus.h - freebsd/sys/x86/include/machine/legacyvar.h - freebsd/sys/x86/include/machine/specialreg.h - Add header files in rtemsbsd directory to direct compiler to new files
* iflib.c: Deactivate use of ifc_cpusJan Sommer2020-09-162-0/+28
| | | | | | - cpusets and SMP are currently not supported in libbsd for RTEMS - Disable the ifc_cpus context variable and replace its usage, essentially hard-coding for cpu 0
* Callout: Redefine callout_reset_on for rtemsJan Sommer2020-09-161-0/+6
| | | | | | | | - callout_reset_on takes a cpu which is ignored by the subsequent call to callout_reset_sbt_on in RTEMS. - The macro is redefined to discard the cpu argument directly which enables uses of it with cpu-dependent variables (disabled in RETMS) without further changes, e.g. in iflib.c.
* e1000: Add missing filesJan Sommer2020-09-166-0/+8792
|
* ifmcstat: Port to RTEMSSebastian Huber2020-09-106-2/+72
|
* ifmcstat: Import from FreeBSDSebastian Huber2020-09-102-0/+1320
|
* if_ffec: Align send buffers to cache if necessary.Christian Mauderer2020-07-291-2/+10
|
* rtwn_usb: Make sure buffers are cache alignedChristian Mauderer2020-07-292-0/+18
|
* busdma: Option to round to cache lines on syncChristian Mauderer2020-07-295-0/+66
| | | | | | | | | | Some targets support only flushing or invalidating complete cache lines. In this cases misaligned buffers might lead to unexpected results. This patch adds a flag that allows drivers to signal to the bus dma driver that it is OK to round a buffer to the next full cache line. That's for example necessary if a driver wants to send out 14 byte via a USB DMA. Only the driver knows whether these 14 bytes are located in an otherwise unused cache line aligned buffer.
* imx: Use RTEMS GPIO driver instead of FreeBSD oneChristian Mauderer2020-07-291-914/+0
| | | | Update 3869
* gpioregulator: Remove.Christian Mauderer2020-07-291-352/+0
| | | | | | | | | There is a bug in the #ifdef regarding FDT so this file hasn't been compiled. If that bug is solved, the driver doesn't work for some other reason. With the FDT-bug the driver hasn't been used by anyone. So just remove it again.
* imx6_usbphy: Fix regulator (vbus-supply)Christian Mauderer2020-04-201-1/+1
| | | | Update #3869.
* regulator: Disable FDT parts for non-FDT targetsChristian Mauderer2020-04-172-0/+4
|
* imx: Fix build for all other BSPs.Christian Mauderer2020-04-163-0/+13
|
* imx6_usbphy: Add regulator (vbus-supply).Christian Mauderer2020-04-151-0/+31
| | | | Update #3869.
* ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.Christian Mauderer2020-04-151-0/+59
| | | | | | | | 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.
* ehci_imx: Port to RTEMSChristian Mauderer2020-04-152-0/+23
| | | | Update #3869.
* ehci_imx: Import from FreeBSDSebastian Huber2020-04-152-0/+728
| | | | Update #3869.
* regulator: Import from FreeBSD.Christian Mauderer2020-04-156-0/+2330
| | | | Update #3869.
* imx gpio portSebastian Huber2020-04-151-0/+1
| | | | Update #3869.
* imx6_ccm: Port to RTEMSSebastian Huber2020-04-151-0/+7
| | | | Update #3869.
* imx6_ccm: Import from FreeBSDSebastian Huber2020-04-156-0/+969
| | | | Update #3869.
* usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOCSebastian Huber2020-04-151-0/+4
| | | | | Some BSPs have a cache-coherent memory area, however, it should not be used for the USB controller.
* mmcsd: Don't handle multiple hardware partitions.Christian Mauderer2020-04-011-0/+13
| | | | | | | | | | | | | | | | 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.
* NVME(4): Fix for big endian platformsSebastian Huber2020-02-181-0/+10
| | | | Update #3821.
* EVENTHANDLER(9): Avoid multiple definition errorsSebastian Huber2020-02-101-6/+4
|
* i386: Port to RTEMSJan Sommer2020-02-107-381/+32
| | | | | - Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on"
* i386: Add missing files from FreeBSDJan Sommer2020-02-105-0/+704
| | | | - Files needed to make rtems-libbsd build again for i386
* SOCKATMARK(3): Import from FreeBSDSebastian Huber2019-12-191-0/+43
| | | | Update #3798.
* NVMECONTROL(8): Port to RTEMSSebastian Huber2019-11-1321-4/+191
| | | | Update #3821.
* NVMECONTROL(8): Import from FreeBSDSebastian Huber2019-11-1322-0/+6071
| | | | Update #3821.
* NVME(4): Add NVME_GET_NAMESPACE IO controlSebastian Huber2019-11-132-0/+8
| | | | Update #3821.
* NVME(4): Enable per-CPU IO queuesSebastian Huber2019-11-131-0/+7
| | | | Update #3821.
* NVME(4): Add support for SGLSebastian Huber2019-11-134-0/+118
| | | | Update #3821.
* NVME(4): Add SGL descriptorSebastian Huber2019-11-131-0/+24
| | | | Update #3821.
* NVME(4): Optimize data transferSebastian Huber2019-11-132-0/+56
| | | | Update #3821.