From 7a40b8a89e7da2a7e8d8e132bc37885b22e9bfb1 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 3 May 2026 21:43:44 -0400 Subject: [PATCH] dpaa: Fix copyright headers Reported by: ziaee@ Fixes: fd8d34ce27 ("dpaa: Migrate from NCSW base to a home-grown driver") --- sys/dev/dpaa/bman.c | 4 ++-- sys/dev/dpaa/bman.h | 4 ++-- sys/dev/dpaa/bman_portals.c | 4 ++-- sys/dev/dpaa/bman_var.h | 4 ++-- sys/dev/dpaa/dpaa_common.c | 4 ++-- sys/dev/dpaa/dpaa_common.h | 4 ++-- sys/dev/dpaa/fman.c | 6 +++--- sys/dev/dpaa/fman_if.m | 2 +- sys/dev/dpaa/fman_muram.c | 4 ++-- sys/dev/dpaa/fman_parser.h | 4 ++-- sys/dev/dpaa/fman_port.c | 6 +++--- sys/dev/dpaa/fman_port.h | 6 +++--- sys/dev/dpaa/fman_port_if.m | 24 +----------------------- sys/dev/dpaa/fman_xmdio.c | 6 +++--- sys/dev/dpaa/if_memac.c | 6 +++--- sys/dev/dpaa/if_memac.h | 25 +++---------------------- sys/dev/dpaa/if_memac_fdt.c | 25 +++---------------------- sys/dev/dpaa/qman.c | 4 ++-- sys/dev/dpaa/qman_portal_if.m | 4 ++-- sys/dev/dpaa/qman_portals.c | 4 ++-- sys/dev/dpaa/qman_var.h | 4 ++-- 21 files changed, 47 insertions(+), 107 deletions(-) diff --git a/sys/dev/dpaa/bman.c b/sys/dev/dpaa/bman.c index 90095427f10..3d1052f9ed9 100644 --- a/sys/dev/dpaa/bman.c +++ b/sys/dev/dpaa/bman.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/bman.h b/sys/dev/dpaa/bman.h index d8a76bfa672..118c6f5938b 100644 --- a/sys/dev/dpaa/bman.h +++ b/sys/dev/dpaa/bman.h @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ /*- diff --git a/sys/dev/dpaa/bman_portals.c b/sys/dev/dpaa/bman_portals.c index c4f6431857b..b0c8200c188 100644 --- a/sys/dev/dpaa/bman_portals.c +++ b/sys/dev/dpaa/bman_portals.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include "opt_platform.h" diff --git a/sys/dev/dpaa/bman_var.h b/sys/dev/dpaa/bman_var.h index 67a0d7dd007..91484da61ac 100644 --- a/sys/dev/dpaa/bman_var.h +++ b/sys/dev/dpaa/bman_var.h @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef BMAN_VAR_H diff --git a/sys/dev/dpaa/dpaa_common.c b/sys/dev/dpaa/dpaa_common.c index 56345064dfc..c5055231298 100644 --- a/sys/dev/dpaa/dpaa_common.c +++ b/sys/dev/dpaa/dpaa_common.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/dpaa_common.h b/sys/dev/dpaa/dpaa_common.h index 1d81d63877a..8fa43a034ef 100644 --- a/sys/dev/dpaa/dpaa_common.h +++ b/sys/dev/dpaa/dpaa_common.h @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef DPAA_COMMON_H diff --git a/sys/dev/dpaa/fman.c b/sys/dev/dpaa/fman.c index c0c7ec8cb17..b94c05fd7db 100644 --- a/sys/dev/dpaa/fman.c +++ b/sys/dev/dpaa/fman.c @@ -1,7 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause - * +/* * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/fman_if.m b/sys/dev/dpaa/fman_if.m index bdca87a2fe2..e7412ca6419 100644 --- a/sys/dev/dpaa/fman_if.m +++ b/sys/dev/dpaa/fman_if.m @@ -1,4 +1,4 @@ -#- +# # SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2026 Justin Hibbits diff --git a/sys/dev/dpaa/fman_muram.c b/sys/dev/dpaa/fman_muram.c index 35ea0206545..a3df993dbb9 100644 --- a/sys/dev/dpaa/fman_muram.c +++ b/sys/dev/dpaa/fman_muram.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/fman_parser.h b/sys/dev/dpaa/fman_parser.h index 65dc5bcabe6..aff95b1ae9d 100644 --- a/sys/dev/dpaa/fman_parser.h +++ b/sys/dev/dpaa/fman_parser.h @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef DPAA_FMAN_PARSER_H diff --git a/sys/dev/dpaa/fman_port.c b/sys/dev/dpaa/fman_port.c index 548557edc7f..384d13a7b3a 100644 --- a/sys/dev/dpaa/fman_port.c +++ b/sys/dev/dpaa/fman_port.c @@ -1,7 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause - * +/* * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/fman_port.h b/sys/dev/dpaa/fman_port.h index eea7019077e..8803c5e5f7c 100644 --- a/sys/dev/dpaa/fman_port.h +++ b/sys/dev/dpaa/fman_port.h @@ -1,7 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause - * +/* * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef DPAA_FMAN_PORT_H diff --git a/sys/dev/dpaa/fman_port_if.m b/sys/dev/dpaa/fman_port_if.m index 2a5c939cc4a..fe6159340c2 100644 --- a/sys/dev/dpaa/fman_port_if.m +++ b/sys/dev/dpaa/fman_port_if.m @@ -1,29 +1,7 @@ -#- -# SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2026 Justin Hibbits # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# +# SPDX-License-Identifier: BSD-2-Clause #include #include diff --git a/sys/dev/dpaa/fman_xmdio.c b/sys/dev/dpaa/fman_xmdio.c index 913f09781c8..521c30860dc 100644 --- a/sys/dev/dpaa/fman_xmdio.c +++ b/sys/dev/dpaa/fman_xmdio.c @@ -1,7 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause - * +/* * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/if_memac.c b/sys/dev/dpaa/if_memac.c index dd338b31849..6d0fa3f5e33 100644 --- a/sys/dev/dpaa/if_memac.c +++ b/sys/dev/dpaa/if_memac.c @@ -1,7 +1,7 @@ -/*- - * SPDX-License-Identifier: BSD-2-Clause - * +/* * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/if_memac.h b/sys/dev/dpaa/if_memac.h index a10e6f932d0..98942abaf79 100644 --- a/sys/dev/dpaa/if_memac.h +++ b/sys/dev/dpaa/if_memac.h @@ -1,27 +1,8 @@ -/*- +/* + * Copyright (c) 2026 Justin Hibbits * Copyright (c) 2011-2012 Semihalf. - * All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef IF_MEMAC_H_ diff --git a/sys/dev/dpaa/if_memac_fdt.c b/sys/dev/dpaa/if_memac_fdt.c index 455b021c52a..f136608a906 100644 --- a/sys/dev/dpaa/if_memac_fdt.c +++ b/sys/dev/dpaa/if_memac_fdt.c @@ -1,27 +1,8 @@ -/*- +/* + * Copyright (c) 2026 Justin Hibbits * Copyright (c) 2012 Semihalf. - * All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/sys/dev/dpaa/qman.c b/sys/dev/dpaa/qman.c index 550f7e288a6..9143ebde5cb 100644 --- a/sys/dev/dpaa/qman.c +++ b/sys/dev/dpaa/qman.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ /*- * Copyright (c) 2011-2012 Semihalf. diff --git a/sys/dev/dpaa/qman_portal_if.m b/sys/dev/dpaa/qman_portal_if.m index 35bc087a4ec..2efe31dd698 100644 --- a/sys/dev/dpaa/qman_portal_if.m +++ b/sys/dev/dpaa/qman_portal_if.m @@ -1,7 +1,7 @@ -#- -# SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2026 Justin Hibbits +# +# SPDX-License-Identifier: BSD-2-Clause #include #include diff --git a/sys/dev/dpaa/qman_portals.c b/sys/dev/dpaa/qman_portals.c index cce43fa8016..3b64aca71cb 100644 --- a/sys/dev/dpaa/qman_portals.c +++ b/sys/dev/dpaa/qman_portals.c @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #include "opt_platform.h" diff --git a/sys/dev/dpaa/qman_var.h b/sys/dev/dpaa/qman_var.h index c143dec1c32..8ed36bbb6a3 100644 --- a/sys/dev/dpaa/qman_var.h +++ b/sys/dev/dpaa/qman_var.h @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (c) 2026 Justin Hibbits + * + * SPDX-License-Identifier: BSD-2-Clause */ #ifndef QMAN_VAR_H