From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz,
pcihpd-discuss@lists.sourceforge.net
Subject: [RFC] PCI: remove the "shadow" device list
Date: Thu, 14 Feb 2008 16:39:09 -0800 [thread overview]
Message-ID: <20080215003909.GA27981@kroah.com> (raw)
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
next reply other threads:[~2008-02-15 0:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 0:39 Greg KH [this message]
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
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=20080215003909.GA27981@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=pcihpd-discuss@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®