* [KJ] pci_module_init to pci_module_register
@ 2006-08-29 8:10 Shakthi Kannan
2006-08-29 8:23 ` Henne
0 siblings, 1 reply; 2+ messages in thread
From: Shakthi Kannan @ 2006-08-29 8:10 UTC (permalink / raw)
To: kernel-janitors
Hi,
TODO:
- convert from pci_module_init to pci_register_driver
- don't do it for drivers that are 2.4 compatible
I have found 98 occurrences of the use of pci_module_init in 2.6.18-rc4.
I would like to know what it means by "don't do it for drivers that
are 2.4 compatible"?
The drivers are in 2.6 Linux kernel, so they are meant for 2.6 alone.
So, as long as the change is in the drivers in 2.6 code base, it
shouldn't matter for 2.4, right? or am I missing something here?
Thanks,
SK
--
Shakthi Kannan
http://www.shakthimaan.com
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [KJ] pci_module_init to pci_module_register
2006-08-29 8:10 [KJ] pci_module_init to pci_module_register Shakthi Kannan
@ 2006-08-29 8:23 ` Henne
0 siblings, 0 replies; 2+ messages in thread
From: Henne @ 2006-08-29 8:23 UTC (permalink / raw)
To: kernel-janitors
>
> TODO:
> - convert from pci_module_init to pci_register_driver
> - don't do it for drivers that are 2.4 compatible
>
> I have found 98 occurrences of the use of pci_module_init in 2.6.18-rc4.
>
In 2.6.18-rc4-mm3 there are only 11 left, since 2 big patches for netdev and scsi
were merged, so pci_module_init() will surely die out in the next releases.
The date is set to Jan07, but there are still new 2.6 drivers which use it.
> I would like to know what it means by "don't do it for drivers that
> are 2.4 compatible"?
>
> The drivers are in 2.6 Linux kernel, so they are meant for 2.6 alone.
> So, as long as the change is in the drivers in 2.6 code base, it
> shouldn't matter for 2.4, right? or am I missing something here?
>
>
I think that driver maintainers don't want to keep an eye on 2 drivers which become more and more different.
So the driver gets some ifdefs to work on both, 2.4 and 2.[56].
But now since 2.4 takes no new features and is __just__ bugfixing the development of these drivers
stands still in 2.4-tree.
And after the change of the IRQ-flags namespace change the 2.6-drivers the compatibility is definitively broken.
Thats imho the reason to break this and make the drivers __fit-2.6-only__.
But thats just my opinion.
Greets,
Henne
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-29 8:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-29 8:10 [KJ] pci_module_init to pci_module_register Shakthi Kannan
2006-08-29 8:23 ` Henne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.