Re: [PATCH] Fixup warning for acenic

Martin J. Bligh
2003-03-20T19:13:08Z

>> > 2.4.9 of course has the newstyle pci interface! And actual hotplug
>> > PCI support also is in all today singnificant 2.4.9 forks (RH..).
>> >
>> > There's even some shim to emulate the pci_driver style interface on
>> > 2.2.
>> >
>> > Anyway, this table has another use, it's used by userland ools like
>> > installers for selecting the right driver for a given pci device. So
>> > even if it seems unused from kernelspace it has a use.
>>
>> Are they kmem diving? Or parsing source code?
>
> They are looking at the modules.pcimap files which are generated from
> depmod, which pull it from the object files.

Hmmm ... so we're going to get a compiler warning for every hotpluggable
driver? or is this just an error in the way acenic does it? Seems like
the latter, but it's not clear to me how to fix it up properly ...
If it's the former, we need a better solution ;-)

M.