From: Russell King <rmk@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: PCI patches (1/3)
Date: Sat, 22 Mar 2003 16:55:56 +0000 [thread overview]
Message-ID: <20030322165556.E8712@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030322165525.D8712@flint.arm.linux.org.uk>; from rmk@arm.linux.org.uk on Sat, Mar 22, 2003 at 04:55:25PM +0000
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1130 -> 1.1131
# drivers/pci/setup-res.c 1.15 -> 1.16
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/22 ink@undisclosed.(none) 1.1131
# [PCI] Don't call pci_update_resource() for bridge resources.
#
# Minor cleanup: don't call pci_update_resource() for bridges,
# get rid of bogus "trying to set non-standard region" messages thus.
# --------------------------------------------
#
diff -Nru a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c
--- a/drivers/pci/setup-res.c Sat Mar 22 16:51:48 2003
+++ b/drivers/pci/setup-res.c Sat Mar 22 16:51:48 2003
@@ -59,9 +59,7 @@
reg = dev->rom_base_reg;
} else {
/* Hmm, non-standard resource. */
- printk("PCI: trying to set non-standard region %s/%d\n",
- dev->slot_name, resno);
- return;
+ BUG();
}
pci_write_config_dword(dev, reg, new);
@@ -141,7 +139,7 @@
if (ret) {
printk(KERN_ERR "PCI: Failed to allocate resource %d(%lx-%lx) for %s\n",
resno, res->start, res->end, dev->slot_name);
- } else {
+ } else if (resno < PCI_BRIDGE_RESOURCES) {
pci_update_resource(dev, res, resno);
}
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-03-22 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-22 16:55 [BK PULL] PCI patches Russell King
2003-03-22 16:55 ` Russell King [this message]
2003-03-22 16:56 ` PCI patches (2/3) Russell King
2003-03-22 16:56 ` PCI patches (3/3) Russell King
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=20030322165556.E8712@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.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