Porting Device Driver to 2.6

Alex Holeczy alex at wmi.com
Mon Apr 18 11:59:00 EDT 2005

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.

Currently I am call my 'release' function in the detach function.


Alex Holeczy (alex at wmi.com)

Communication Automation Corporation (CAC)      www.cacdsp.com www.wmi.com
1180 McDermott Drive, West Chester, PA  19380

800-367-6735 Ext. 122 or 610-692-9526 Ext. 122 (Voice)
610-436-8258 (Fax) 

More information about the linux-pcmcia mailing list