patch-2.2.15 linux/drivers/s390/char/hwc_rw.h

Next file: linux/drivers/s390/char/hwc_tty.c
Previous file: linux/drivers/s390/char/hwc_rw.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/s390/char/hwc_rw.h linux/drivers/s390/char/hwc_rw.h
@@ -10,115 +10,38 @@
 #ifndef __HWC_RW_H__
 #define __HWC_RW_H__
 
-
 #include <linux/ioctl.h>
 
-
-
-
-
-
-
 #ifndef __HWC_RW_C__
 
-
-
-
-
-
-
 extern int hwc_init(unsigned long *);
 
-
-
-
-
-
 extern int hwc_write(int from_user, const unsigned char *, unsigned int);
 
-
-
-
-
-
-
 extern unsigned int hwc_chars_in_buffer(unsigned char);
 
-
-
-
-
-
-
 extern unsigned int hwc_write_room(unsigned char);
 
-
-
-
-
-
-
 extern void hwc_flush_buffer(unsigned char);
 
-
-
-
-
-
 extern signed int hwc_ioctl(unsigned int, unsigned long);
 
-
-
-
-
-
-
-
-
 extern void do_hwc_interrupt(void);
 
-
-
-
-
-
 extern int hwc_printk(const char *, ...);
 
 #else	
 
-
-
-
-
 extern void store_hwc_input(unsigned char*, unsigned int);
 
-
-
-
 extern void wake_up_hwc_tty(void);
 
 #endif
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 #define IN_HWCB      1
 #define IN_WRITE_BUF 2
 #define IN_BUFS_TOTAL        (IN_HWCB | IN_WRITE_BUF)
 
-
-
 typedef unsigned short int ioctl_htab_t;
 typedef unsigned char ioctl_echo_t;
 typedef unsigned short int ioctl_cols_t;
@@ -128,7 +51,6 @@
 typedef unsigned char ioctl_case_t;
 typedef unsigned char ioctl_delim_t;
 
-
 typedef struct {
 	ioctl_htab_t width_htab;
 	ioctl_echo_t echo;
@@ -141,22 +63,10 @@
 	ioctl_delim_t delim;
 } hwc_ioctls_t;
 
-
-
-
-
-
 static hwc_ioctls_t _hwc_ioctls;
 
-
-
-
-
-
-
 #define HWC_IOCTL_LETTER 'B'
 
-
 #define TIOCHWCSHTAB	_IOW(HWC_IOCTL_LETTER, 0, _hwc_ioctls.width_htab)
 
 #define TIOCHWCSECHO	_IOW(HWC_IOCTL_LETTER, 1, _hwc_ioctls.echo)
@@ -173,10 +83,8 @@
 
 #define TIOCHWCSCASE	_IOW(HWC_IOCTL_LETTER, 7, _hwc_ioctls.tolower)
 
-
 #define TIOCHWCSDELIM	_IOW(HWC_IOCTL_LETTER, 9, _hwc_ioctls.delim)
 
-
 #define TIOCHWCGHTAB	_IOR(HWC_IOCTL_LETTER, 10, _hwc_ioctls.width_htab)
 
 #define TIOCHWCGECHO	_IOR(HWC_IOCTL_LETTER, 11, _hwc_ioctls.echo)
@@ -193,18 +101,13 @@
 
 #define TIOCHWCGCASE	_IOR(HWC_IOCTL_LETTER, 17, _hwc_ioctls.tolower)
 
-
 #define TIOCHWCGDELIM	_IOR(HWC_IOCTL_LETTER, 19, _hwc_ioctls.delim)
 
 #define TIOCHWCGKBUF	_IOR(HWC_IOCTL_LETTER, 20, _hwc_ioctls.max_hwcb)
 
 #define TIOCHWCGCURR	_IOR(HWC_IOCTL_LETTER, 21, _hwc_ioctls)
 
-
-
-
 #define CODE_ASCII              0x0
 #define CODE_EBCDIC             0x1
-
 
 #endif   

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