From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v5 3/7] PCI: initial commit
Date: Tue, 8 Jul 2014 17:53:57 +0800 [thread overview]
Message-ID: <CD089837-2CB3-49D8-8F8A-965176D65247@jcrosoft.com> (raw)
In-Reply-To: <20140708135021.2841983f738ecc73ab185adf@gmail.com>
On Jul 8, 2014, at 5:50 PM, Antony Pavlov <antonynpavlov@gmail.com> wrote:
>
> On Mon, 7 Jul 2014 20:22:10 +0200
> Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> wrote:
>
>> On 01:27 Fri 04 Jul , Antony Pavlov wrote:
>>>
>>> used shorten version of linux-2.6.39 pci_ids.h
>>>
>>> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
>>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>>> ---
>>> drivers/Kconfig | 1 +
>>> drivers/Makefile | 1 +
>>> drivers/pci/Kconfig | 29 ++++
>>> drivers/pci/Makefile | 8 ++
>>> drivers/pci/bus.c | 110 +++++++++++++++
>>> drivers/pci/pci.c | 292 +++++++++++++++++++++++++++++++++++++++
>>> drivers/pci/pci_iomap.c | 29 ++++
>>> include/linux/mod_devicetable.h | 20 +++
>>> include/linux/pci.h | 297 ++++++++++++++++++++++++++++++++++++++++
>>> include/linux/pci_ids.h | 136 ++++++++++++++++++
>>> include/linux/pci_regs.h | 110 +++++++++++++++
>>> 11 files changed, 1033 insertions(+)
>>>
>>> diff --git a/drivers/Kconfig b/drivers/Kconfig
>>> index 53e1e97..12a9d8c 100644
>>> --- a/drivers/Kconfig
>>> +++ b/drivers/Kconfig
>>> @@ -27,5 +27,6 @@ source "drivers/pinctrl/Kconfig"
>>> source "drivers/bus/Kconfig"
>>> source "drivers/regulator/Kconfig"
>>> source "drivers/reset/Kconfig"
>>> +source "drivers/pci/Kconfig"
>>>
>>> endmenu
>>> diff --git a/drivers/Makefile b/drivers/Makefile
>>> index ef3604f..1990e86 100644
>>> --- a/drivers/Makefile
>>> +++ b/drivers/Makefile
>>> @@ -26,3 +26,4 @@ obj-y += pinctrl/
>>> obj-y += bus/
>>> obj-$(CONFIG_REGULATOR) += regulator/
>>> obj-$(CONFIG_RESET_CONTROLLER) += reset/
>>> +obj-$(CONFIG_PCI) += pci/
>>> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
>>> new file mode 100644
>>> index 0000000..9e46592
>>> --- /dev/null
>>> +++ b/drivers/pci/Kconfig
>>> @@ -0,0 +1,29 @@
>>> +config HW_HAS_PCI
>>> + bool
>>> +
>>> +if HW_HAS_PCI
>>> +
>>> +menu "PCI bus options"
>>> +
>>> +config PCI
>>> + bool "Support for PCI controller"
>>> + depends on HW_HAS_PCI
>>> + help
>>> + Find out whether you have a PCI motherboard. PCI is the name of a
>>> + bus system, i.e. the way the CPU talks to the other stuff inside
>>> + your box. If you have PCI, say Y, otherwise N.
>>> +
>>> +
>>> +config PCI_DEBUG
>>> + bool "PCI Debugging"
>>> + depends on PCI
>>> + help
>>> + Say Y here if you want the PCI core to produce a bunch of debug
>>> + messages to the system log. Select this if you are having a
>>> + problem with PCI support and want to see more of what is going on.
>>> +
>>> + When in doubt, say N.
>>> +
>>> +endmenu
>>> +
>>> +endif
>>> diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
>>> new file mode 100644
>>> index 0000000..edac1a5
>>> --- /dev/null
>>> +++ b/drivers/pci/Makefile
>>> @@ -0,0 +1,8 @@
>>> +#
>>> +# Makefile for the PCI bus specific drivers.
>>> +#
>>> +obj-y += pci.o bus.o pci_iomap.o
>>> +
>>> +ccflags-$(CONFIG_PCI_DEBUG) := -DDEBUG
>>> +
>>> +CPPFLAGS += $(ccflags-y)
>>> diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c
>>> new file mode 100644
>>> index 0000000..8215ee5
>>> --- /dev/null
>>> +++ b/drivers/pci/bus.c
>> missing copyright and licence
>>
>> I do not remember who wrote it you, me or both
>
> Should I use GPLv2-only or GPLv2-or-later license?
>
I only wrote GPLv2-only
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-07-08 9:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 21:26 [PATCH v5 0/7] barebox PCI support Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 1/7] linux/ioport.h: include missed <linux/list.h> Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 2/7] MIPS: add dma_alloc_coherent() Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 3/7] PCI: initial commit Antony Pavlov
2014-07-07 18:22 ` Jean-Christophe PLAGNIOL-VILLARD
2014-07-07 21:23 ` Antony Pavlov
2014-07-08 6:29 ` Sascha Hauer
2014-07-08 9:48 ` Antony Pavlov
2014-07-08 9:51 ` Sascha Hauer
2014-07-08 9:50 ` Antony Pavlov
2014-07-08 9:53 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2014-07-03 21:27 ` [PATCH v5 4/7] commands: add 'lspci' command Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 5/7] net: add RealTek RTL-8139 PCI Ethernet driver Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 6/7] MIPS: add PCI support for GT64120-based Malta board Antony Pavlov
2014-07-03 21:27 ` [PATCH v5 7/7] MIPS: qemu-malta_defconfig: enable PCI & network stuff Antony Pavlov
2014-07-04 5:38 ` [PATCH v5 0/7] barebox PCI support Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CD089837-2CB3-49D8-8F8A-965176D65247@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox