Changeset View
Changeset View
Standalone View
Standalone View
multimedia/libv4l/files/extra-linux_dvb_ca.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- ../linux/dvb/ca.h.orig 2014-12-01 10:58:18.000000000 +0100 | |||||
+++ ../linux/dvb/ca.h 2015-01-23 22:41:21.761540460 +0100 | |||||
@@ -80,9 +80,17 @@ | |||||
#define CA_RESET _IO('o', 128) | |||||
#define CA_GET_CAP _IOR('o', 129, ca_caps_t) | |||||
+ | |||||
+/* At least CA_GET_SLOT_INFO and CA_GET_MSG need to be _IOWR not _IOR. | |||||
+ * This is wrong on Linux too but there the driver doesn't care. | |||||
+ * | |||||
#define CA_GET_SLOT_INFO _IOR('o', 130, ca_slot_info_t) | |||||
#define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t) | |||||
#define CA_GET_MSG _IOR('o', 132, ca_msg_t) | |||||
+ */ | |||||
+#define CA_GET_SLOT_INFO _IOWR('o', 130, ca_slot_info_t) | |||||
+#define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t) | |||||
+#define CA_GET_MSG _IOWR('o', 132, ca_msg_t) | |||||
#define CA_SEND_MSG _IOW('o', 133, ca_msg_t) | |||||
#define CA_SET_DESCR _IOW('o', 134, ca_descr_t) | |||||
#define CA_SET_PID _IOW('o', 135, ca_pid_t) |