https://github.com/torvalds/linux
Revision 75865858971add95809c5c9cd35dc4cfba08e33b authored by Greg Kroah-Hartman on 30 June 2005, 09:18:12 UTC, committed by Greg Kroah-Hartman on 01 July 2005, 20:35:50 UTC
The dynamic pci id logic has been bothering me for a while, and now that
I started to look into how to move some of this to the driver core, I
thought it was time to clean it all up.

It ends up making the code smaller, and easier to follow, and fixes a
few bugs at the same time (dynamic ids were not being matched
everywhere, and so could be missed on some call paths for new devices,
semaphore not needed to be grabbed when adding a new id and calling the
driver core, etc.)

I also renamed the function pci_match_device() to pci_match_id() as
that's what it really does.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 299de03
History
Tip revision: 75865858971add95809c5c9cd35dc4cfba08e33b authored by Greg Kroah-Hartman on 30 June 2005, 09:18:12 UTC
[PATCH] PCI: clean up dynamic pci id logic
Tip revision: 7586585

README

back to top