lkml.org 
[lkml]   [2004]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] deprecate pci_module_init
Chris Wedgwood wrote:
> On Wed, Nov 03, 2004 at 12:46:40PM -0500, Jeff Garzik wrote:
>
>
>>Wrong. There are way too many __correct__ drivers to do this at
>>present.
>
>
> i could claim the same is true of MODULE_PARM yet we spew
> warning-galore there...

There is a 2.4 version of module_param().

The semantics of pci_module_init() versus pci_register_driver() are
different across 2.4/2.6. If you deprecate pci_module_init(), you are
breaking drivers which right now can be ported to 2.4 with a simple cp(1).

It's just downright silly to deprecate the API that is used most heavily
in drivers.

Jeff



-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.028 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site