License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 22:07:57 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2006-08-10 19:31:37 +08:00
|
|
|
|
2006-08-15 02:12:57 +08:00
|
|
|
obj-$(CONFIG_ATA) += libata.o
|
|
|
|
|
2010-05-20 04:10:24 +08:00
|
|
|
# non-SFF interface
|
2010-03-28 12:22:14 +08:00
|
|
|
obj-$(CONFIG_SATA_AHCI) += ahci.o libahci.o
|
2010-11-13 05:38:21 +08:00
|
|
|
obj-$(CONFIG_SATA_ACARD_AHCI) += acard-ahci.o libahci.o
|
2016-01-15 00:31:11 +08:00
|
|
|
obj-$(CONFIG_SATA_AHCI_SEATTLE) += ahci_seattle.o libahci.o libahci_platform.o
|
2014-03-26 02:51:39 +08:00
|
|
|
obj-$(CONFIG_SATA_AHCI_PLATFORM) += ahci_platform.o libahci.o libahci_platform.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_SATA_FSL) += sata_fsl.o
|
ata: Add driver for Faraday Technology FTIDE010
This adds a driver for the Faraday Technology FTIDE010
PATA IP block.
When used with the Storlink/Storm/Cortina Systems Gemini
SoC, the PATA interface is accompanied by a PATA<->SATA
bridge, so while the device appear as a PATA controller,
it attaches physically to SATA disks, and also has a
designated memory area with registers to set up the bridge.
The Gemini SATA bridge is separated into its own driver
file to make things modular and make it possible to reuse
the PATA driver as stand-alone on other systems than the
Gemini.
dmesg excerpt from the D-Link DIR-685 storage router:
gemini-sata-bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
gemini-sata-bridge 46000000.sata: set up the Gemini IDE/SATA nexus
ftide010 63000000.ata: set up Gemini PATA0
ftide010 63000000.ata: device ID 00000500, irq 26, io base 0x63000000
ftide010 63000000.ata: SATA0 (master) start
gemini-sata-bridge 46000000.sata: SATA0 PHY ready
scsi host0: pata-ftide010
ata1: PATA max UDMA/133 irq 26
ata1.00: ATA-8: INTEL SSDSA2CW120G3, 4PC10302, max UDMA/133
ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA INTEL SSDSA2CW12 0302 PQ: 0 ANSI: 5
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
ata1.00: Enabling discard_zeroes_data
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] Attached SCSI disk
After this I can flawlessly mount and read/write copy etc files
from /dev/sda[n].
Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-06-04 16:50:08 +08:00
|
|
|
obj-$(CONFIG_SATA_GEMINI) += sata_gemini.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_SATA_INIC162X) += sata_inic162x.o
|
|
|
|
obj-$(CONFIG_SATA_SIL24) += sata_sil24.o
|
2010-07-06 19:06:03 +08:00
|
|
|
obj-$(CONFIG_SATA_DWC) += sata_dwc_460ex.o
|
2012-09-29 01:23:37 +08:00
|
|
|
obj-$(CONFIG_SATA_HIGHBANK) += sata_highbank.o libahci.o
|
2016-06-16 21:53:32 +08:00
|
|
|
obj-$(CONFIG_AHCI_BRCM) += ahci_brcm.o libahci.o libahci_platform.o
|
2015-06-09 16:53:50 +08:00
|
|
|
obj-$(CONFIG_AHCI_CEVA) += ahci_ceva.o libahci.o libahci_platform.o
|
2014-03-26 02:51:40 +08:00
|
|
|
obj-$(CONFIG_AHCI_DA850) += ahci_da850.o libahci.o libahci_platform.o
|
2017-03-14 19:04:51 +08:00
|
|
|
obj-$(CONFIG_AHCI_DM816) += ahci_dm816.o libahci.o libahci_platform.o
|
2014-03-26 02:51:39 +08:00
|
|
|
obj-$(CONFIG_AHCI_IMX) += ahci_imx.o libahci.o libahci_platform.o
|
2017-08-18 09:13:07 +08:00
|
|
|
obj-$(CONFIG_AHCI_MTK) += ahci_mtk.o libahci.o libahci_platform.o
|
2014-04-15 23:00:03 +08:00
|
|
|
obj-$(CONFIG_AHCI_MVEBU) += ahci_mvebu.o libahci.o libahci_platform.o
|
2016-02-11 21:53:08 +08:00
|
|
|
obj-$(CONFIG_AHCI_OCTEON) += ahci_octeon.o
|
2014-03-26 02:51:39 +08:00
|
|
|
obj-$(CONFIG_AHCI_SUNXI) += ahci_sunxi.o libahci.o libahci_platform.o
|
|
|
|
obj-$(CONFIG_AHCI_ST) += ahci_st.o libahci.o libahci_platform.o
|
2014-07-18 15:12:30 +08:00
|
|
|
obj-$(CONFIG_AHCI_TEGRA) += ahci_tegra.o libahci.o libahci_platform.o
|
2014-03-26 02:51:39 +08:00
|
|
|
obj-$(CONFIG_AHCI_XGENE) += ahci_xgene.o libahci.o libahci_platform.o
|
2015-09-07 16:23:16 +08:00
|
|
|
obj-$(CONFIG_AHCI_QORIQ) += ahci_qoriq.o libahci.o libahci_platform.o
|
2010-05-20 04:10:24 +08:00
|
|
|
|
|
|
|
# SFF w/ custom DMA
|
|
|
|
obj-$(CONFIG_PDC_ADMA) += pdc_adma.o
|
2011-02-22 18:16:07 +08:00
|
|
|
obj-$(CONFIG_PATA_ARASAN_CF) += pata_arasan_cf.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_OCTEON_CF) += pata_octeon_cf.o
|
|
|
|
obj-$(CONFIG_SATA_QSTOR) += sata_qstor.o
|
|
|
|
obj-$(CONFIG_SATA_SX4) += sata_sx4.o
|
|
|
|
|
|
|
|
# SFF SATA w/ BMDMA
|
2006-08-15 02:12:57 +08:00
|
|
|
obj-$(CONFIG_ATA_PIIX) += ata_piix.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_SATA_MV) += sata_mv.o
|
|
|
|
obj-$(CONFIG_SATA_NV) += sata_nv.o
|
2006-08-15 02:12:57 +08:00
|
|
|
obj-$(CONFIG_SATA_PROMISE) += sata_promise.o
|
2013-02-21 04:10:29 +08:00
|
|
|
obj-$(CONFIG_SATA_RCAR) += sata_rcar.o
|
2006-08-15 02:12:57 +08:00
|
|
|
obj-$(CONFIG_SATA_SIL) += sata_sil.o
|
|
|
|
obj-$(CONFIG_SATA_SIS) += sata_sis.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_SATA_SVW) += sata_svw.o
|
2006-08-15 02:12:57 +08:00
|
|
|
obj-$(CONFIG_SATA_ULI) += sata_uli.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_SATA_VIA) += sata_via.o
|
|
|
|
obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o
|
2006-08-10 19:31:37 +08:00
|
|
|
|
2010-05-20 04:10:24 +08:00
|
|
|
# SFF PATA w/ BMDMA
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_ALI) += pata_ali.o
|
|
|
|
obj-$(CONFIG_PATA_AMD) += pata_amd.o
|
|
|
|
obj-$(CONFIG_PATA_ARTOP) += pata_artop.o
|
|
|
|
obj-$(CONFIG_PATA_ATIIXP) += pata_atiixp.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_ATP867X) += pata_atp867x.o
|
|
|
|
obj-$(CONFIG_PATA_BF54X) += pata_bf54x.o
|
2017-03-23 02:20:58 +08:00
|
|
|
obj-$(CONFIG_PATA_BK3710) += pata_bk3710.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_CMD64X) += pata_cmd64x.o
|
|
|
|
obj-$(CONFIG_PATA_CS5520) += pata_cs5520.o
|
|
|
|
obj-$(CONFIG_PATA_CS5530) += pata_cs5530.o
|
|
|
|
obj-$(CONFIG_PATA_CS5535) += pata_cs5535.o
|
2007-10-11 15:38:19 +08:00
|
|
|
obj-$(CONFIG_PATA_CS5536) += pata_cs5536.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_CYPRESS) += pata_cypress.o
|
|
|
|
obj-$(CONFIG_PATA_EFAR) += pata_efar.o
|
2012-04-12 20:13:16 +08:00
|
|
|
obj-$(CONFIG_PATA_EP93XX) += pata_ep93xx.o
|
ata: Add driver for Faraday Technology FTIDE010
This adds a driver for the Faraday Technology FTIDE010
PATA IP block.
When used with the Storlink/Storm/Cortina Systems Gemini
SoC, the PATA interface is accompanied by a PATA<->SATA
bridge, so while the device appear as a PATA controller,
it attaches physically to SATA disks, and also has a
designated memory area with registers to set up the bridge.
The Gemini SATA bridge is separated into its own driver
file to make things modular and make it possible to reuse
the PATA driver as stand-alone on other systems than the
Gemini.
dmesg excerpt from the D-Link DIR-685 storage router:
gemini-sata-bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
gemini-sata-bridge 46000000.sata: set up the Gemini IDE/SATA nexus
ftide010 63000000.ata: set up Gemini PATA0
ftide010 63000000.ata: device ID 00000500, irq 26, io base 0x63000000
ftide010 63000000.ata: SATA0 (master) start
gemini-sata-bridge 46000000.sata: SATA0 PHY ready
scsi host0: pata-ftide010
ata1: PATA max UDMA/133 irq 26
ata1.00: ATA-8: INTEL SSDSA2CW120G3, 4PC10302, max UDMA/133
ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA INTEL SSDSA2CW12 0302 PQ: 0 ANSI: 5
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
ata1.00: Enabling discard_zeroes_data
ata1.00: Enabling discard_zeroes_data
sd 0:0:0:0: [sda] Attached SCSI disk
After this I can flawlessly mount and read/write copy etc files
from /dev/sda[n].
Cc: John Feng-Hsin Chiang <john453@faraday-tech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-06-04 16:50:08 +08:00
|
|
|
obj-$(CONFIG_PATA_FTIDE010) += pata_ftide010.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_HPT366) += pata_hpt366.o
|
|
|
|
obj-$(CONFIG_PATA_HPT37X) += pata_hpt37x.o
|
|
|
|
obj-$(CONFIG_PATA_HPT3X2N) += pata_hpt3x2n.o
|
|
|
|
obj-$(CONFIG_PATA_HPT3X3) += pata_hpt3x3.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o
|
2011-07-26 22:58:19 +08:00
|
|
|
obj-$(CONFIG_PATA_IMX) += pata_imx.o
|
2006-12-08 00:59:14 +08:00
|
|
|
obj-$(CONFIG_PATA_IT8213) += pata_it8213.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_IT821X) += pata_it821x.o
|
2006-09-06 22:48:19 +08:00
|
|
|
obj-$(CONFIG_PATA_JMICRON) += pata_jmicron.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_MACIO) += pata_macio.o
|
|
|
|
obj-$(CONFIG_PATA_MARVELL) += pata_marvell.o
|
2010-12-22 23:50:10 +08:00
|
|
|
obj-$(CONFIG_PATA_MPC52xx) += pata_mpc52xx.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_NETCELL) += pata_netcell.o
|
2007-11-19 22:45:53 +08:00
|
|
|
obj-$(CONFIG_PATA_NINJA32) += pata_ninja32.o
|
2007-09-29 14:35:10 +08:00
|
|
|
obj-$(CONFIG_PATA_NS87415) += pata_ns87415.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_OLDPIIX) += pata_oldpiix.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_OPTIDMA) += pata_optidma.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_PDC2027X) += pata_pdc2027x.o
|
|
|
|
obj-$(CONFIG_PATA_PDC_OLD) += pata_pdc202xx_old.o
|
|
|
|
obj-$(CONFIG_PATA_RADISYS) += pata_radisys.o
|
2009-06-25 01:29:44 +08:00
|
|
|
obj-$(CONFIG_PATA_RDC) += pata_rdc.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_SC1200) += pata_sc1200.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_SCH) += pata_sch.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_SERVERWORKS) += pata_serverworks.o
|
|
|
|
obj-$(CONFIG_PATA_SIL680) += pata_sil680.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_SIS) += pata_sis.o
|
2009-11-30 21:23:11 +08:00
|
|
|
obj-$(CONFIG_PATA_TOSHIBA) += pata_piccolo.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_TRIFLEX) += pata_triflex.o
|
2006-08-30 06:12:40 +08:00
|
|
|
obj-$(CONFIG_PATA_VIA) += pata_via.o
|
|
|
|
obj-$(CONFIG_PATA_WINBOND) += pata_sl82c105.o
|
2010-05-20 04:10:24 +08:00
|
|
|
|
|
|
|
# SFF PIO only
|
|
|
|
obj-$(CONFIG_PATA_AT32) += pata_at32.o
|
|
|
|
obj-$(CONFIG_PATA_CMD640_PCI) += pata_cmd640.o
|
2016-12-30 22:01:18 +08:00
|
|
|
obj-$(CONFIG_PATA_FALCON) += pata_falcon.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_ISAPNP) += pata_isapnp.o
|
2006-11-15 02:43:21 +08:00
|
|
|
obj-$(CONFIG_PATA_IXP4XX_CF) += pata_ixp4xx_cf.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_MPIIX) += pata_mpiix.o
|
|
|
|
obj-$(CONFIG_PATA_NS87410) += pata_ns87410.o
|
|
|
|
obj-$(CONFIG_PATA_OPTI) += pata_opti.o
|
|
|
|
obj-$(CONFIG_PATA_PCMCIA) += pata_pcmcia.o
|
|
|
|
obj-$(CONFIG_PATA_PALMLD) += pata_palmld.o
|
2006-10-28 10:08:48 +08:00
|
|
|
obj-$(CONFIG_PATA_PLATFORM) += pata_platform.o
|
2008-01-10 03:10:41 +08:00
|
|
|
obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o
|
2010-05-20 04:10:24 +08:00
|
|
|
obj-$(CONFIG_PATA_RB532) += pata_rb532_cf.o
|
|
|
|
obj-$(CONFIG_PATA_RZ1000) += pata_rz1000.o
|
2010-07-13 12:23:05 +08:00
|
|
|
obj-$(CONFIG_PATA_SAMSUNG_CF) += pata_samsung_cf.o
|
2010-05-20 04:10:24 +08:00
|
|
|
|
2010-05-21 09:12:44 +08:00
|
|
|
obj-$(CONFIG_PATA_PXA) += pata_pxa.o
|
|
|
|
|
pata_acpi: ACPI driver support
On a cable there may be
eighty wires or perhaps forty
and we learn about its type
In the world of ACPI
So we call the GTM
And we find the the timing rate
And we look through it to see
If eighty wire it must be
Timing lives in ACPI routines
ACPI routines, ACPI routines
Timing lives in ACPI routines
ACPI routes ACPI routines
And the drivers last you see
Picking up unknown pci ids
and the code begins to work
Timing lives in ACPI routines
ACPI routines, ACPI routines
Timing lives in ACPI routines
ACPI routes ACPI routines
[Full speed ahead, Mr Hacker, full speed ahead]
Full speed over here sir!
Checking Cable, checking cable
Aye aye, 80 wire,
Heaven heaven]
If we use ACPI (ACPI)
Every box (every box) has all we need (has all we need)
Cable type (cable type) and mode timing (mode timing)
In our ATA (in our ATA) subroutines (subroutines, ha ha)
Timing lives in ACPI routines
ACPI routines, ACPI routines
Timing lives in ACPI routines
ACPI routes ACPI routines
Timing lives in ACPI routines
ACPI routines, ACPI routines
Timing lives in ACPI routines
ACPI routes ACPI routines
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-05 04:32:58 +08:00
|
|
|
# Should be last but two libata driver
|
|
|
|
obj-$(CONFIG_PATA_ACPI) += pata_acpi.o
|
2006-08-30 06:12:40 +08:00
|
|
|
# Should be last but one libata driver
|
|
|
|
obj-$(CONFIG_ATA_GENERIC) += ata_generic.o
|
|
|
|
# Should be last libata driver
|
|
|
|
obj-$(CONFIG_PATA_LEGACY) += pata_legacy.o
|
|
|
|
|
2015-03-27 23:46:38 +08:00
|
|
|
libata-y := libata-core.o libata-scsi.o libata-eh.o \
|
|
|
|
libata-transport.o libata-trace.o
|
2008-04-07 21:47:21 +08:00
|
|
|
libata-$(CONFIG_ATA_SFF) += libata-sff.o
|
2008-04-07 21:47:22 +08:00
|
|
|
libata-$(CONFIG_SATA_PMP) += libata-pmp.o
|
2007-05-05 22:50:38 +08:00
|
|
|
libata-$(CONFIG_ATA_ACPI) += libata-acpi.o
|
2013-01-15 17:20:58 +08:00
|
|
|
libata-$(CONFIG_SATA_ZPODD) += libata-zpodd.o
|