Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

amd-xgbe: Convert to SPDX identifier

Use SPDX-License-Identifier accross all the files of the xgbe driver to
ensure compliance with Linux kernel standards, thus removing the
boiler-plate template license text.

Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250407102913.3063691-1-Raju.Rangoju@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Raju Rangoju and committed by
Paolo Abeni
34a07c5b 4acdd3de

+64 -1808
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-common.h
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #ifndef __XGBE_COMMON_H__
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-dcb.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/netdevice.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/debugfs.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-desc.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include "xgbe.h"
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-dev.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/phy.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/spinlock.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-i2c.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-main.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/interrupt.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-pci.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-phy-v1.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-platform.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/module.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe-ptp.c
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #include <linux/clk.h>
+4 -113
drivers/net/ethernet/amd/xgbe/xgbe.h
··· 1 + // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 1 2 /* 2 - * AMD 10Gb Ethernet driver 3 - * 4 - * This file is available to you under your choice of the following two 5 - * licenses: 6 - * 7 - * License 1: GPLv2 8 - * 9 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 10 - * 11 - * This file is free software; you may copy, redistribute and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation, either version 2 of the License, or (at 14 - * your option) any later version. 15 - * 16 - * This file is distributed in the hope that it will be useful, but 17 - * WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 - * General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 - * 24 - * This file incorporates work covered by the following copyright and 25 - * permission notice: 26 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 27 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 28 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 29 - * and you. 30 - * 31 - * The Software IS NOT an item of Licensed Software or Licensed Product 32 - * under any End User Software License Agreement or Agreement for Licensed 33 - * Product with Synopsys or any supplement thereto. Permission is hereby 34 - * granted, free of charge, to any person obtaining a copy of this software 35 - * annotated with this license and the Software, to deal in the Software 36 - * without restriction, including without limitation the rights to use, 37 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 38 - * of the Software, and to permit persons to whom the Software is furnished 39 - * to do so, subject to the following conditions: 40 - * 41 - * The above copyright notice and this permission notice shall be included 42 - * in all copies or substantial portions of the Software. 43 - * 44 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 45 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 46 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 47 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 48 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 49 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 50 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 51 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 52 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 53 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 54 - * THE POSSIBILITY OF SUCH DAMAGE. 55 - * 56 - * 57 - * License 2: Modified BSD 58 - * 59 - * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 60 - * All rights reserved. 61 - * 62 - * Redistribution and use in source and binary forms, with or without 63 - * modification, are permitted provided that the following conditions are met: 64 - * * Redistributions of source code must retain the above copyright 65 - * notice, this list of conditions and the following disclaimer. 66 - * * Redistributions in binary form must reproduce the above copyright 67 - * notice, this list of conditions and the following disclaimer in the 68 - * documentation and/or other materials provided with the distribution. 69 - * * Neither the name of Advanced Micro Devices, Inc. nor the 70 - * names of its contributors may be used to endorse or promote products 71 - * derived from this software without specific prior written permission. 72 - * 73 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75 - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 76 - * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 77 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 78 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 79 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 80 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 81 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 82 - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83 - * 84 - * This file incorporates work covered by the following copyright and 85 - * permission notice: 86 - * The Synopsys DWC ETHER XGMAC Software Driver and documentation 87 - * (hereinafter "Software") is an unsupported proprietary work of Synopsys, 88 - * Inc. unless otherwise expressly agreed to in writing between Synopsys 89 - * and you. 90 - * 91 - * The Software IS NOT an item of Licensed Software or Licensed Product 92 - * under any End User Software License Agreement or Agreement for Licensed 93 - * Product with Synopsys or any supplement thereto. Permission is hereby 94 - * granted, free of charge, to any person obtaining a copy of this software 95 - * annotated with this license and the Software, to deal in the Software 96 - * without restriction, including without limitation the rights to use, 97 - * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 98 - * of the Software, and to permit persons to whom the Software is furnished 99 - * to do so, subject to the following conditions: 100 - * 101 - * The above copyright notice and this permission notice shall be included 102 - * in all copies or substantial portions of the Software. 103 - * 104 - * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" 105 - * BASIS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 106 - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 107 - * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 108 - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 109 - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 110 - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 111 - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 112 - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 113 - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 114 - * THE POSSIBILITY OF SUCH DAMAGE. 3 + * Copyright (c) 2014-2025, Advanced Micro Devices, Inc. 4 + * Copyright (c) 2014, Synopsys, Inc. 5 + * All rights reserved 115 6 */ 116 7 117 8 #ifndef __XGBE_H__