Re: Patch: 2.5.45 PCI Fixups for PCI HotPlug

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Tue, 5 Nov 2002 18:28:02 +0300


On Tue, Nov 05, 2002 at 05:17:10AM -0800, Adam J. Richter wrote:
> If pci_do_fixups determines that f->vendor and f->device do
> not match the device in question, it will not call the corresponding
> f->hook, so it is OK for that f->hook to point to the address of a
> discarded __init routine that now contains garbage as long as the
> ID's will not match any hot plugged device.

Unless f->device == PCI_ANY_ID. Plus you won't be able to discard
the list itself.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/