Sebastian Huber
3fac9e9cd4
at91_mci: Use real interrupt
...
Execute at91_mci_intr() in interrupt context. Synchronize MMC requests
via RTEMS interrupt lock.
2018-04-26 15:23:08 +02:00
Sebastian Huber
c7e162abd8
mmc: Optimize mmc_wait_for_req()
...
Use a self-contained RTEMS binary semaphore instead of msleep() and
wakeup(). This is itself more efficient and in addition allows the use
of mmc_wakeup() in interrupt context.
2018-04-26 15:19:42 +02:00
Sebastian Huber
4b1426368b
at91_mci: Fix use of BOARD_MCK
2018-04-26 11:14:39 +02:00
Sebastian Huber
f092186c84
at91_mci: Fix use of pre-processor defines
2018-04-26 11:14:10 +02:00
Sebastian Huber
8189ea825a
CRYPTO(4): Port to RTEMS
2018-03-28 07:59:12 +02:00
Sebastian Huber
6600368589
CRYPTO(4): Import from FreeBSD
2018-03-27 14:42:46 +02:00
Sebastian Huber
b8f7836e44
DEVFS(5): Fix warning
2018-03-27 14:42:46 +02:00
Sebastian Huber
2275776d21
dwc_otg: Default to USB host mode
...
In case no "dr_mode" property is present in the device tree, then
default to USB host mode. This is necessary to support the Cyclone V
SoC Development Kit.
2018-02-06 09:56:35 +01:00
Sebastian Huber
b79c025a12
dwc_otg: Add compatibility string, constify
...
Support device tree of Cyclone V SoC Development Kit.
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
a0633c51db
SLEEPQUEUE(9): Update due to API changes
...
Update #3264 .
2018-02-05 10:56:39 +01:00
Sebastian Huber
ea121a0c59
ZONE(9): Avoid function call overhead
2018-01-19 14:51:51 +01:00
Sebastian Huber
4e17f143de
DEVICE(9): Fix __BUS_ACCESSOR()
2018-01-08 14:01:02 +01:00
Christian Mauderer
9569b39515
at91_mci: Fix for 32k buffer.
2017-11-17 14:28:56 +01:00
Sebastian Huber
c360b1a2dc
Revert "RWLOCK(9): Add reader/writer lock implementation"
...
This was accidentally committed.
This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-17 10:49:59 +01:00
Sebastian Huber
b5822c2a0a
Revert "SX(9): Implement with reader/writer lock"
...
This was accidentally committed.
This reverts commit cc7a8d87e7307db738bf39ab1ca3ce1053f1c163.
2017-11-17 10:49:31 +01:00
Sebastian Huber
cc7a8d87e7
SX(9): Implement with reader/writer lock
2017-11-16 09:02:28 +01:00
Sebastian Huber
97a98f6cd7
RWLOCK(9): Add reader/writer lock implementation
2017-11-16 09:02:24 +01:00
Sebastian Huber
b03a1c0b59
Fix file descriptor reference counting in accept()
...
Update #3132 .
2017-11-15 13:25:28 +01:00
Sebastian Huber
06f06d4fdf
Fix warning
2017-11-10 14:19:29 +01:00
Christian Mauderer
a506ba970a
at91_mci: Add timing to read_ivar.
2017-11-10 14:13:19 +01:00
Christian Mauderer
e7f3260886
freebsd/bus: Check return value of bus_accessor.
2017-11-10 14:13:18 +01:00
Christian Mauderer
ec29b2a0c2
at91_mci: Port to RTEMS and adapt for atsam.
2017-11-10 14:13:15 +01:00
Sebastian Huber
ea5880a3cc
at91_mci: Import from FreeBSD
2017-11-10 14:01:58 +01:00
Christian Mauderer
589220752b
saf1761_otg: Port to RTEMS.
2017-11-10 14:01:55 +01:00
Christian Mauderer
cf8e1d47e2
usb/saf1761: Import from FreeBSD.
...
Import the files for the SAF1761 USB controller from
FreeBSD commit:
642b174daddbd0efd9bb5f242c43f4ab4db6869f
Tue Apr 4 04:01:02 2017
2017-11-10 13:33:04 +01:00
Sebastian Huber
847de24eb0
Fix build for non-FDT platforms
2017-11-10 13:32:14 +01:00
Sichen Zhao
7e52ab9cd0
Import BBB sd driver files from FreeBSD.
2017-11-10 13:10:02 +01:00
Sebastian Huber
057656b706
Disable HHOOK(9) support for sockets
...
Support was only partly disabled leading to NULL pointer accesses.
Disable it completely.
2017-11-10 11:16:14 +01:00
Sebastian Huber
72d5fa11a8
Fix reference counting for file descriptors
...
Update #3132 .
2017-11-10 11:01:54 +01:00
Sebastian Huber
936b597a57
ffec: Fix comment
...
Update #3090 .
2017-10-26 08:44:27 +02:00
Sebastian Huber
a8a9cf1847
ffec: Add checksum offload
...
Update #3090 .
2017-10-25 14:30:04 +02:00
Sebastian Huber
0323c286e3
ffec: Add interrupt coalescing support
...
Code is an adapted from the TSEC (if_tsec) network interface driver.
Update #3090 .
2017-10-25 14:30:01 +02:00
Sebastian Huber
fd5ee57372
ffec: Increase buffer descriptor count to 512
...
Update #3090 .
2017-10-25 14:29:58 +02:00
Sebastian Huber
0cb40755cc
ffec: Defragment transmit mbuf only if necessary
...
Use structure similar to TSEC (if_tsec) driver.
The use of bus_dmamap_sync() differs these network interface drivers.
This should not be the case.
Update #3090 .
2017-10-25 14:29:55 +02:00
Sebastian Huber
798d308be8
ffec: Fix NULL pointer access
...
Update #3090 .
2017-10-25 14:29:51 +02:00
Sebastian Huber
b8fdbe2fa9
ffec: Use RACC[SHIFT16]
...
This avoids the move of entire receive frames to meet the alignment
requirements of the IP header and so on.
Add FECFLAG_RACC feature flag for this similar to the Linux driver.
Update #3090 .
2017-10-25 14:29:37 +02:00
Sebastian Huber
e846288593
Add rtems_bsd_set_if_input()
2017-10-23 09:24:06 +02:00
Sebastian Huber
b2b2e1a6a5
powerpc: Fix warnings
2017-10-20 14:59:56 +02:00
Sebastian Huber
43fdf500ec
Import CRC32 support from FreeBSD
2017-10-20 14:59:55 +02:00
Sebastian Huber
f7f3c4b0de
blist: Import from FreeBSD
2017-10-20 14:59:55 +02:00
Sebastian Huber
62c8ca0ead
Fix INVARIANTS support
2017-10-20 14:59:55 +02:00
Sebastian Huber
5ede682973
ZONE(9): Use recursive lock for the UMA drain
2017-10-20 14:59:54 +02:00
Sebastian Huber
be708ff182
ZONE(9): Reduce BUCKET_MAX to 128
...
Reduces the worst-case per-processor caches.
2017-10-20 14:59:54 +02:00
Sebastian Huber
b988014362
ZONE(9): Fix uma_zone_set_max()
...
Account for items provided for per-processor caches.
2017-10-20 14:59:54 +02:00
Sebastian Huber
a8e84c62ae
DEVICE(9): Avoid NULL pointer access
2017-10-20 14:59:54 +02:00
Sebastian Huber
9a583a94d3
SLEEPQUEUE(9): Update due to API changes
...
Update #3117 .
Update #3182 .
2017-10-17 13:56:38 +02:00
Sebastian Huber
c79946a3de
BPF(9): Remove RTEMS-specifics
2017-10-12 09:38:16 +02:00
Sebastian Huber
a70edfc49a
ffec: Add wmb() to descriptor updates
2017-09-27 11:02:07 +02:00
Sebastian Huber
7f7a3397fc
ffec: Support up to three interrupt requests
2017-09-27 11:02:07 +02:00