* CPCI stopped building
@ 2003-02-24 20:21 Rusty Lynch
2003-02-24 20:44 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Lynch @ 2003-02-24 20:21 UTC (permalink / raw)
To: Scott Murray; +Cc: lkml, Greg KH
Attempting to turn on cpci support on the latest kernel breaks the build.
The problem is that pci_is_dev_in_use() has been removed, but
cpci_hotplug_pci.c still calls the non-existant function in
unconfigure_visit_pci_dev_phase1().
It looks like pci_dev_driver(dev) can be used in replacement (since that is
what driver/pci/hotplug.c is now doing in pci_remove_device_safe(), but
I haven't taken the time to really understand what is happening.
--rustyl
Here is the changeset comment:
ChangeSet 1.1002.8.3 2003/02/21 13:44:13 hch@sgi.com
[PATCH] try_module_get(THIS_MODULE) is bogus
In most cases the fix is to add an struct module * member to the operations
vector instead and manipulate the refcounts in the callers context.
For the ALSA cases it was completly superflous (when will people get it that
using an exported symbol will make it's module unloadable?..)
drivers/pci/hotplug.c 1.11 2003/02/21 11:43:17 hch@sgi.com
try_module_get(THIS_MODULE) is bogus
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: CPCI stopped building
2003-02-24 20:21 CPCI stopped building Rusty Lynch
@ 2003-02-24 20:44 ` Greg KH
2003-02-24 21:48 ` Scott Murray
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2003-02-24 20:44 UTC (permalink / raw)
To: Rusty Lynch; +Cc: Scott Murray, lkml
On Mon, Feb 24, 2003 at 12:21:44PM -0800, Rusty Lynch wrote:
> Attempting to turn on cpci support on the latest kernel breaks the build.
> The problem is that pci_is_dev_in_use() has been removed, but
> cpci_hotplug_pci.c still calls the non-existant function in
> unconfigure_visit_pci_dev_phase1().
>
> It looks like pci_dev_driver(dev) can be used in replacement (since that is
> what driver/pci/hotplug.c is now doing in pci_remove_device_safe(), but
> I haven't taken the time to really understand what is happening.
Yes, Christoph sent me this patch a few days ago, and I noticed it just
got into the the tree. I'm makeing a lot of pci hotplug core and driver
cleanups right now, and will handle this one too.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CPCI stopped building
2003-02-24 20:44 ` Greg KH
@ 2003-02-24 21:48 ` Scott Murray
0 siblings, 0 replies; 3+ messages in thread
From: Scott Murray @ 2003-02-24 21:48 UTC (permalink / raw)
To: Greg KH; +Cc: Rusty Lynch, lkml
On Mon, 24 Feb 2003, Greg KH wrote:
> On Mon, Feb 24, 2003 at 12:21:44PM -0800, Rusty Lynch wrote:
> > Attempting to turn on cpci support on the latest kernel breaks the build.
> > The problem is that pci_is_dev_in_use() has been removed, but
> > cpci_hotplug_pci.c still calls the non-existant function in
> > unconfigure_visit_pci_dev_phase1().
> >
> > It looks like pci_dev_driver(dev) can be used in replacement (since that is
> > what driver/pci/hotplug.c is now doing in pci_remove_device_safe(), but
> > I haven't taken the time to really understand what is happening.
>
> Yes, Christoph sent me this patch a few days ago, and I noticed it just
> got into the the tree. I'm makeing a lot of pci hotplug core and driver
> cleanups right now, and will handle this one too.
That's great, thanks. As I mentioned previously on pcihpd-discuss, I've
got a couple of small cPCI fixes that I'll re-diff and post after what's
in your patch queue has landed.
Scott
--
Scott Murray
SOMA Networks, Inc.
Toronto, Ontario
e-mail: scottm@somanetworks.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-24 21:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-24 20:21 CPCI stopped building Rusty Lynch
2003-02-24 20:44 ` Greg KH
2003-02-24 21:48 ` Scott Murray
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.