patch-2.4.0-test2 linux/drivers/isdn/isdn_common.c
Next file: linux/drivers/isdn/isdn_tty.c
Previous file: linux/drivers/isdn/isdn_audio.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Wed Jun 21 22:31:01 2000
- Orig file:
v2.4.0-test1/linux/drivers/isdn/isdn_common.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/isdn/isdn_common.c linux/drivers/isdn/isdn_common.c
@@ -2581,14 +2581,14 @@
sprintf (buf, "isdn%d", k);
dev->devfs_handle_isdnX[k] =
- devfs_register (devfs_handle, buf, 0, DEVFS_FL_DEFAULT,
- ISDN_MAJOR, ISDN_MINOR_B + k,0600 | S_IFCHR, 0, 0,
+ devfs_register (devfs_handle, buf, DEVFS_FL_DEFAULT,
+ ISDN_MAJOR, ISDN_MINOR_B + k,0600 | S_IFCHR,
&isdn_fops, NULL);
sprintf (buf, "isdnctrl%d", k);
dev->devfs_handle_isdnctrlX[k] =
- devfs_register (devfs_handle, buf, 0, DEVFS_FL_DEFAULT,
+ devfs_register (devfs_handle, buf, DEVFS_FL_DEFAULT,
ISDN_MAJOR, ISDN_MINOR_CTRL + k, 0600 | S_IFCHR,
- 0, 0, &isdn_fops, NULL);
+ &isdn_fops, NULL);
}
static void isdn_unregister_devfs(int k)
@@ -2610,19 +2610,19 @@
sprintf (buf, "ippp%d", i);
dev->devfs_handle_ipppX[i] =
- devfs_register (devfs_handle, buf, 0, DEVFS_FL_DEFAULT,
+ devfs_register (devfs_handle, buf, DEVFS_FL_DEFAULT,
ISDN_MAJOR, ISDN_MINOR_PPP + i,
- 0600 | S_IFCHR, 0, 0, &isdn_fops, NULL);
+ 0600 | S_IFCHR, &isdn_fops, NULL);
}
# endif
dev->devfs_handle_isdninfo =
- devfs_register (devfs_handle, "isdninfo", 0, DEVFS_FL_DEFAULT,
+ devfs_register (devfs_handle, "isdninfo", DEVFS_FL_DEFAULT,
ISDN_MAJOR, ISDN_MINOR_STATUS, 0600 | S_IFCHR,
- 0, 0, &isdn_fops, NULL);
+ &isdn_fops, NULL);
dev->devfs_handle_isdnctrl =
- devfs_register (devfs_handle, "isdnctrl", 0, DEVFS_FL_DEFAULT,
- ISDN_MAJOR, ISDN_MINOR_CTRL, 0600 | S_IFCHR, 0, 0,
+ devfs_register (devfs_handle, "isdnctrl", DEVFS_FL_DEFAULT,
+ ISDN_MAJOR, ISDN_MINOR_CTRL, 0600 | S_IFCHR,
&isdn_fops, NULL);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)