Sebastian Huber
38e1610af2
if_atsam: Fix interface stop
...
Close #4652 .
2022-05-11 16:05:46 +02:00
Sebastian Huber
8039d70d94
if_atsam: Support transmit bpf
...
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
5c4ac7a917
if_atsam: Do not use rtems_bsdnet_newproc()
...
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
202502a397
if_atsam: Support IFCAP_VLAN_HWTAGGING
...
This is required to enable checksum offload for vlan interfaces.
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
62fc2b6a03
if_atsam: Optimize receive
...
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 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
6be24bd16a
if_atsam: Optimize transmit
...
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 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
3150b37022
if_atsam: Add multicast support
...
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
f4efcbfda5
if_atsam: Fix start/stop of interface
...
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
339ba3dd9f
if_atsam: Fix interrupt setup
...
The interrupt is enabled by rtems_interrupt_handler_install().
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
5b62a8bfa1
if_atsam: Do not disable the Ethernet CRC
...
The Ethernet CRC and padding must be always generated by the MAC.
Update #4652 .
2022-05-11 16:05:26 +02:00
Sebastian Huber
c58bb6095a
if_atsam: Enable all capabilities
...
Update #4652 .
2022-05-11 16:05:25 +02:00
Sebastian Huber
73c764a70e
if_atsam: Fix warnings
...
Update #4652 .
2022-05-11 16:05:25 +02:00
Heinz Junkes
878713ba45
if_mve: Add MV643XX Ethernet driver
...
Close #4345 .
2022-03-07 10:53:16 +01:00
Christian Mauderer
0b883f311e
ppp: Fix transmitting data
...
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
2022-02-10 09:15:58 +01:00
G S Niteesh Babu
5251e0c816
iicbus/rtems-i2c.c: Add rtems,path as an additional bus path
...
Adds "rtems,path" as an additional bus path for the i2c driver.
Previously the bus path was provided in "rtems,i2c-path" property
only.
2021-04-22 18:45:50 +02:00
Christian Mauderer
829afafbcb
st-sdmmc: Handle short not cache aligned buffers
...
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.
2021-04-19 09:03:40 +02:00
Christian Mauderer
5e175b5f74
STM32H7: Fix SDMMC build for all other BSPs
2021-04-01 15:51:28 +02:00
Christian Mauderer
1bb4a56e4d
STM32H7: Add SDMMC driver
...
Update #4372
2021-04-01 09:05:53 +02:00
Sebastian Huber
3ad2cea0c5
dwc_otg: Enable voltage detector
...
Update #3910 .
2020-10-27 06:33:07 +01:00
Sebastian Huber
6c83023331
dwc_otg: Add support for nexus bus
...
Update #3910 .
2020-10-27 06:33:05 +01:00
Sebastian Huber
c28f67a9be
if_stmac: Add driver for STM32H7 ethernet module
...
Update #3910 .
2020-10-27 06:33:02 +01:00
Sebastian Huber
9fa7bcf55a
NVD(4): Fix logical block count calculation
...
Close #4164 .
2020-10-27 06:27:06 +01:00
Sebastian Huber
9f196b281c
NVD(4): Fix NULL pointer access in nvd_sync()
...
Update #4164 .
2020-10-27 06:27:01 +01:00
Sebastian Huber
b6c55e1c57
tsc_lpc32xx.c: Update due to API changes
2020-09-23 07:40:07 +02:00
Christian Mauderer
7e5d93bb6b
imx: Use RTEMS GPIO driver instead of FreeBSD one
...
Update 3869
2020-07-29 11:19:00 +02:00
Sebastian Huber
623e179ae5
NVD(4): Add RTEMS-specific NVMe disk driver
...
Update #3821 .
2019-11-13 13:04:03 +01:00
Sebastian Huber
a5ddb0ea69
Update to FreeBSD head 2019-09-24
...
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
2019-11-13 10:47:04 +01:00
Vijay Kumar Banerjee
b68ca55c96
Add mmap
2019-07-27 13:49:07 +02:00
Vijay Kumar Banerjee
7ab9e2ad53
Add rtems i2c adaptation layer
2019-06-29 10:31:01 +02:00
Sebastian Huber
1e989998de
if_atsam: Remove WDT_Disable()
...
The watchdog timer (WDT) can be configure only once. Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:54:53 +02:00
Sebastian Huber
5aa6ee55fc
dpaa: Use if_transmit instead of legacy if_start
...
This avoids a lock contention on the send queue.
2019-01-15 08:01:00 +01:00
Sebastian Huber
a1bad53dc1
dpaa: Fix FMan MAC SGT zone alignment
2019-01-15 08:01:00 +01:00
Christian Mauderer
61575f5c44
Add PHY-driver for KSZ8091RNB with 50MHz.
...
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special
treatment if it is clocked with a 50MHz clock.
2018-09-27 11:03:21 +02:00
Sebastian Huber
610349693d
if_ffec_mpc8xx: Fix incoming data invalidation
...
With a write-back cache dirty cache lines may be evicted which could
overwrite new data.
Close #3523 .
2018-09-21 10:29:43 +02:00
Sebastian Huber
1b70957bd1
if_ffec_mpc8xx: Use M_NOWAIT for incoming frames
...
Update #3523 .
2018-09-21 10:29:43 +02:00
Sebastian Huber
d101ed8614
if_ffec_mpc8xx: New MDIO driver support
...
Update #3523 .
2018-09-21 10:29:43 +02:00
Sebastian Huber
457b4fc927
if_ffec_mpc8xx: Port driver to libbsd
...
Update #3523 .
2018-09-21 10:29:43 +02:00
Sebastian Huber
860d833e05
if_ffec_mpc8xx: Import legacy driver from RTEMS
...
Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6
(2018-09-12).
Update #3523 .
2018-09-21 10:29:43 +02:00
Sebastian Huber
3489e3b639
Update to FreeBSD head 2018-09-17
...
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.
Update #3472 .
2018-09-21 10:29:41 +02:00
Sebastian Huber
bcdce02d9b
Update to FreeBSD head 2018-06-01
...
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.
Update #3472 .
2018-09-21 10:29:41 +02:00
Sebastian Huber
18fa92c2dc
Update to FreeBSD head 2018-02-01
...
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4.
Update #3472 .
2018-09-21 10:29:39 +02:00
Sebastian Huber
0f9d58f58b
dw_mmc: Avoid conflicting device ivars
...
Do not overwrite the device ivars used by the simplebus. Use
unspecified unit number for child device.
2018-09-11 11:36:28 +02:00
Sebastian Huber
8993827a73
DEVFS(5): Properly initialize fp->f_cdevpriv
2018-03-27 14:42:46 +02:00
Christian Mauderer
b2a210ca3e
if_atsam: Add checksum offload.
2018-03-21 09:14:25 +01:00
Sebastian Huber
bcaa8a28a2
dw_mmc: Properly init/reset DMA
2018-02-06 09:56:35 +01:00
Sebastian Huber
138bf250c2
dw_mmc: Add MMCBR_IVAR_TIMING
2018-02-06 09:56:35 +01:00
Sebastian Huber
c30fa94277
Add device tree support for Altera/Intel Cyclone V
...
Close #3290 .
2018-02-06 09:55:31 +01:00
Sebastian Huber
d62a3df1c7
sdk_dpaa: Port to RTEMS
...
Update #3277 .
2018-01-23 14:55:31 +01:00
Sebastian Huber
cfc149bff3
linux/of_irq.h: Generalize of_irq_to_resource()
...
Determine interrupt cells via device tree.
Update #3277 .
2018-01-23 14:55:02 +01:00
Sebastian Huber
e4923c85c9
linux/of_address.h: of_address_to_resource()
...
Translate address in of_address_to_resource().
Update #3277 .
2018-01-23 14:54:59 +01:00