From: Wolfgang Denk Date: Thu, 10 Jul 2008 10:10:47 +0200 Subject: [U-Boot-Users] [PATCH] pci: Move PCI device configuration check into a separate weak function In-Reply-To: Your message of "Tue, 08 Jul 2008 12:01:47 +0200." <1215511307-25645-1-git-send-email-sr@denx.de> Message-ID: <20080710081047.8BDD3248FE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1215511307-25645-1-git-send-email-sr@denx.de> you wrote: > This patch moves the check, if a device should be skipped in PCI PNP > configuration into the function pci_skip_dev(). This function is defined > as weak so that it can be overwritten by a platform specific one if > needed. The check if the device should get printed in the PCI summary upon > bootup (when CONFIG_PCI_SCAN_SHOW is defined) is moved to the function > pci_print_dev() which is also defined as weak too. > > Signed-off-by: Stefan Roese > --- > drivers/pci/pci.c | 70 ++++++++++++++++++++++++++++++++++------------------ > 1 files changed, 46 insertions(+), 24 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Remember that Beethoven wrote his first symphony in C ...