Update of /cvsroot/alsa/alsa-kernel/core/ioctl32
In directory sc8-pr-cvs1:/tmp/cvs-serv27621
Modified Files:
hwdep32.c
Log Message:
fixed hwdep 32bit wrappers.
Index: hwdep32.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/ioctl32/hwdep32.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- hwdep32.c 20 Feb 2003 14:55:15 -0000 1.6
+++ hwdep32.c 5 Mar 2003 15:31:16 -0000 1.7
@@ -31,6 +31,7 @@
unsigned char name[64];
u32 image; /* pointer */
u32 length;
+ u32 driver_data;
} /* don't set packed attribute here */;
static int _snd_ioctl32_hwdep_dsp_image(unsigned int fd, unsigned int cmd, unsigned
long arg, struct file *file, unsigned int native_ctl)
@@ -47,6 +48,7 @@
memcpy(data.name, data32.name, sizeof(data.name));
data.image = A(data32.image);
data.length = data32.length;
+ data.driver_data = data32.driver_data;
oldseg = get_fs();
set_fs(KERNEL_DS);
err = file->f_op->ioctl(file->f_dentry->d_inode, file, native_ctl, (unsigned
long)&data);
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog