patch-2.2.15 linux/include/linux/telephony.h

Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/sysctl.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/include/linux/telephony.h linux/include/linux/telephony.h
@@ -158,6 +158,16 @@
 	WSS = 12
 } phone_codec;
 
+struct phone_codec_data
+{
+	phone_codec type;
+	unsigned short buf_min, buf_opt, buf_max;
+};
+
+#define PHONE_QUERY_CODEC		_IOWR ('q', 0xA7, struct phone_codec_data *)
+#define PHONE_PSTN_LINETEST		_IO ('q', 0xA8)
+
+
 /******************************************************************************
 *
 * The exception structure allows us to multiplex multiple events onto the

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)