On Thu, Jun 25, 2009 at 10:30:17AM -0400, Jeff Mahoney wrote:
It seems that currently __mod_pci_device_table is not referred to via some pointer in some module descriptor, but rather explicitely by symbol name in the loader. That's not going to work as when you lump multiple modules together you would have multiple of those. I would embed a pointer to that table into the module descriptor.
We don't need that either. The device table is pointed at by the driver struct, which is registered in the initcall. The __mod_pci_device_table, I think, is only used to generate the aliases for automatic loading.
Yes, you should be able to throw those away. You will get __mod_BUS_device_table entries all over the place, where BUS is any one of a variety of different types (pci, usb, pnp, etc.) good luck, greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org