summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorRavinder Konka <rkonka@codeaurora.org>2015-01-18 10:47:57 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:50 -0700
commit986546c1b529503289b9e2d145b164e2a97f65fb (patch)
tree16c86cbfdfaf03c062d4f83cba9b8fb3fd7df8d6 /include/uapi/linux
parent91c3e578f963d6e4fcc2f0304b5d160797558655 (diff)
net: msm_rmnet: Add an IOCTL definition to deregister a net device
Platform drivers may be registered on driver startup for multiple channels which may cause probe and remove events to be called corresponding to driver events. It is possible that not all channels need to be enumerated for normal device operation. The unused channels also add unnecessary delay during sub system restart. Add an extended IOCTL which provides user space an option to unregister a platform driver. Change-Id: Ifa6284563551ecdd297ae457ea2b35027f60844e Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com> Signed-off-by: Ravinder Konka <rkonka@codeaurora.org> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_rmnet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_rmnet.h b/include/uapi/linux/msm_rmnet.h
index 2ee7087255c3..936b4373d09f 100644
--- a/include/uapi/linux/msm_rmnet.h
+++ b/include/uapi/linux/msm_rmnet.h
@@ -58,7 +58,8 @@ enum rmnet_ioctl_extended_cmds_e {
RMNET_IOCTL_GET_SUPPORTED_QOS_MODES = 0x0013, /* Get QoS modes */
RMNET_IOCTL_SET_SLEEP_STATE = 0x0014, /* Set sleep state */
RMNET_IOCTL_SET_XLAT_DEV_INFO = 0x0015, /* xlat dev name */
- RMNET_IOCTL_EXTENDED_MAX = 0x0016
+ RMNET_IOCTL_DEREGISTER_DEV = 0x0016, /* Dereg a net dev */
+ RMNET_IOCTL_EXTENDED_MAX = 0x0017
};
/* Return values for the RMNET_IOCTL_GET_SUPPORTED_FEATURES IOCTL */