|
@@ -1312,7 +1312,6 @@ isdn_ioctl(struct file *file, uint cmd, ulong arg)
|
|
|
} else
|
|
|
return -EINVAL;
|
|
|
break;
|
|
|
-#ifdef CONFIG_NETDEVICES
|
|
|
case IIOCNETGPN:
|
|
|
/* Get peer phone number of a connected
|
|
|
* isdn network interface */
|
|
@@ -1322,7 +1321,6 @@ isdn_ioctl(struct file *file, uint cmd, ulong arg)
|
|
|
return isdn_net_getpeer(&phone, argp);
|
|
|
} else
|
|
|
return -EINVAL;
|
|
|
-#endif
|
|
|
default:
|
|
|
return -EINVAL;
|
|
|
}
|
|
@@ -1352,7 +1350,6 @@ isdn_ioctl(struct file *file, uint cmd, ulong arg)
|
|
|
case IIOCNETLCR:
|
|
|
printk(KERN_INFO "INFO: ISDN_ABC_LCR_SUPPORT not enabled\n");
|
|
|
return -ENODEV;
|
|
|
-#ifdef CONFIG_NETDEVICES
|
|
|
case IIOCNETAIF:
|
|
|
/* Add a network-interface */
|
|
|
if (arg) {
|
|
@@ -1491,7 +1488,6 @@ isdn_ioctl(struct file *file, uint cmd, ulong arg)
|
|
|
return -EFAULT;
|
|
|
return isdn_net_force_hangup(name);
|
|
|
break;
|
|
|
-#endif /* CONFIG_NETDEVICES */
|
|
|
case IIOCSETVER:
|
|
|
dev->net_verbose = arg;
|
|
|
printk(KERN_INFO "isdn: Verbose-Level is %d\n", dev->net_verbose);
|