summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtemsbsd/sys/arm: Add imxrt1166 USBPHY driverChristian Mauderer2023-08-211-0/+227
| | | | | Adds a driver for the i.MXRT1166 USB PHY and enable USB for the imxrt11xx BSPs.
* imx: Enable GPIO driver for imxrt tooChristian Mauderer2023-07-241-2/+2
|
* arm/lpc: Add option to customize device probesSebastian Huber2022-09-062-9/+24
|
* if_lpe.c: Use interface transmitSebastian Huber2022-09-061-303/+207
| | | | This avoids the need for a transmit task and transmit interrupts.
* if_lpe.c: Move transmit initializationSebastian Huber2022-09-061-117/+152
| | | | | Move the transmit initialization out of the transmit task to be able to remove the transmit task in the next patch.
* if_lpe.c: Port to LibBSDSebastian Huber2022-09-061-245/+230
|
* if_lpe.c: Import legacy LPC Ethernet driverSebastian Huber2022-09-062-1481/+1682
| | | | | | | | | The standard FreeBSD MII support causes severe problems on the LPC3200 chip family. If an Ethernet module register is accessed while there is no clock from the PHY, the chip completely locks up and only an external watchdog can recover from this state. The legacy driver had a custom PHY management code which helped to avoid such issues. The if_lpe.c driver is no longer maintained by FreeBSD.
* if_stmac: fix compilation error (related to crc32_raw move in FreeBSD)Karel Gardas2022-06-041-0/+1
| | | | | FreeBSD in 2019 moved crc32 function into separate gsb_crc32.h header file and probably after libbsd sync with this change if_stmac got broken.
* if_atsam: Recover from receive freezesSebastian Huber2022-06-011-5/+15
| | | | | | | | | | | Under unknown conditions the receive path ended up in a frozen state. In this state, the DMA and driver descriptor head were equal and all receive descriptors had the used bit set. So, the DMA was unable to store received frames. However, the receive daemon was never woken up to refill the receive buffers. It seems that the RXUBR interrupt can be used to recover from this state. Update #4652.
* if_atsam: Shorten sysctl namesSebastian Huber2022-06-011-27/+27
| | | | Update #4652.
* if_atsam: Add tx/rx desc sysctlsSebastian Huber2022-06-011-0/+77
| | | | Update #4652.
* if_atsam: Add register sysctlsSebastian Huber2022-06-011-2/+39
| | | | Update #4652.
* if_atsam: Allow stats reset via sysctlSebastian Huber2022-06-011-0/+25
| | | | Update #4652.
* if_atsam: Fix interface stopSebastian Huber2022-05-111-2/+15
| | | | Close #4652.
* if_atsam: Support transmit bpfSebastian Huber2022-05-111-0/+2
| | | | Update #4652.
* if_atsam: Do not use rtems_bsdnet_newproc()Sebastian Huber2022-05-111-6/+11
| | | | Update #4652.
* if_atsam: Support IFCAP_VLAN_HWTAGGINGSebastian Huber2022-05-111-1/+13
| | | | | | This is required to enable checksum offload for vlan interfaces. Update #4652.
* if_atsam: Optimize receiveSebastian Huber2022-05-111-116/+72
| | | | | | | | Do not use the interface mutex in the receive loop. Avoid multiple reads of DMA descriptor words. Use a compile-time constant for the receive DMA descriptor count to simplify calculations. Update #4652.
* if_atsam: Optimize transmitSebastian Huber2022-05-111-282/+218
| | | | | | | | Use the transmit interface handler to avoid a transmit task/interrupt. Use a compile-time constant for the transmit DMA descriptor count to simplify calculations. Update #4652.
* if_atsam: Add multicast supportSebastian Huber2022-05-111-36/+75
| | | | Update #4652.
* if_atsam: Fix start/stop of interfaceSebastian Huber2022-05-111-41/+57
| | | | Update #4652.
* if_atsam: Fix interrupt setupSebastian Huber2022-05-111-1/+0
| | | | | | The interrupt is enabled by rtems_interrupt_handler_install(). Update #4652.
* if_atsam: Do not disable the Ethernet CRCSebastian Huber2022-05-111-8/+1
| | | | | | The Ethernet CRC and padding must be always generated by the MAC. Update #4652.
* if_atsam: Enable all capabilitiesSebastian Huber2022-05-111-0/+1
| | | | Update #4652.
* if_atsam: Fix warningsSebastian Huber2022-05-111-11/+6
| | | | Update #4652.
* if_mve: Add MV643XX Ethernet driverHeinz Junkes2022-03-072-0/+3324
| | | | Close #4345.
* ppp: Fix transmitting dataChristian Mauderer2022-02-103-9/+35
| | | | | | | | | | | | The pppstart expected that a driver write would somehow magically process all data passed to the write function. Because ppp disables all buffering that originally has been in termios, that assumption is not true for all but polled drivers. With this patch, the pppstart now gets and processes the feedback that is returned from the driver via rtems_termios_dequeue_characters. Update #4493
* iicbus/rtems-i2c.c: Add rtems,path as an additional bus pathG S Niteesh Babu2021-04-221-3/+5
| | | | | | Adds "rtems,path" as an additional bus path for the i2c driver. Previously the bus path was provided in "rtems,i2c-path" property only.
* st-sdmmc: Handle short not cache aligned buffersChristian Mauderer2021-04-191-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Possible data sources for SD driver: - mmc_sd_switch(): - length: 64 byte; - buffer on stack - mmc_test_bus_width(): - length: 4 or 8 byte - buffer in program memory or on stack - mmc_app_send_scr(): - length: 8 byte - buffer from device ivar structure - mmc_app_sd_status(): - length: 64 byte - buffer from device ivar structure - mmc_send_ext_csd(): - length: MMC_EXTCSD_SIZE = 512 - buffer from device ivar structure - rtems_bsd_mmcsd_disk_read_write(): - length: depends on read - buffer from rtems_blkdev buffer -> already aligned - mmcsd_ioctl_cmd(): - length: depends on call - buffer malloced, not aligned -> patched in RTEMS So the problematic buffers are only the ones up to 512 bytes. Copy these data into a buffer to avoid that problem.
* STM32H7: Fix SDMMC build for all other BSPsChristian Mauderer2021-04-012-0/+12
|
* STM32H7: Add SDMMC driverChristian Mauderer2021-04-012-0/+893
| | | | Update #4372
* dwc_otg: Enable voltage detectorSebastian Huber2020-10-271-0/+1
| | | | Update #3910.
* dwc_otg: Add support for nexus busSebastian Huber2020-10-272-0/+253
| | | | Update #3910.
* if_stmac: Add driver for STM32H7 ethernet moduleSebastian Huber2020-10-271-0/+1008
| | | | Update #3910.
* NVD(4): Fix logical block count calculationSebastian Huber2020-10-271-4/+5
| | | | Close #4164.
* NVD(4): Fix NULL pointer access in nvd_sync()Sebastian Huber2020-10-271-14/+14
| | | | Update #4164.
* tsc_lpc32xx.c: Update due to API changesSebastian Huber2020-09-231-5/+7
|
* imx: Use RTEMS GPIO driver instead of FreeBSD oneChristian Mauderer2020-07-291-0/+306
| | | | Update 3869
* NVD(4): Add RTEMS-specific NVMe disk driverSebastian Huber2019-11-131-0/+341
| | | | Update #3821.
* Update to FreeBSD head 2019-09-24Sebastian Huber2019-11-131-1/+1
| | | | Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
* Add mmapVijay Kumar Banerjee2019-07-271-0/+38
|
* Add rtems i2c adaptation layerVijay Kumar Banerjee2019-06-291-0/+231
|
* if_atsam: Remove WDT_Disable()Sebastian Huber2019-06-131-3/+0
| | | | | The watchdog timer (WDT) can be configure only once. Do not touch it in the BSP since the application may want to use it.
* dpaa: Use if_transmit instead of legacy if_startSebastian Huber2019-01-151-82/+65
| | | | This avoids a lock contention on the send queue.
* dpaa: Fix FMan MAC SGT zone alignmentSebastian Huber2019-01-151-1/+1
|
* Add PHY-driver for KSZ8091RNB with 50MHz.Christian Mauderer2018-09-271-0/+186
| | | | | This adds a driver for the KSZ8091RNB PHY. This PHY needs some special treatment if it is clocked with a 50MHz clock.
* if_ffec_mpc8xx: Fix incoming data invalidationSebastian Huber2018-09-211-8/+4
| | | | | | | With a write-back cache dirty cache lines may be evicted which could overwrite new data. Close #3523.
* if_ffec_mpc8xx: Use M_NOWAIT for incoming framesSebastian Huber2018-09-211-22/+32
| | | | Update #3523.
* if_ffec_mpc8xx: New MDIO driver supportSebastian Huber2018-09-211-172/+128
| | | | Update #3523.
* if_ffec_mpc8xx: Port driver to libbsdSebastian Huber2018-09-211-223/+182
| | | | Update #3523.