An alternative is to use a string with wildcards. You get no endless
duplication of PCI_ANY_ID, and you don't need new macros for
different buses or different patterns to match.
Also things like bus names from new drivers can be ignored by an older
kernel/modutils that doesn't understand them.
MODULE_DEVICE_SUPPORTED ("pci-11f1-2249-*-*-net-*", 0);
MODULE_DEVICE_SUPPORTED ("pci-11f1-224a-*-*-net-*", 0);
MODULE_DEVICE_SUPPORTED ("isapnp-114422334455667899fdeffefed-creative-*", 0);
That's not exactly the right form, but gives the general idea.
Just a thought.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/