public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description
@ 2009-10-30 19:46 Thadeu Lima de Souza Cascardo
  2009-11-02 15:49 ` Jiri Kosina
  2009-11-04 18:18 ` Jesse Barnes
  0 siblings, 2 replies; 5+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-10-30 19:46 UTC (permalink / raw)
  To: trivial
  Cc: Alex Chiang, Thadeu Lima de Souza Cascardo, Jesse Barnes,
	Chris Wright, Matthew Wilcox, Greg Kroah-Hartman, linux-pci,
	linux-kernel

Commit 3b073eda has removed pci_find_slot, so there's no point in
mentioning it in the config description as one of the deprecated APIs
there are enabled by PCI_LEGACY and still used by some drivers.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
 drivers/pci/Kconfig |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index fdc864f..48a3ea7 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -27,10 +27,10 @@ config PCI_LEGACY
 	default y
 	help
 	  Say Y here if you want to include support for the deprecated
-	  pci_find_slot() and pci_find_device() APIs.  Most drivers have
-	  been converted over to using the proper hotplug APIs, so this
-	  option serves to include/exclude only a few drivers that are
-	  still using this API.
+	  pci_find_device() API.  Most drivers have been converted over
+	  to using the proper hotplug APIs, so this option serves to
+	  include/exclude only a few drivers that are still using this
+	  API.
 
 config PCI_DEBUG
 	bool "PCI Debugging"
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description
  2009-10-30 19:46 [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description Thadeu Lima de Souza Cascardo
@ 2009-11-02 15:49 ` Jiri Kosina
  2009-11-02 16:56   ` Thadeu Lima de Souza Cascardo
  2009-11-04 18:18 ` Jesse Barnes
  1 sibling, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2009-11-02 15:49 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo
  Cc: Alex Chiang, Jesse Barnes, Chris Wright, Matthew Wilcox,
	Greg Kroah-Hartman, linux-pci, linux-kernel

On Fri, 30 Oct 2009, Thadeu Lima de Souza Cascardo wrote:

> Commit 3b073eda has removed pci_find_slot, so there's no point in
> mentioning it in the config description as one of the deprecated APIs
> there are enabled by PCI_LEGACY and still used by some drivers.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---
>  drivers/pci/Kconfig |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index fdc864f..48a3ea7 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -27,10 +27,10 @@ config PCI_LEGACY
>  	default y
>  	help
>  	  Say Y here if you want to include support for the deprecated
> -	  pci_find_slot() and pci_find_device() APIs.  Most drivers have
> -	  been converted over to using the proper hotplug APIs, so this
> -	  option serves to include/exclude only a few drivers that are
> -	  still using this API.
> +	  pci_find_device() API.  Most drivers have been converted over
> +	  to using the proper hotplug APIs, so this option serves to
> +	  include/exclude only a few drivers that are still using this
> +	  API.

While you are at it, how about removing the references in 
Documentation/PCI/pci.txt as well?

Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description
  2009-11-02 15:49 ` Jiri Kosina
@ 2009-11-02 16:56   ` Thadeu Lima de Souza Cascardo
  2009-11-02 18:27     ` Alex Chiang
  0 siblings, 1 reply; 5+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2009-11-02 16:56 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Alex Chiang, Jesse Barnes, Chris Wright, Matthew Wilcox,
	Greg Kroah-Hartman, linux-pci, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]

On Mon, Nov 02, 2009 at 04:49:01PM +0100, Jiri Kosina wrote:
> On Fri, 30 Oct 2009, Thadeu Lima de Souza Cascardo wrote:
> 
> > Commit 3b073eda has removed pci_find_slot, so there's no point in
> > mentioning it in the config description as one of the deprecated APIs
> > there are enabled by PCI_LEGACY and still used by some drivers.
> > 
> > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> > ---
> >  drivers/pci/Kconfig |    8 ++++----
> >  1 files changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> > index fdc864f..48a3ea7 100644
> > --- a/drivers/pci/Kconfig
> > +++ b/drivers/pci/Kconfig
> > @@ -27,10 +27,10 @@ config PCI_LEGACY
> >  	default y
> >  	help
> >  	  Say Y here if you want to include support for the deprecated
> > -	  pci_find_slot() and pci_find_device() APIs.  Most drivers have
> > -	  been converted over to using the proper hotplug APIs, so this
> > -	  option serves to include/exclude only a few drivers that are
> > -	  still using this API.
> > +	  pci_find_device() API.  Most drivers have been converted over
> > +	  to using the proper hotplug APIs, so this option serves to
> > +	  include/exclude only a few drivers that are still using this
> > +	  API.
> 
> While you are at it, how about removing the references in 
> Documentation/PCI/pci.txt as well?
> 
> Thanks,
> 
> -- 
> Jiri Kosina
> SUSE Labs, Novell Inc.

I've hit them. But, on a first fast look, they seemed important
historically. I will take a closer look and point that if it's proper or
remove them entirely as you suggest.

Regards,
Cascardo.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description
  2009-11-02 16:56   ` Thadeu Lima de Souza Cascardo
@ 2009-11-02 18:27     ` Alex Chiang
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Chiang @ 2009-11-02 18:27 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo
  Cc: Jiri Kosina, Jesse Barnes, Chris Wright, Matthew Wilcox,
	Greg Kroah-Hartman, linux-pci, linux-kernel

* Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>:
> On Mon, Nov 02, 2009 at 04:49:01PM +0100, Jiri Kosina wrote:
> > On Fri, 30 Oct 2009, Thadeu Lima de Souza Cascardo wrote:
> > 
> > > Commit 3b073eda has removed pci_find_slot, so there's no point in
> > > mentioning it in the config description as one of the deprecated APIs
> > > there are enabled by PCI_LEGACY and still used by some drivers.
> > 
> > While you are at it, how about removing the references in 
> > Documentation/PCI/pci.txt as well?
> 
> I've hit them. But, on a first fast look, they seemed important
> historically. I will take a closer look and point that if it's proper or
> remove them entirely as you suggest.

I think you can safely remove the references to the APIs that are
no longer in the kernel at all, such as pci_find_slot(), etc.

On the other hand, if an interface is still there but deprecated,
you can leave it in Documentation/PCI/pci.txt.

Thanks,
/ac


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description
  2009-10-30 19:46 [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description Thadeu Lima de Souza Cascardo
  2009-11-02 15:49 ` Jiri Kosina
@ 2009-11-04 18:18 ` Jesse Barnes
  1 sibling, 0 replies; 5+ messages in thread
From: Jesse Barnes @ 2009-11-04 18:18 UTC (permalink / raw)
  To: Thadeu Lima de Souza Cascardo
  Cc: trivial, Alex Chiang, Thadeu Lima de Souza Cascardo, Chris Wright,
	Matthew Wilcox, Greg Kroah-Hartman, linux-pci, linux-kernel

On Fri, 30 Oct 2009 17:46:48 -0200
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> wrote:

> Commit 3b073eda has removed pci_find_slot, so there's no point in
> mentioning it in the config description as one of the deprecated APIs
> there are enabled by PCI_LEGACY and still used by some drivers.
> 
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> ---

Applied to linux-next.  You can do the suggested pci.txt stuff in a
followup if you want.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-04 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 19:46 [PATCH] pci: remove pci_find_slot from PCI_LEGACY config description Thadeu Lima de Souza Cascardo
2009-11-02 15:49 ` Jiri Kosina
2009-11-02 16:56   ` Thadeu Lima de Souza Cascardo
2009-11-02 18:27     ` Alex Chiang
2009-11-04 18:18 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox