> Hi,
>
> >
> > The only module that seems to require the
> deprecated
> > function pci_module_init is wctdm24xxp.
> >
> I had the same problem, when I tried to compile the
> driver for an
> EICON/DIALOGIC card.
> I'm not a kernel expert, but with a number of other
> postings I found
> out, that with kernel version 2.6.22 that following
> had changed:
>
> Instead of "pci_module_init" the driver has to use
> "pci_register_driver". Kernel 2.6.22 obviously
> doesn't use
> "pci_module_init" anymore.
> Well I suggest you either use kernel version 2.6.20
> or you replace
> "pci_module_init" with "pci_register_driver" in
> wctdm24xxp.
Thanks but I "suppose" that it's zaptel.h's job to do
that, ie.:
File: zaptel.h
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
#define zap_pci_module pci_register_driver
#else
#define zap_pci_module pci_module_init
No comments:
Post a Comment