LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC] PCI: remove the "shadow" device list
@ 2008-02-15  0:39 Greg KH
  2008-02-15  0:39 ` [PATCH 01/12] PCI: remove pci_find_present Greg Kroah-Hartman
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Greg KH @ 2008-02-15  0:39 UTC (permalink / raw)
  To: linux-kernel, linux-pci, pcihpd-discuss

Here are a series of 12 patches that I've added to my quilt tree for
2.6.26 that delete the "shadow" PCI device tree.  There is no real need
to keep two lists of all PCI devices in the kernel, the driver core
should be able to properly handle all of this.

We do keep the bus list of devices, as that is still useful for a lot of
things, and I don't see any obviously easy way to clean that up at the
moment.

Overall, the patch ends up deleting a lot of code, which is always a
good thing.

Comments are appreciated.

thanks,

greg k-h

----------------------

 Documentation/kernel-parameters.txt        |    4 -
 arch/frv/mb93090-mb00/pci-frv.h            |    2 -
 arch/frv/mb93090-mb00/pci-vdk.c            |   53 -----
 arch/mn10300/unit-asb2305/pci-asb2305.h    |    2 -
 arch/powerpc/platforms/pseries/pci_dlpar.c |    7 +-
 arch/sh/drivers/pci/pci-sh4.h              |    2 -
 arch/x86/kernel/pci-calgary_64.c           |    3 +-
 arch/x86/pci/common.c                      |   61 ------
 arch/x86/pci/pcbios.c                      |   72 -------
 arch/x86/pci/pci.h                         |    3 -
 drivers/ide/ide-scan-pci.c                 |    9 +-
 drivers/ide/ide.c                          |   12 -
 drivers/pci/bus.c                          |   15 +-
 drivers/pci/hotplug/Kconfig                |    4 +-
 drivers/pci/hotplug/cpcihp_generic.c       |    8 +-
 drivers/pci/probe.c                        |   56 ++----
 drivers/pci/remove.c                       |   10 +-
 drivers/pci/search.c                       |  313 +++++++++++-----------------
 include/asm-sh/mpc1211/pci.h               |    2 -
 include/linux/ide.h                        |    1 -
 include/linux/pci.h                        |   20 +--
 21 files changed, 159 insertions(+), 500 deletions(-)

---------------

Greg Kroah-Hartman (12):
      PCI: remove pci_find_present
      PCI: remove pci_get_device_reverse from calgary driver
      IDE: remove ide=reverse IDE core
      PCI: remove pci_get_device_reverse
      PCI: clean up search.c a lot
      PCI Hotplug: make cpcihp driver use modern apis
      PCI Hotplug: the ibm driver is not dependant on PCI_LEGACY
      PCI: remove initial bios sort of PCI devices on x86
      PCI: make no_pci_devices() use the pci_bus_type list
      PCI: add is_added flag to struct pci_dev
      PCI: remove pcibious_fixup_ghosts()
      PCI: remove global list of PCI devices


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

end of thread, other threads:[~2008-02-19 19:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15  0:39 [RFC] PCI: remove the "shadow" device list Greg KH
2008-02-15  0:39 ` [PATCH 01/12] PCI: remove pci_find_present Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 02/12] PCI: remove pci_get_device_reverse from calgary driver Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 03/12] IDE: remove ide=reverse IDE core Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 04/12] PCI: remove pci_get_device_reverse Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 05/12] PCI: clean up search.c a lot Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 06/12] PCI Hotplug: make cpcihp driver use modern apis Greg Kroah-Hartman
2008-02-15 22:45   ` Scott Murray
2008-02-19 19:32     ` [Pcihpd-discuss] " Greg KH
2008-02-15  0:40 ` [PATCH 07/12] PCI Hotplug: the ibm driver is not dependant on PCI_LEGACY Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 08/12] PCI: remove initial bios sort of PCI devices on x86 Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 09/12] PCI: make no_pci_devices() use the pci_bus_type list Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 10/12] PCI: add is_added flag to struct pci_dev Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 11/12] PCI: remove pcibious_fixup_ghosts() Greg Kroah-Hartman
2008-02-15  0:40 ` [PATCH 12/12] PCI: remove global list of PCI devices Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).