Skip to content

Commit

Permalink
sys/x86: further adoption of SPDX licensing ID tags.
Browse files Browse the repository at this point in the history
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
  • Loading branch information
pgiffuni committed Nov 27, 2017
1 parent 6ce70ec commit ebf5747
Show file tree
Hide file tree
Showing 63 changed files with 128 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sys/x86/acpica/OsdEnvironment.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2000,2001 Michael Smith
* Copyright (c) 2000 BSDi
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/acpica/acpi_apm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2001 Mitsuru IWASAKI
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/acpica/acpi_wakeup.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2001 Takanori Watanabe <[email protected]>
* Copyright (c) 2001-2012 Mitsuru IWASAKI <[email protected]>
* Copyright (c) 2003 Peter Wemm
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/acpica/madt.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/acpica/srat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010 Hudson River Trading LLC
* Written by: John H. Baldwin <[email protected]>
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/bios/smbios.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Matthew N. Dodd <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/bios/vpd.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Matthew N. Dodd <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/cpufreq/est.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004 Colin Percival
* Copyright (c) 2005 Nate Lawson
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/cpufreq/hwpstate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Nate Lawson
* Copyright (c) 2004 Colin Percival
* Copyright (c) 2004-2005 Bruno Durcot
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/cpufreq/p4tcc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Nate Lawson
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/cpufreq/powernow.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004-2005 Bruno Ducrot
* Copyright (c) 2004 FUKUDA Nobuhiko <[email protected]>
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/cpufreq/smist.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Bruno Ducrot
*
* Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/_inttypes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-NetBSD
*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/_stdint.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (c) 2001, 2002 Mike Barcroft <[email protected]>
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/acpica_machdep.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Mitsuru IWASAKI
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/apicreg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1996, by Peter Wemm and Steve Passe
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/apicvar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/bus.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause-NetBSDE
*
* Copyright (c) KATO Takenori, 1999.
*
* All rights reserved. Unpublished rights reserved under the copyright
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/busdma_impl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/elf.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1996-1997 John D. Polstra.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/fdt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 Juniper Networks, Inc.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/init.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 Roger Pau Monné <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/legacyvar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2000 Peter Wemm <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/mca.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Hudson River Trading LLC
* Written by: John H. Baldwin <[email protected]>
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/mptable.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1996, by Steve Passe
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/ofw_machdep.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 Juniper Networks, Inc.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/pci_cfgreg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1997, Stefan Esser <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/sigframe.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 1999 Marcel Moolenaar
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/ucontext.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2003 Peter Wemm
* Copyright (c) 1999 Marcel Moolenaar
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/include/vdso.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright 2012 Konstantin Belousov <[email protected]>.
* Copyright 2016 The FreeBSD Foundation.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/busdma_dmar.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/busdma_dmar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_ctx.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_dmar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013-2015 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_drv.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013-2015 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_fault.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_gas.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_idpgtbl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_qi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_quirks.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013, 2015 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_reg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013-2015 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/iommu/intel_utils.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/isa/atpic.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/isa/atrtc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2008 Poul-Henning Kamp
* Copyright (c) 2010 Alexander Motin <[email protected]>
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/isa/elcr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2004 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/isa/isa.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD AND MIT
*
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/isa/orm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2000 Nikolai Saoukh
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/pci/pci_bus.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1997, Stefan Esser <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/pci/qpi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010 Hudson River Trading LLC
* Written by: John H. Baldwin <[email protected]>
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/busdma_bounce.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1997, 1998 Justin T. Gibbs.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/busdma_machdep.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1997, 1998 Justin T. Gibbs.
* Copyright (c) 2013 The FreeBSD Foundation
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/dump_machdep.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Marcel Moolenaar
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/fdt_machdep.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 Juniper Networks, Inc.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/intr_machdep.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/io_apic.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/local_apic.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2003 John Baldwin <[email protected]>
* Copyright (c) 1996, by Steve Passe
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/x86/x86/mca.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Hudson River Trading LLC
* Written by: John H. Baldwin <[email protected]>
* All rights reserved.
Expand Down
Loading

0 comments on commit ebf5747

Please sign in to comment.