25 Commits

Author SHA1 Message Date
Chris Johns
332cc9f47b bsp/motorola_powerpc: Add dc, ukphy and legacy PCI support
- Add the dc net dev to the BSP

- Add the ukphy support

- Add PCI Legacy bus support to the PowerPC

Closes #4514
2021-09-18 17:52:31 +10:00
Sebastian Huber
b5f8d4831d Use _SMP_Unicast_action()
It is a bit more efficient.
2019-05-21 07:40:53 +02:00
Sebastian Huber
647dd08ae2 Update due to API changes 2019-04-11 09:38:45 +02:00
Sebastian Huber
3017f66a36 Remove <linux/rbtree.h>
It is already provided by RTEMS.
2019-02-12 14:21:45 +01:00
Sebastian Huber
12a885cd18 Update due to <sys/time.h> API changes
Changes correspond to FreeBSD commit:

"Make timespecadd(3) and friends public

The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions.  Solaris also defines a three-argument version, but
only in its kernel.  This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with: cem, jilles, ian, bde
Differential Revision:  https://reviews.freebsd.org/D14725"

Update #3472.
2018-08-24 08:57:10 +02:00
Sebastian Huber
0f9258f2fb linux/percpu.h: Fix for uni-processor config 2018-02-05 11:55:01 +01:00
Sebastian Huber
d62a3df1c7 sdk_dpaa: Port to RTEMS
Update #3277.
2018-01-23 14:55:31 +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
Sebastian Huber
0f1d2f6174 linux/of_address.h: Add of_translate_address()
Update #3277.
2018-01-23 14:54:56 +01:00
Sebastian Huber
81fc57de35 linux/of.h: Add of_find_node_by_path()
Update #3277.
2018-01-23 14:54:53 +01:00
Sebastian Huber
44fca38058 linux/of.h: Add of_read_number()
Update #3277.
2018-01-23 14:54:50 +01:00
Sebastian Huber
26ce2ac428 linux/of.h: Add of_n_size_cells()
Update #3277.
2018-01-23 14:54:47 +01:00
Sebastian Huber
0d421d850e linux/of.h: Add of_n_addr_cells()
Update #3277.
2018-01-23 14:54:44 +01:00
Sebastian Huber
066b536397 linux/sort.h: New file
Update #3277.
2018-01-23 14:54:41 +01:00
Sebastian Huber
583216ab22 linux/smp.h: Avoid function call overhead
Update #3277.
2018-01-23 14:54:30 +01:00
Sebastian Huber
fe05886a55 linux/compiler.h: Define __cold
Update #3277.
2018-01-23 14:54:23 +01:00
Sebastian Huber
de5791b345 dpaa: Add "libbsd,dedicated-portal" to QMan portals
By default, the network interfaces use a pool channel, see
dpaa_get_channel() in dpaa_eth_priv_probe().  To enable a dedicated QMan
software portal, use libbsd,dedicated-portal = "enabled";.  This option
is useful for special purpose 10Gbit/s Ethernet processing.

/ {
        soc: soc@ffe000000 {
                fman0: fman@400000 {
                        enet7: ethernet@f2000 {
                                libbsd,dedicated-portal = "enabled";
                        };
                };
        };
};
2017-10-23 09:24:07 +02:00
Sebastian Huber
e3dc39ee0c dpaa: Add <soc/fsl/dpaa.h> 2017-10-23 09:24:07 +02:00
Sebastian Huber
9789434e21 linux: Move upper_32_bits() and lower_32_bits() 2017-10-23 09:24:07 +02:00
Sebastian Huber
65d6fa20fb linux: Make Linux types available in user-space 2017-10-23 09:24:07 +02:00
Sebastian Huber
0de65a8782 linux: Include missing <sys/errno.h> 2017-10-23 09:24:07 +02:00
Sebastian Huber
9da83e7886 dpaa: Support c45 phys 2017-10-23 09:24:06 +02:00
Sebastian Huber
e2d48f5335 dpaa: Implement GENMASK() similar to Linux 2017-10-23 09:24:06 +02:00
Sebastian Huber
cd089b9e05 Linux update to 4.11-rc5
Linux baseline a71c9a1c779f2499fb2afc0553e543f18aff6edf (4.11-rc5).
2017-10-23 09:23:59 +02:00
Sebastian Huber
28ee86a9b0 Import DPAA driver snapshot
Imported from Freescale Linux repository

git://git.freescale.com/ppc/upstream/linux.git

commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161.

Linux compatibility layer is partly from FreeBSD.
2017-10-23 08:46:43 +02:00