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
2df56dbd60
Update to FreeBSD head 2018-04-01
...
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4.
Update #3472 .
2018-09-21 10:29:40 +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
bb80d9df8b
Update to FreeBSD head 2017-12-01
...
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266.
Update #3472 .
2018-09-21 10:29:38 +02:00
Sebastian Huber
e4a8065910
Update to FreeBSD head 2017-10-01
...
Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1.
Update #3472 .
2018-09-21 10:29:37 +02:00
Sebastian Huber
c37f9fba70
Update to FreeBSD head 2017-08-01
...
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c.
Update #3472 .
2018-09-21 10:29:37 +02:00
Sebastian Huber
de261e0404
Update to FreeBSD head 2017-06-01
...
Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131.
Update #3472 .
2018-09-21 10:29:36 +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
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
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
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
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
Sebastian Huber
e2e4bf4999
ffec: Avoid AXI bus issues due to a MAC reset
2017-09-27 11:02:06 +02:00
Sebastian Huber
ba0b05902b
ffec: Add FECFLAG_AVB variant flag
...
This flag is analogous to the Linux driver FEC_QUIRK_HAS_AVB. It
indicates an FEC with support for Audio Video Bridging (AVB). This
indicator is used for various other parts in the Linux driver
(drivers/net/ethernet/freescale/fec_main.c).
Use it to customize the receive/transmit buffer alignment. The receive
buffer alignment increased to 64-bytes on the i.MX 6SoloX and i.MX
7Dual. There are no hard alignment restrictions for transmit buffers on
these chips.
Fix the ffec_softc::fectype type to provide enough storage for the
feature flags.
2017-09-27 11:02:06 +02:00
Sebastian Huber
1378632ad8
ffec: Increase descriptor ring alignment
...
For optimal performance a 64-byte alignment is recommended.
2017-09-27 11:02:06 +02:00
Sebastian Huber
9c3473572f
ffec: Use explicit cache synchronization
2017-09-27 11:02:06 +02:00
Sebastian Huber
91a7527699
ffec: Support more rgmii variants
2017-09-27 11:02:06 +02:00
Sebastian Huber
95b102f733
ffec: Port to RTEMS
2017-09-27 11:02:06 +02:00
Sebastian Huber
807b5bb2c3
ffec: Import from FreeBSD
2017-09-27 11:02:06 +02:00
Sebastian Huber
b43517be37
ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
2017-07-18 08:33:00 +02:00
Christian Mauderer
658f9b8967
dev/rtwn: Import new files from FreeBSD.
2017-07-17 15:54:25 +02:00
Sichen Zhao
bd3c01a126
Import am335x usb driver file from FreeBSD.
2017-07-13 07:30:02 +02:00
Sebastian Huber
3c967ca238
Use <sys/lock.h> provided by Newlib
2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe
Update due to Newlib 2017-06-07 changes
...
The following files are now provided by Newlib:
* arpa/inet.h
* net/if.h
* netinet/in.h
* netinet/tcp.h
* sys/socket.h
* sys/uio.h
* sys/un.h
The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.
Update #2833 .
2017-06-08 13:19:54 +02:00
Kevin Kirspel
18cf4282c4
Modify FREEBSD EVDEV driver for use in RTEMS
2017-05-19 07:24:30 +02:00
Kevin Kirspel
b51279b544
Modify FREEBSD USB keyboard drivers for use in RTEMS
2017-05-19 07:24:30 +02:00
Kevin Kirspel
a7415b7f2f
Add USB UGEN support for RTEMS
2017-05-19 07:24:30 +02:00
Kevin Kirspel
3e7de301c1
Add FREEBSD USB input device files
2017-05-19 07:24:29 +02:00
Kevin Kirspel
41d2784207
Add FREEBSD keyboard driver files
2017-05-19 07:24:29 +02:00
Kevin Kirspel
67de3b57f4
Adding EVDEV FREEBSD files
2017-05-19 07:24:29 +02:00
Kevin Kirspel
5040ee564c
Update USB Serial Driver for use with RTEMS
2017-05-12 14:18:38 +02:00
Kevin Kirspel
746d74b516
Add USB headers to support USB Serial drivers
2017-05-12 14:18:38 +02:00
Kevin Kirspel
286c391e39
Adding FREEBSD USB Serial Drivers
2017-05-12 14:18:38 +02:00
Sebastian Huber
de8a76da2f
Update to FreeBSD head 2017-04-04
...
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-04-04 14:46:23 +02:00
Sebastian Huber
5f3722a8d9
if_tsec: Enable FDT support
2017-03-08 09:05:05 +01:00
Sebastian Huber
c1205ee81e
FDT(4): Port to RTEMS
2017-03-08 09:04:18 +01:00
Sebastian Huber
f0dd0c506a
FDT(4): Import from FreeBSD
2017-03-08 09:00:03 +01:00