[MPlayer-dev-eng] [PATCH] mga_vid for 2.6 - updated

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jul 12 12:48:48 CEST 2004


Hi,

>>It works for me with 2.4.27-pre2, Debian unstable.  But I do use
>>devfs, maybe this is the reason?
> 
> Is it just me, or was there a similar issue that was fixed with
> the now reverted mga_vid 2.6 patch that went into CVS?

Yes, we fixed that during an IRC debugging session.
replace

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#ifdef CONFIG_DEVFS_FS
			devfs_remove("video/%s%d",MODULENAME, i);
#endif
#else
  			if(card->dev_handle) devfs_unregister(card->dev_handle);
  #endif


by

#ifdef CONFIG_DEVFS_FS
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
			devfs_remove("video/%s%d",MODULENAME, i);
#else
  			if(card->dev_handle) devfs_unregister(card->dev_handle);
  #endif
#endif

(make the CONFIG_DEVFS_FS ifdef span the whole code)

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list