[MPlayer-users] mga_vid and kernel 2.5

Bartek Jakubski migo at pld.org.pl
Wed Apr 23 19:25:22 CEST 2003


On Wed, Apr 23, 2003 at 05:45:38PM +0200, Attila Kinali wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Tue, 22 Apr 2003 21:07:26 +0200
> Bartek Jakubski <migo at pld.org.pl> wrote:
> 
>> printk(KERN_INFO "mga_vid: Found %s at %s [%s]\n", mga_dev_name, dev->slot_name, (dev->dev).name);
> 
> I doubt that this works on kernels prior than 2.4.0.

I belive it won't work on any kernel < 2.5.48. That's why I sent it
there instead of mplayer-dev-eng - it's just a hack to make mga_vid work
on 2.5.

It lacks important feature (which I forgotten to mention): ability
to unload. MOD_DEC_USE_COUNT and MOD_INC_USE_COUNT should go away
(that's easy part) and try_module_get(&module) should be used instead
- but I don't know where. :-)
And I don't know how Makefile supporting both 2.4 and 2.5 should look
like...



-- 
-- .- Bartek Jakubski --------------------- Sosnowiec -. --
-- |  Free Software is a matter of liberty, not price  | --
-- `---------------(http://www.fsf.org/philosophy)-----' --



More information about the MPlayer-users mailing list