Re: Patch: 2.5.45 PCI Fixups for PCI HotPlug

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Tue Nov 05 2002 - 10:28:02 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:38 EST