From c895034bb2f6d228e2f96d3adc8fce12a4e6a226 Mon Sep 17 00:00:00 2001 From: Allen Hill Date: Tue, 23 Jun 2026 17:51:29 -0700 Subject: [PATCH] Update copyright headers to use SPDX id's --- src/avclan/avclan_defs.h | 25 +++----------- src/avclan/avclan_frame.c | 25 +++----------- src/avclan/avclan_frame.h | 25 +++----------- src/avclan/avclan_phy.h | 25 +++----------- src/avclan/avclan_protocol.c | 33 +++++-------------- src/avclan/avclan_protocol.h | 19 ++--------- src/avclan/avclandrv.h | 21 +++--------- src/avclan/cdchanger.c | 25 +++----------- src/avclan/cdchanger.h | 21 +++--------- src/avclan/mediacontrol.h | 19 ++--------- src/avclan/statustimer.h | 19 ++--------- src/avclan/target/avr-attiny3216/board_avr.c | 21 +++--------- src/avclan/target/avr-attiny3216/media_avr.c | 21 ++---------- src/avclan/target/avr-attiny3216/media_avr.h | 19 ++--------- src/avclan/target/avr-attiny3216/phy_avr.c | 29 +++------------- .../target/avr-attiny3216/statustick_avr.c | 21 +++--------- src/avclan/target/avr-attiny3216/timing_avr.h | 12 ++++--- src/avclan/timing.h | 3 ++ src/board.h | 23 ++----------- src/com232.c | 25 +++----------- src/com232.h | 25 +++----------- src/queue.c | 3 ++ src/queue.h | 3 ++ src/sniffer.c | 25 +++----------- 24 files changed, 92 insertions(+), 395 deletions(-) diff --git a/src/avclan/avclan_defs.h b/src/avclan/avclan_defs.h index 2fe3271..b632f0c 100644 --- a/src/avclan/avclan_defs.h +++ b/src/avclan/avclan_defs.h @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // Shared cross-cutting AVC-LAN definitions used by two or more layers // (phy / frame / protocol / cdchanger). This is a leaf header: it must not diff --git a/src/avclan/avclan_frame.c b/src/avclan/avclan_frame.c index 925228a..03feb3a 100644 --- a/src/avclan/avclan_frame.c +++ b/src/avclan/avclan_frame.c @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/avclan/avclan_frame.h b/src/avclan/avclan_frame.h index 1a74f20..b67b1fd 100644 --- a/src/avclan/avclan_frame.h +++ b/src/avclan/avclan_frame.h @@ -1,22 +1,9 @@ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + /* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - --------------------------------------------------------------------------------------- - AVC LAN Frame Format │ Bits │ Description ──────────────────────────────────────── @@ -40,8 +27,6 @@ *repeat `n` times* No acknowledge bits are sent for broadcast frames. - --------------------------------------------------------------------------------------- */ #ifndef AVCLAN_FRAME_H diff --git a/src/avclan/avclan_phy.h b/src/avclan/avclan_phy.h index f53e913..7c061c2 100644 --- a/src/avclan/avclan_phy.h +++ b/src/avclan/avclan_phy.h @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef AVCLAN_PHY_H #define AVCLAN_PHY_H diff --git a/src/avclan/avclan_protocol.c b/src/avclan/avclan_protocol.c index cf496ba..f94d41d 100644 --- a/src/avclan/avclan_protocol.c +++ b/src/avclan/avclan_protocol.c @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include @@ -263,8 +246,8 @@ response_t AVCLAN_handleframe(const AVCLAN_frame_t *in, AVCLAN_frame_t *out) { } AVCLAN_generateStatus(out, true, dev_CMD_SW); AVCLAN_mediaFunction(MEDIA_SKIP_FORWARD); - statustimer_reset(); // Skipped to a whole/round sec; ensure next tick is - // ~1 sec from now + statustimer_reset(); // Skipped to a whole/round sec; ensure next tick + // is ~1 sec from now respond = r_Handled; break; } @@ -283,8 +266,8 @@ response_t AVCLAN_handleframe(const AVCLAN_frame_t *in, AVCLAN_frame_t *out) { cd_status.secs -= 15; AVCLAN_generateStatus(out, true, dev_CMD_SW); AVCLAN_mediaFunction(MEDIA_SKIP_BACKWARD); - statustimer_reset(); // Skipped to a whole/round sec; ensure next tick is - // ~1 sec from now + statustimer_reset(); // Skipped to a whole/round sec; ensure next tick + // is ~1 sec from now respond = r_Handled; break; } diff --git a/src/avclan/avclan_protocol.h b/src/avclan/avclan_protocol.h index e0cf1d1..2e1b9c1 100644 --- a/src/avclan/avclan_protocol.h +++ b/src/avclan/avclan_protocol.h @@ -1,20 +1,5 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // AVC-LAN message dispatcher and response state machine. Currently mixes // generic peripheral-level handling with CD-changer device-specific handling; diff --git a/src/avclan/avclandrv.h b/src/avclan/avclandrv.h index d7da565..8ab8491 100644 --- a/src/avclan/avclandrv.h +++ b/src/avclan/avclandrv.h @@ -1,20 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // Umbrella header for the avclan library. Consumers (e.g. the app in // src/sniffer.c) include this single header to pull in the whole AVC-LAN stack. diff --git a/src/avclan/cdchanger.c b/src/avclan/cdchanger.c index 0170973..1595a08 100644 --- a/src/avclan/cdchanger.c +++ b/src/avclan/cdchanger.c @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/avclan/cdchanger.h b/src/avclan/cdchanger.h index bb76ec1..5e42b37 100644 --- a/src/avclan/cdchanger.h +++ b/src/avclan/cdchanger.h @@ -1,20 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // Emulated CD-changer device (AVC-LAN device 0x63): playback state, BCD time, // status-frame generation, and the play/stop mode FSM. This is pure-ish device diff --git a/src/avclan/mediacontrol.h b/src/avclan/mediacontrol.h index 217e199..7e813f8 100644 --- a/src/avclan/mediacontrol.h +++ b/src/avclan/mediacontrol.h @@ -1,20 +1,5 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // Media-control: route/handle head-unit button presses to the audio source. diff --git a/src/avclan/statustimer.h b/src/avclan/statustimer.h index 2b601ff..d0a2de6 100644 --- a/src/avclan/statustimer.h +++ b/src/avclan/statustimer.h @@ -1,20 +1,5 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // ~1 Hz status-update tick interface. The app // polls statustimer_tickPending() and clears the tick with diff --git a/src/avclan/target/avr-attiny3216/board_avr.c b/src/avclan/target/avr-attiny3216/board_avr.c index 171c532..889b303 100644 --- a/src/avclan/target/avr-attiny3216/board_avr.c +++ b/src/avclan/target/avr-attiny3216/board_avr.c @@ -1,20 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // ATtiny3216 board bring-up: main-clock prescaler + GPIO config for pins not // owned by a peripheral's own init. diff --git a/src/avclan/target/avr-attiny3216/media_avr.c b/src/avclan/target/avr-attiny3216/media_avr.c index df6c465..837e2e7 100644 --- a/src/avclan/target/avr-attiny3216/media_avr.c +++ b/src/avclan/target/avr-attiny3216/media_avr.c @@ -1,27 +1,12 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include #include #include -#include "media_avr.h" // mediacontrol_syncDuringMask (used by the bus guard) +#include "media_avr.h" // mediacontrol_syncDuringMask (used by the bus guard) #include "mediacontrol.h" // F_CPU defined in timing_avr.h; the mic tick constants below are derived from diff --git a/src/avclan/target/avr-attiny3216/media_avr.h b/src/avclan/target/avr-attiny3216/media_avr.h index 51ddddc..64a7046 100644 --- a/src/avclan/target/avr-attiny3216/media_avr.h +++ b/src/avclan/target/avr-attiny3216/media_avr.h @@ -1,20 +1,5 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later // AVR-internal media-driver hooks, shared between media_avr.c and the bus // transaction guard (phy_avr.c's AVCLAN_stopEvent). Not part of the public diff --git a/src/avclan/target/avr-attiny3216/phy_avr.c b/src/avclan/target/avr-attiny3216/phy_avr.c index 64e80aa..b8fe394 100644 --- a/src/avclan/target/avr-attiny3216/phy_avr.c +++ b/src/avclan/target/avr-attiny3216/phy_avr.c @@ -1,26 +1,9 @@ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + /* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - --------------------------------------------------------------------------------------- - AVC LAN Theory The AVC LAN bus is an implementation of the IEBus (mode 1) which is a @@ -60,8 +43,6 @@ - For acknowledge bits, the receiver extends the logical '0' of the sync period to the length of a normal bit `0`. Hence, a NAK (bit `1`) is literally the absence of an ACK. - --------------------------------------------------------------------------------------- */ #include diff --git a/src/avclan/target/avr-attiny3216/statustick_avr.c b/src/avclan/target/avr-attiny3216/statustick_avr.c index 18373a3..aab6950 100644 --- a/src/avclan/target/avr-attiny3216/statustick_avr.c +++ b/src/avclan/target/avr-attiny3216/statustick_avr.c @@ -1,20 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/avclan/target/avr-attiny3216/timing_avr.h b/src/avclan/target/avr-attiny3216/timing_avr.h index dfa8f0b..0a6a770 100644 --- a/src/avclan/target/avr-attiny3216/timing_avr.h +++ b/src/avclan/target/avr-attiny3216/timing_avr.h @@ -1,12 +1,16 @@ +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef TIMING_AVR_H #define TIMING_AVR_H // AVR ATtiny3216 timing parameters. Derives F_CPU (needed by avr-libc, e.g. // util/delay.h) and the bus-timer (TCB) tick period from the CMake-provided -// FREQSEL / CLK_PRESCALE / TCB_CLKSEL, then hands the generic timing.h a TICK_US -// (microseconds per TCB tick) so the physical bit-phase durations resolve to -// TCB-tick counts. TICK_US == TCB_TICK / 1000, so every derived constant is -// numerically identical to the previous F_CPU/TCB_CLKSEL formulation. +// FREQSEL / CLK_PRESCALE / TCB_CLKSEL, then hands the generic timing.h a +// TICK_US (microseconds per TCB tick) so the physical bit-phase durations +// resolve to TCB-tick counts. TICK_US == TCB_TICK / 1000, so every derived +// constant is numerically identical to the previous F_CPU/TCB_CLKSEL +// formulation. #define __CLKCTRL_PDIV_2X_gc 2 #define __CLKCTRL_PDIV_4X_gc 4 diff --git a/src/avclan/timing.h b/src/avclan/timing.h index 684d11d..88df522 100644 --- a/src/avclan/timing.h +++ b/src/avclan/timing.h @@ -1,3 +1,6 @@ +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef _TIMING_HPP_ #define _TIMING_HPP_ diff --git a/src/board.h b/src/board.h index f66336f..c9d8cda 100644 --- a/src/board.h +++ b/src/board.h @@ -1,24 +1,5 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -// Board / MCU bring-up interface (the BSP seam). Implemented per-target (the AVR -// implementation is target/avr-attiny3216/board_avr.c). Keeps the app -// (sniffer.c) free of clock/pin/interrupt register access. +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef BOARD_H #define BOARD_H diff --git a/src/com232.c b/src/com232.c index 0929dc3..f222b0f 100644 --- a/src/com232.c +++ b/src/com232.c @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include diff --git a/src/com232.h b/src/com232.h index 60154cf..f90068d 100644 --- a/src/com232.h +++ b/src/com232.h @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef __COM232_H #define __COM232_H diff --git a/src/queue.c b/src/queue.c index 32fa2f0..bcd7968 100644 --- a/src/queue.c +++ b/src/queue.c @@ -1,3 +1,6 @@ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + #include #include "avclandrv.h" diff --git a/src/queue.h b/src/queue.h index fc3798f..a24c3ae 100644 --- a/src/queue.h +++ b/src/queue.h @@ -1,3 +1,6 @@ +// Copyright (C) 2026 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later + #pragma once #include diff --git a/src/sniffer.c b/src/sniffer.c index dc32c66..bffc54d 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -1,24 +1,7 @@ -/* - AVCLAN-Mockingboard - Copyright (C) 2015 Allen Hill - - Portions of the following source code are based on code that is - copyright (C) 2006 Marcin Slonicki - copyright (C) 2007 Louis Frigon - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ +// copyright (C) 2006 Marcin Slonicki +// copyright (C) 2007 Louis Frigon +// Copyright (C) 2015 Allen Hill +// SPDX-License-Identifier: GPL-3.0-or-later #include #include