📄 1007.ir.patch
字号:
diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/drivers/char/Config.in linuxmips-2.4.30/drivers/char/Config.in--- linuxmips-2.4.30.ref/drivers/char/Config.in 2005-08-01 10:58:15.000000000 -0700+++ linuxmips-2.4.30/drivers/char/Config.in 2005-08-01 11:57:47.000000000 -0700@@ -196,6 +196,9 @@ if [ "$CONFIG_CPU_VR41XX" = "y" ]; then bool 'NEC VR4100 series Keyboard Interface Unit Support ' CONFIG_VR41XX_KIU fi+if [ "$CONFIG_TANGO2" = "y" ]; then+ tristate 'TANGO2 IR remote support' CONFIG_TANGO2_IR+fi bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/asm-mips/tango2/ir.h linuxmips-2.4.30/include/asm-mips/tango2/ir.h--- linuxmips-2.4.30.ref/include/asm-mips/tango2/ir.h 1969-12-31 16:00:00.000000000 -0800+++ linuxmips-2.4.30/include/asm-mips/tango2/ir.h 2005-08-01 11:57:47.000000000 -0700@@ -0,0 +1,31 @@+/*****************************************+ * Copyright 漏 2001-2007+ * Sigma Designs, Inc. All Rights Reserved+ * Proprietary and Confidential+ ******************************************/+ +/*+ * IR related definitions, and function prototypes.+ */+#ifndef _IR_H_+#define _IR_H_+ +#ifdef __KERNEL__+#include <linux/kernel.h>+#include <linux/module.h>+#include <asm/ioctl.h>+#elif !defined(BOOTLOADER)+#include <sys/ioctl.h>+#endif /* __KERNEL__ */++#if defined(__KERNEL__) || !defined(BOOTLOADER)+/* ioctl commands for user level applications*/+#define IR_IOC_MAGIC 'I'+#define IR_IOCSETREPEATKEYS _IO(IR_IOC_MAGIC, 0)+#define IR_IOCGETREPEATKEYS _IO(IR_IOC_MAGIC, 1)+#define IR_IOCSETWAITPERIOD _IO(IR_IOC_MAGIC, 2)+#define IR_IOCGETWAITPERIOD _IO(IR_IOC_MAGIC, 3)+#endif /* __KERNEL__ || !BOOTLOADER */+ +#endif /* _IR_H_ */+diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/drivers/char/irkernel.c linuxmips-2.4.30/drivers/char/irkernel.c--- linuxmips-2.4.30.ref/drivers/char/irkernel.c 1969-12-31 16:00:00.000000000 -0800+++ linuxmips-2.4.30/drivers/char/irkernel.c 2005-08-01 12:24:15.000000000 -0700@@ -0,0 +1,738 @@+/*****************************************+ * Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -