There is another way to at lest use the pci tables without going for
the full hotplug API.
Just replace code like:
if ((dev_avm = pci_find_device(PCI_VENDOR_ID_AVM,
PCI_DEVICE_ID_AVM_A1, dev_avm))) {
/* initialize card */
}
with something like:
pci_for_each_dev(dev_avm) {
if (pci_match_device(avm_pci_tbl, dev_avm)) {
/* initialize card */
}
}
This will need per-card instead of the current global hisax pci tables,
but I think it's a good cleanup.
> I'll break this compatibility in 2.5, though.
Nice! Does this mean the hisax subdrivers will finally be able to be
individual modules? Are there also other ISDN changes planned, e.g.
going from the global cli/sti to better locking schemes?
Christoph
-- Whip me. Beat me. Make me maintain AIX. - 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/