summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* freebsd/mmcsd: Disable on-device cache usageKinsey Moore2024-03-051-0/+6
| | | | | | This disables any usage of the on-device R/W cache since all device cache maintenance functions are compiled out under RTEMS leaving no way to flush the cache before system reset and making data loss possible.
* if_ffec: Allow PHY that is connected to other FFECChristian Mauderer2022-06-071-0/+120
| | | | | | | | | The i.MX6UL (and some others from the i.MX family) have shared MDIO lines for multiple FFECs. This patch allows to use the MDIO interface from another Ethernet controller. Note that you have to make sure that the FFECs are initialized in the right order. Normally that can be done via FDT.
* if_ffec: Reduce buffer sizeChristian Mauderer2022-06-071-0/+8
| | | | | Typical embedded systems don't have that much memory. Reduce the buffer size to something more sensible for the usual type of application.
* 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.
* ehci_pci: Import from freebsd-orgMoyano, Gabriel2021-03-082-0/+636
| | | | Updates #4264
* 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
* 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.
* iflib.c: Deactivate use of ifc_cpusJan Sommer2020-09-161-0/+6
| | | | | | - 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
* 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-294-0/+60
| | | | | | | | | | 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.
* 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.
* regulator: Disable FDT parts for non-FDT targetsChristian Mauderer2020-04-172-0/+4
|
* imx: Fix build for all other BSPs.Christian Mauderer2020-04-161-0/+2
|
* 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-151-0/+12
| | | | Update #3869.
* ehci_imx: Import from FreeBSDSebastian Huber2020-04-151-0/+516
| | | | Update #3869.
* regulator: Import from FreeBSD.Christian Mauderer2020-04-156-0/+2330
| | | | 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.
* i386: Port to RTEMSJan Sommer2020-02-101-0/+2
| | | | | - Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on"
* 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.
* NVME(4): Big endian supportSebastian Huber2019-11-131-5/+5
| | | | Update #3821.
* NVME(4): Port to RTEMSSebastian Huber2019-11-137-0/+55
| | | | Update #3821.
* NVME(4): Import from FreeBSDSebastian Huber2019-11-1310-0/+5567
| | | | Update #3821.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-13125-1210/+3415
| | | | Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
* PCI(4): Import missing fileSebastian Huber2019-09-231-0/+84
|
* PCI(4): Disable unsupported featuresSebastian Huber2019-09-231-0/+10
|
* PCI(4): Add big endian supportSebastian Huber2019-09-231-0/+8
|
* C++ compatibility for <dev/pci/pcivar.h>Sebastian Huber2019-09-231-1/+1
|
* rtemsbsd: remove dead code fb.cVijay Kumar Banerjee2019-08-311-762/+0
|
* fbd: Port to RTEMSVijay Kumar Banerjee2019-08-111-0/+4
|
* fbd: Import from FreeBSDVijay Kumar Banerjee2019-08-116-0/+2070
|
* TDA19988: Import from FreeBSDVijay Kumar Banerjee2019-08-1111-0/+2550
|
* Pinmux : Import from FreeBSDVijay Kumar Banerjee2019-08-111-0/+160
|
* iicbus: Import from FreeBSDVijay Kumar Banerjee2019-06-297-0/+1970
|
* Fix USB_DEBUG redefinition warningsSebastian Huber2019-05-131-0/+12
|
* Import FreeBSD license files.Christian Mauderer2019-04-041-0/+31
|
* Fix INVARIANTS supportSebastian Huber2019-01-221-1/+1
|
* Update to FreeBSD head 2018-12-20Sebastian Huber2018-12-2014-27/+92
| | | | | | | | | | Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418. It includes an update of wpa_supplicant to version 2.7. It includes an update of the OpenSSL baseline to version 1.1.1a. Update #3472.
* Update to FreeBSD head 2018-11-15Sebastian Huber2018-11-158-2/+115
| | | | | | Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
* Update to FreeBSD head 2018-10-23Sebastian Huber2018-10-2518-126/+415
| | | | | | | | | | | Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b. This commit updates OpenSSL to version 1.1.1. This required an update of racoon which uses some internal stuff from OpenSSL and seems to be mostly unmaintained, e.g. there is update in the FreeBSD ports to cope with OpenSSL 1.1.1. Update #3472.
* saf1761_otg: Use real interrupt handlerSebastian Huber2018-10-043-6/+53
| | | | | | | The USB_BUS_SPIN_LOCK() is only used internally to the bus driver. Replace the mutex with an interrupt disable/enable section. Execute the interrupt filter in a real interrupt context and forward the interrupt handler to the interrupt server if necessary.
* rtwn: Align mbuf to avoid realignment in rx pathSebastian Huber2018-10-041-0/+7
| | | | See ieee80211_realign().