Discussion:
[PATCH] Change to workqueues in 2.6.20
Chris Rankin
2007-02-25 16:57:48 UTC
Permalink
Solomon,

Didn't anyone fix this already? The following patch gets prism2_usb working on Linux 2.6.20.1.

Cheers,
Chris





___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
Pavel Roskin
2007-02-25 17:28:30 UTC
Permalink
Post by Chris Rankin
Solomon,
Didn't anyone fix this already? The following patch gets prism2_usb working
on Linux 2.6.20.1.
I posted a less intrusive patch for that. It didn't use preprocessor
conditionals for the workqueue handlers. Neither did it introduce any new
macros. Please see the mailing list archives.

Generally, it's better to change the source to the latest API and then backport
it for compatibility, rather than try to keep the code for the old API as is.
The new API enforces a new safer way for passing the arguments for the
workqueue handlers, and that approach is applicable to the old kernels. The
only change needed is to pass the third argument to INIT_WORK, which would be
the same as the first argument.

I don't know why my patch wasn't applied. I think the maintainers have been
busy with other things.

--
Regards,
Pavel Roskin
Solomon Peachy
2007-02-27 16:15:16 UTC
Permalink
Post by Pavel Roskin
I don't know why my patch wasn't applied. I think the maintainers have been
busy with other things.
One of our key customers needed a great deal of work done in very little
time. On Friday, it shipped out, and I got to go home before dark for
the first time in a week. The things we do to pay the bills. :)

But back to the patch -- Once I get a 2.6.20 kernel up and running on
one of my machines, I'll test and apply it.

- Solomon
--
Solomon Peachy ***@linux-wlan.com
AbsoluteValue Systems http://www.linux-wlan.com
721-D North Drive +1 (321) 259-0737 (office)
Melbourne, FL 32934 +1 (321) 259-0286 (fax)
Loading...