495 Commits

Author SHA1 Message Date
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
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
894c965d95 Support reference counting for file descriptors
Close #3132.
2017-09-15 12:46:57 +02:00
Sebastian Huber
666a56883a Include missing <string.h> and <limits.h>
Fix warnings.

Update #2132.
Update #2133.
2017-08-25 14:23:50 +02:00
Sebastian Huber
6e328c38b1 KQUEUE(2): Add missing file handler 2017-07-28 08:46:21 +02:00
Sebastian Huber
17ab62cbdd PIPE(2): Add missing file handler 2017-07-28 08:46:20 +02:00
Sebastian Huber
091321081a SOCKET(2): Add missing file handler 2017-07-28 08:46:18 +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
9121570cf2 Port am335x usb driver to RTEMS.
Add FDT and umass support for am335x USB driver.

Now RTEMS can mount and open USB disk.
2017-07-13 07:30:06 +02:00
Sichen Zhao
bd3c01a126 Import am335x usb driver file from FreeBSD. 2017-07-13 07:30:02 +02:00
Sebastian Huber
9128d209e5 libkern.h: Add ffsll() 2017-07-10 08:33:15 +02:00
Sebastian Huber
127296ce97 libkern.h: Avoid conflict with <strings.h> 2017-07-10 08:27:47 +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
427ee3e9eb Redirect FREEBSD's kern_yield to RTEMS sched_yield 2017-05-19 07:24:30 +02:00
Kevin Kirspel
fb2aa6ea99 Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h 2017-05-19 07:24:30 +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
817cbf7201 devfs: Fix some issues
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
2017-05-12 14:20:33 +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
Kevin Kirspel
4a8f953f62 Updating FREEBSD for tty support 2017-05-11 11:15:41 +02:00
Kevin Kirspel
f6c52e086d Adding tty support files from FREEBSD tree 2017-05-11 11:15:41 +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
0732183638 Fix SOCK_CLOEXEC with socket() and socketpair()
Remove SOCK_CLOEXEC flag to get a valid socket type, e.g. to avoid a
EPROTOTYPE in case of socket(..., SOCK_DGRAM | SOCK_CLOEXEC, ...).
2017-03-14 07:15:34 +01:00
Sebastian Huber
5f3722a8d9 if_tsec: Enable FDT support 2017-03-08 09:05:05 +01:00