From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI fixes for 2.6.4-rc1
Date: Fri, 27 Feb 2004 16:09:43 -0800 [thread overview]
Message-ID: <10779269831109@kroah.com> (raw)
In-Reply-To: <10779269821259@kroah.com>
ChangeSet 1.1616, 2004/02/24 11:08:13-08:00, lxiep@ltcfwd.linux.ibm.com
[PATCH] PCI Hotplug: fix rpaphp bugs
The attached patch has a fix for the conflict between fakephp and
rpaphp so that fakephp and rpaphp can't be built into the kernel at the
same time and a couple of problems I missed in my previous patch.
(Sorry about that).
drivers/pci/hotplug/Kconfig | 2 +-
drivers/pci/hotplug/rpaphp.h | 2 +-
drivers/pci/hotplug/rpaphp_core.c | 4 +---
3 files changed, 3 insertions(+), 5 deletions(-)
diff -Nru a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
--- a/drivers/pci/hotplug/Kconfig Fri Feb 27 15:57:21 2004
+++ b/drivers/pci/hotplug/Kconfig Fri Feb 27 15:57:21 2004
@@ -191,7 +191,7 @@
config HOTPLUG_PCI_RPA
tristate "RPA PCI Hotplug driver"
- depends on HOTPLUG_PCI && PPC_PSERIES && PPC64
+ depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
help
Say Y here if you have a a RPA system that supports PCI Hotplug.
diff -Nru a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
--- a/drivers/pci/hotplug/rpaphp.h Fri Feb 27 15:57:21 2004
+++ b/drivers/pci/hotplug/rpaphp.h Fri Feb 27 15:57:21 2004
@@ -54,7 +54,7 @@
#define dbg(format, arg...) \
do { \
- if (rpaphp_debug) \
+ if (debug) \
printk(KERN_DEBUG "%s: " format, \
MY_NAME , ## arg); \
} while (0)
diff -Nru a/drivers/pci/hotplug/rpaphp_core.c b/drivers/pci/hotplug/rpaphp_core.c
--- a/drivers/pci/hotplug/rpaphp_core.c Fri Feb 27 15:57:21 2004
+++ b/drivers/pci/hotplug/rpaphp_core.c Fri Feb 27 15:57:21 2004
@@ -39,7 +39,7 @@
#include "pci_hotplug.h"
-static int debug = 1;
+static int debug;
static struct semaphore rpaphp_sem;
static LIST_HEAD (rpaphp_slot_head);
static int num_slots;
@@ -837,8 +837,6 @@
int retval = 0;
info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
-
- rpaphp_debug = debug;
/* read all the PRA info from the system */
retval = init_rpa();
next prev parent reply other threads:[~2004-02-28 0:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-28 0:07 [BK PATCH] PCI fixes for 2.6.4-rc1 Greg KH
2004-02-28 0:09 ` [PATCH] " Greg KH
2004-02-28 0:09 ` Greg KH
2004-02-28 0:09 ` Greg KH
2004-02-28 0:09 ` Greg KH [this message]
2004-02-28 0:09 ` Greg KH
2004-02-28 0:09 ` Greg KH
2004-02-28 0:09 ` Greg KH
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=10779269831109@kroah.com \
--to=greg@kroah.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.