patch-2.1.16 linux/include/linux/baycom.h

Next file: linux/include/linux/elf.h
Previous file: linux/include/asm-sparc64/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/include/linux/baycom.h linux/include/linux/baycom.h
@@ -21,15 +21,9 @@
 	long debug3;
 };
 
-struct baycom_modem_type {
-	unsigned char modem_type;
-	unsigned int options;
-};
-
 struct baycom_ioctl {
 	int cmd;
 	union {
-		struct baycom_modem_type mt;
 		struct baycom_debug_data dbg;
 	} data;
 };
@@ -37,22 +31,8 @@
 /* -------------------------------------------------------------------- */
 
 /*
- * modem types
- */
-#define BAYCOM_MODEM_INVALID 0
-#define BAYCOM_MODEM_SER12   1
-#define BAYCOM_MODEM_PAR96   2
-
-/*
- * modem options; bit mask
- */
-#define BAYCOM_OPTIONS_SOFTDCD  1
-
-/*
- * ioctl values change for baycom_net
+ * ioctl values change for baycom
  */
-#define BAYCOMCTL_GETMODEMTYPE   0x90
-#define BAYCOMCTL_SETMODEMTYPE   0x91
 #define BAYCOMCTL_GETDEBUG       0x92
 
 /* -------------------------------------------------------------------- */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov