Hello,

it seems that Linux 2.6.36 changes the interrupt API again. I applied
appended patch, however it does not determine Kernel version.

B.t.w.: Any plans for inclusion of the PCAN driver in the kernel? 
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
--- pcan_fops_linux.c~  2010-02-14 23:38:55.000000000 +0100
+++ pcan_fops_linux.c   2010-09-29 19:30:25.000000000 +0200
@@ -422,7 +422,7 @@
 
 //----------------------------------------------------------------------------
 // is called at user ioctl() call
-int pcan_ioctl(struct inode *inode, struct file *filep, unsigned int cmd, 
unsigned long arg)
+long pcan_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
 {
   int err;
   struct fileobj *fobj = (struct fileobj *)filep->private_data;
@@ -741,7 +741,7 @@
   release:    pcan_release,
   read:       pcan_read,
   write:      pcan_write,
-  ioctl:      pcan_ioctl,
+  unlocked_ioctl:      pcan_ioctl,
   poll:       pcan_poll,
 };
 
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to