From: Greg KH <greg@kroah.com>
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [BK PATCH] PCI fixes for 2.6.0-test5
Date: Thu, 11 Sep 2003 15:54:18 -0700 [thread overview]
Message-ID: <20030911225418.GA14551@kroah.com> (raw)
Hi,
Here are some PCI patches against 2.6.0-test5. They fix the problem
with PCI drivers declaring their probe function as __init or __devinit
and then not selecting CONFIG_HOTPLUG. When a user would try to add a
new device id by using the "new_id" file in the driver's sysfs
directory, it would cause an oops. So now the "new_id" file is only
enabled if CONFIG_HOTPLUG is selected, and we've fixed up all of the PCI
drivers to mark their probe functions (and child functions and data) as
__devinit.
Thanks to Matt Domsch for the big patch, and all of the other people who
helped figure this out.
Please pull from:
bk://kernel.bkbits.net/gregkh/linux/pci-2.6
thanks,
greg k-h
p.s. I'll send these as patches in response to this email to lkml for
those who want to see them.
drivers/atm/firestream.c | 18 -
drivers/block/cciss.c | 4
drivers/char/epca.c | 2
drivers/char/watchdog/wdt_pci.c | 2
drivers/net/hamachi.c | 6
drivers/net/irda/via-ircc.c | 6
drivers/net/tc35815.c | 4
drivers/net/tokenring/abyss.c | 4
drivers/net/tokenring/tmspci.c | 4
drivers/net/tulip/de2104x.c | 4
drivers/net/tulip/de4x5.c | 8
drivers/net/wan/dscc4.c | 2
drivers/pci/hotplug/acpiphp.h | 12 -
drivers/pci/hotplug/acpiphp_core.c | 12 -
drivers/pci/hotplug/acpiphp_glue.c | 6
drivers/pci/hotplug/acpiphp_pci.c | 12 -
drivers/pci/hotplug/acpiphp_res.c | 12 -
drivers/pci/hotplug/cpci_hotplug.h | 6
drivers/pci/hotplug/cpci_hotplug_core.c | 6
drivers/pci/hotplug/cpci_hotplug_pci.c | 2
drivers/pci/hotplug/cpqphp.h | 6
drivers/pci/hotplug/cpqphp_core.c | 6
drivers/pci/hotplug/cpqphp_ctrl.c | 6
drivers/pci/hotplug/cpqphp_nvram.c | 6
drivers/pci/hotplug/cpqphp_nvram.h | 4
drivers/pci/hotplug/cpqphp_pci.c | 6
drivers/pci/hotplug/cpqphp_sysfs.c | 6
drivers/pci/hotplug/fakephp.c | 6
drivers/pci/hotplug/ibmphp.h | 4
drivers/pci/hotplug/ibmphp_core.c | 4
drivers/pci/hotplug/ibmphp_ebda.c | 4
drivers/pci/hotplug/ibmphp_hpc.c | 2
drivers/pci/hotplug/ibmphp_pci.c | 4
drivers/pci/hotplug/ibmphp_res.c | 4
drivers/pci/hotplug/pci_hotplug.h | 6
drivers/pci/hotplug/pci_hotplug_core.c | 4
drivers/pci/hotplug/pcihp_skeleton.c | 4
drivers/pci/pci-driver.c | 334 +++++++++++++++++---------------
drivers/pcmcia/i82092.c | 2
drivers/video/i810/i810_main.c | 20 -
drivers/video/i810/i810_main.h | 4
drivers/video/riva/fbdev.c | 4
42 files changed, 304 insertions(+), 274 deletions(-)
-----
Greg Kroah-Hartman:
o PCI: fix up some pci drivers that had marked their probe functions with __init
o PCI: remove compiler warning from previous new_id patch
o PCI hotplug: fix up a bunch of copyrights that were incorrectly declared
Matt Domsch:
o PCI: make new_id rely on CONFIG_HOTPLUG
next reply other threads:[~2003-09-11 22:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-11 22:54 Greg KH [this message]
2003-09-11 22:59 ` [PATCH] PCI fixes for 2.6.0-test5 Greg KH
2003-09-11 22:59 ` Greg KH
2003-09-11 22:59 ` Greg KH
2003-09-11 22:59 ` 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=20030911225418.GA14551@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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