This ioctl seems to be some attempt to support a feature at the bt8xx dst_ca driver. Yet, as said there, it "needs more work". Right now, the code there is just a boilerplate. At the end of the day, no driver uses this ioctl, nor it is documented anywhere (except for "needs more work"). So, get rid of it.
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -73,11 +73,6 @@ struct ca_descr { · 72 unmodified lines | |||
| 73 | unsigned char cw[8]; | 73 | unsigned char cw[8]; |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | struct ca_pid { | ||
| 77 | unsigned int pid; | ||
| 78 | int index; /* -1 == disable*/ | ||
| 79 | }; | ||
| 80 | |||
| 81 | #define CA_RESET _IO('o', 128) | 76 | #define CA_RESET _IO('o', 128) |
| 82 | #define CA_GET_CAP _IOR('o', 129, struct ca_caps) | 77 | #define CA_GET_CAP _IOR('o', 129, struct ca_caps) |
| 83 | #define CA_GET_SLOT_INFO _IOR('o', 130, struct ca_slot_info) | 78 | #define CA_GET_SLOT_INFO _IOR('o', 130, struct ca_slot_info) |
| @@ -85,7 +80,6 @@ struct ca_pid { · 1 unmodified line | |||
| 85 | #define CA_GET_MSG _IOR('o', 132, struct ca_msg) | 80 | #define CA_GET_MSG _IOR('o', 132, struct ca_msg) |
| 86 | #define CA_SEND_MSG _IOW('o', 133, struct ca_msg) | 81 | #define CA_SEND_MSG _IOW('o', 133, struct ca_msg) |
| 87 | #define CA_SET_DESCR _IOW('o', 134, struct ca_descr) | 82 | #define CA_SET_DESCR _IOW('o', 134, struct ca_descr) |
| 88 | #define CA_SET_PID _IOW('o', 135, struct ca_pid) | ||
| 89 | 83 | ||
| 90 | #if !defined (__KERNEL__) | 84 | #if !defined (__KERNEL__) |
| 91 | 85 | ||
| @@ -95,7 +89,6 @@ typedef struct ca_descr_info ca_descr_info_t; · 3 unmodified lines | |||
| 95 | typedef struct ca_caps ca_caps_t; | 89 | typedef struct ca_caps ca_caps_t; |
| 96 | typedef struct ca_msg ca_msg_t; | 90 | typedef struct ca_msg ca_msg_t; |
| 97 | typedef struct ca_descr ca_descr_t; | 91 | typedef struct ca_descr ca_descr_t; |
| 98 | typedef struct ca_pid ca_pid_t; | ||
| 99 | 92 | ||
| 100 | #endif | 93 | #endif |
| 101 | 94 | ||