Porting Device Driver to 2.6

Dominik Brodowski linux at dominikbrodowski.net
Wed Apr 20 08:10:03 EDT 2005

On Mon, Apr 18, 2005 at 11:59:00AM -0400, Alex Holeczy wrote:
> How do you register the device release function for a generic device under 
> kernel 2.6?  It appears that sound cards have a method for registering a 
> free function.
> Using the kernel 2.4 there was a 'release' element in the dev_link_t 
> structure used to register the device release function.  The 'release' 
> element does not exists in the dev_link_t structure for the 2.6 kernel.

Yes, there was, but it was using a timer which is not the preferred way of
doing things. For what purposes do you need it exactly?


More information about the linux-pcmcia mailing list