patch-2.3.43 linux/drivers/net/wan/cosa.c
Next file: linux/drivers/net/yellowfin.c
Previous file: linux/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Wed Feb 9 11:42:35 2000
- Orig file:
v2.3.42/linux/drivers/net/wan/cosa.c
- Orig date:
Fri Jan 7 19:13:22 2000
diff -u --recursive --new-file v2.3.42/linux/drivers/net/wan/cosa.c linux/drivers/net/wan/cosa.c
@@ -313,23 +313,16 @@
#endif
static struct file_operations cosa_fops = {
- cosa_lseek,
- cosa_read,
- cosa_write,
- NULL, /* readdir */
- cosa_poll,
- cosa_chardev_ioctl,
- NULL, /* mmap */
- cosa_open,
- NULL, /* flush */
- cosa_release,
- NULL, /* fsync */
+ llseek: cosa_lseek,
+ read: cosa_read,
+ write: cosa_write,
+ poll: cosa_poll,
+ ioctl: cosa_chardev_ioctl,
+ open: cosa_open,
+ release: cosa_release,
#ifdef COSA_FASYNC_WORKING
- cosa_fasync,
-#else
- NULL,
+ fasync: cosa_fasync,
#endif
- NULL /* lock */
};
/* Ioctls */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)