From d5319cf2ca3babf7b594f91eacb8d85b1e4c9e4d Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Tue, 13 Oct 2026 14:05:57 -0500 Subject: [PATCH] License headers added. --- drv/README.md | 2 ++ drv/commdrv.c | 4 ++++ drv/commdrv.def | 4 ++++ drv/commdrv.h | 4 ++++ drv/isr.c | 4 ++++ drv/kpcomm.lnk | 4 ++++ drv/lpt.c | 4 ++++ drv/makefile | 4 ++++ drv/watcom.mk | 4 ++++ 9 files changed, 34 insertions(+) diff --git a/drv/README.md b/drv/README.md index fe28556..f9e6096 100644 --- a/drv/README.md +++ b/drv/README.md @@ -666,6 +666,8 @@ KPCOMM is distributed under the MIT License (`LICENSE.md`): it may be used, changed and shipped, alone or with a program, as source or as the built driver, as long as the copyright and permission notice go with it. The license covers this folder; the rest of the repository is not under it. +Each source file here opens with a short header that says so +(`SPDX-License-Identifier: MIT`). Built with Open Watcom (`watcom.mk`), the driver also carries Open Watcom code (its DLL start-up and C library helpers), and Open Watcom's license diff --git a/drv/commdrv.c b/drv/commdrv.c index 56d15b7..230e502 100644 --- a/drv/commdrv.c +++ b/drv/commdrv.c @@ -1,3 +1,7 @@ +// Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +// See LICENSE.md for license information. +// SPDX-License-Identifier: MIT +// // commdrv.c - KPCOMM.DRV -- High-speed COMM.DRV replacement // // Exported COMM.DRV entry points (Windows 3.1 DDAG signatures), port diff --git a/drv/commdrv.def b/drv/commdrv.def index d6e64ca..7a753fe 100644 --- a/drv/commdrv.def +++ b/drv/commdrv.def @@ -1,3 +1,7 @@ +; Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +; See LICENSE.md for license information. +; SPDX-License-Identifier: MIT + LIBRARY COMM DESCRIPTION 'KPCOMM -- High-Speed Serial Communications Driver' EXETYPE WINDOWS diff --git a/drv/commdrv.h b/drv/commdrv.h index 83a82ba..b71ddfd 100644 --- a/drv/commdrv.h +++ b/drv/commdrv.h @@ -1,3 +1,7 @@ +// Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +// See LICENSE.md for license information. +// SPDX-License-Identifier: MIT +// // commdrv.h - KPCOMM.DRV -- High-speed COMM.DRV replacement // // Types, UART/PIC/DPMI/BIOS constants, port state, and the prototypes diff --git a/drv/isr.c b/drv/isr.c index 5c65be9..e58b663 100644 --- a/drv/isr.c +++ b/drv/isr.c @@ -1,3 +1,7 @@ +// Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +// See LICENSE.md for license information. +// SPDX-License-Identifier: MIT +// // isr.c - Interrupt-time code for KPCOMM.DRV // // Hardware interrupt entry points, DPMI vector hooking with a per-IRQ diff --git a/drv/kpcomm.lnk b/drv/kpcomm.lnk index 305fc26..db2f59f 100644 --- a/drv/kpcomm.lnk +++ b/drv/kpcomm.lnk @@ -1,3 +1,7 @@ +# Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +# See LICENSE.md for license information. +# SPDX-License-Identifier: MIT +# # kpcomm.lnk -- wlink directives for KPCOMM.DRV built with Open Watcom # (watcom.mk): what commdrv.def gives MSVC's linker. The module name stays # COMM, as USER.EXE imports the driver by that name, and the entry points diff --git a/drv/lpt.c b/drv/lpt.c index ac68d86..2d86607 100644 --- a/drv/lpt.c +++ b/drv/lpt.c @@ -1,3 +1,7 @@ +// Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +// See LICENSE.md for license information. +// SPDX-License-Identifier: MIT +// // lpt.c - Parallel port support for KPCOMM.DRV // // The stock COMM.DRV also serves LPT1-LPT3 (cid 0x80-0x82), and Windows diff --git a/drv/makefile b/drv/makefile index 0de96df..4bb381c 100644 --- a/drv/makefile +++ b/drv/makefile @@ -1,3 +1,7 @@ +# Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +# See LICENSE.md for license information. +# SPDX-License-Identifier: MIT +# # makefile - High-speed COMM.DRV replacement for MSVC 1.52 # # Build: nmake diff --git a/drv/watcom.mk b/drv/watcom.mk index e8df601..c65fc51 100644 --- a/drv/watcom.mk +++ b/drv/watcom.mk @@ -1,3 +1,7 @@ +# Part of KPCOMM, Copyright (c) 2026 Scott Duensing, under the MIT License. +# See LICENSE.md for license information. +# SPDX-License-Identifier: MIT +# # watcom.mk -- KPCOMM.DRV built on Linux with Open Watcom v2's 16-bit # Windows target, for hosts without MSVC 1.52 (the makefile, for NMAKE, is # the MSVC build). Uses the Open Watcom JoeyLib's installer sets up, unless