Christian Mauderer
cdd6003eb8
busdma: Option to round to cache lines on sync
...
Some targets support only flushing or invalidating complete cache lines.
In this cases misaligned buffers might lead to unexpected results. This
patch adds a flag that allows drivers to signal to the bus dma driver
that it is OK to round a buffer to the next full cache line. That's for
example necessary if a driver wants to send out 14 byte via a USB DMA.
Only the driver knows whether these 14 bytes are located in an otherwise
unused cache line aligned buffer.
2020-07-29 13:09:11 +02:00
Christian Mauderer
592003fa3e
imx: Fix build for all other BSPs.
2020-04-16 10:51:48 +02:00
Christian Mauderer
2eab5465f3
ehci_imx: Set/clear ENHOSTDISCONNECT in USB PHY.
...
This is not a nice solution but it should work on all chips. As soon as
FreeBSD has a nice solution via the USB PHY driver, this should be
replaced.
Update #3869 .
2020-04-15 16:14:18 +02:00
Christian Mauderer
4a2d99b4b0
ehci_imx: Port to RTEMS
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Sebastian Huber
29eda67d54
ehci_imx: Import from FreeBSD
...
Update #3869 .
2020-04-15 16:14:18 +02:00
Sebastian Huber
64c45b5a1a
usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
...
Some BSPs have a cache-coherent memory area, however, it should not be
used for the USB controller.
2020-04-14 16:39:20 +02:00
Sebastian Huber
46b3858b27
Update to FreeBSD stable/12 2020-02-10
...
Git mirror commit 0d1c391321b34b3025cf0e72f2231d836ff76da8.
2020-02-18 15:00:48 +01:00
Sebastian Huber
37323bb819
Update to FreeBSD stable/12 2019-09-23
...
Git mirror commit 7e8d1444023128d34fb9aa4e4515928a4f794d1b.
2019-09-23 15:07:12 +02:00
Sebastian Huber
bbd07d1ac9
Import missing header file
2019-06-28 08:53:34 +02:00
Sebastian Huber
7ece7548c1
Update to FreeBSD stable/12 2019-06-26
...
Git mirror commit aa83598855d14cdbf7aef6b05d0617e90f87ca2f.
2019-06-26 13:44:21 +02:00
Sebastian Huber
705e362ea5
Update to FreeBSD stable/12 2019-06-05
...
Git mirror commit 78576620f2689e23144a1cf1bf55106cc6abe2b7.
2019-06-05 14:16:00 +02:00
Sebastian Huber
f6075e1837
Fix USB_DEBUG redefinition warnings
2019-05-15 13:43:48 +02:00
Sebastian Huber
481397ff24
Update to FreeBSD stable/12 2019-03-27
...
Git mirror commit 43a38f188ca2e936ec78104c30ea3e24d9c1606b.
2019-03-28 08:15:38 +01:00
Sebastian Huber
eb1d30ad35
Update to FreeBSD stable/12 2019-03-11
...
Git mirror commit 735fe7a0a5f9c265040e2e6654a01b081d6354f1.
2019-03-11 09:41:49 +01:00
Sebastian Huber
556ec29b4e
Update to FreeBSD stable/12 2019-02-11
...
Git mirror commit 606b591dae1023a71ff020faf99789059eb6591f.
2019-02-12 09:17:32 +01:00
Sebastian Huber
4a8bc9e5fa
Update to FreeBSD stable/12 2019-02-04
...
Git mirror commit 50f507fe430c8041715f649f179f4b0a431dd7ff.
2019-02-04 15:12:50 +01:00
Sebastian Huber
a5b385b26f
Update to FreeBSD stable/12 2019-01-29
...
Git mirror commit 7005c2e76a6bfb359bf2f1acb8382c0b7a01f4be.
2019-01-29 10:57:36 +01:00
Sebastian Huber
1354d9bf97
Update to FreeBSD stable/12 2019-01-21
...
Git mirror commit 3a48f3689d65c5304cf706bbf2c5576daeb60a96.
Update #3472 .
2019-01-21 10:13:58 +01:00
Sebastian Huber
aec8db05b2
Update to FreeBSD stable/12 2019-01-16
...
Git mirror commit 4ff7d8141f665693dd8b17090d410604888f1e9a.
Update #3472 .
2019-01-21 10:00:40 +01:00
Sebastian Huber
e0b4edbdcc
Update to FreeBSD head 2018-11-15
...
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a.
Update #3472 .
2018-11-15 10:56:14 +01:00
Sebastian Huber
b3169c2a6a
Update to FreeBSD head 2018-10-23
...
Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b.
This commit updates OpenSSL to version 1.1.1. This required an update
of racoon which uses some internal stuff from OpenSSL and seems to be
mostly unmaintained, e.g. there is update in the FreeBSD ports to cope
with OpenSSL 1.1.1.
Update #3472 .
2018-10-25 08:38:45 +02:00
Sebastian Huber
1e77a45d54
saf1761_otg: Use real interrupt handler
...
The USB_BUS_SPIN_LOCK() is only used internally to the bus driver.
Replace the mutex with an interrupt disable/enable section. Execute the
interrupt filter in a real interrupt context and forward the interrupt
handler to the interrupt server if necessary.
2018-10-04 14:14:51 +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
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
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
b43517be37
ohci: Fix for BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
2017-07-18 08:33:00 +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
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
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
Kevin Kirspel
9f2205a3f5
Port LPC32XX Ethernet and USB OHCI to RTEMS
2017-02-14 09:40:01 +01:00
Christian Mauderer
59338de0a5
Port USB and USB WLAN.
2017-01-17 12:50:57 +01:00
Christian Mauderer
d145449b74
Import USB and USB WLAN from FreeBSD.
2017-01-17 12:50:57 +01:00
Sebastian Huber
0577772720
Update to FreeBSD head 2017-01-09
...
Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
2017-01-10 11:03:27 +01:00