summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/sys/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arm/lpc: Add option to customize device probesSebastian Huber2022-09-061-4/+13
|
* 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.
* 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
|
* NVD(4): Add RTEMS-specific NVMe disk driverSebastian Huber2019-11-131-0/+341
| | | | Update #3821.
* 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.
* 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.
* if_ffec_mpc8xx: Import legacy driver from RTEMSSebastian Huber2018-09-211-0/+1248
| | | | | | | Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6 (2018-09-12). Update #3523.
* dw_mmc: Avoid conflicting device ivarsSebastian Huber2018-09-111-2/+1
| | | | | Do not overwrite the device ivars used by the simplebus. Use unspecified unit number for child device.
* if_atsam: Add checksum offload.Christian Mauderer2018-03-211-8/+44
|
* dw_mmc: Properly init/reset DMASebastian Huber2018-02-061-12/+27
|
* dw_mmc: Add MMCBR_IVAR_TIMINGSebastian Huber2018-02-061-0/+6
|
* Add device tree support for Altera/Intel Cyclone VSebastian Huber2018-02-062-157/+16
| | | | Close #3290.
* ehci_mpc83xx.c: Fix for qoriq hypervisor guestSebastian Huber2018-01-191-1/+2
|
* if_atsam: Allow fixed MII settings.Christian Mauderer2017-09-222-65/+173
|
* if_atsam: Move statistics to sysctl.Christian Mauderer2017-09-221-96/+319
|
* if-atsam: Port to rtems-libbsd.Christian Mauderer2017-09-221-328/+297
|
* rtemsbsd/if-atsam: Copy from RTEMS.Christian Mauderer2017-09-221-0/+1259
| | | | Copied from RTEMS commit 146adb1edf from 17.07.2017.
* ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDRSebastian Huber2017-07-181-0/+2
|