1 diff -Nur linux.org/arch/sparc64/kernel/sys_sparc32.c linux/arch/sparc64/kernel/sys_sparc32.c
2 --- linux.org/arch/sparc64/kernel/sys_sparc32.c Wed Apr 10 13:55:06 2002
3 +++ linux/arch/sparc64/kernel/sys_sparc32.c Tue Apr 9 13:32:18 2002
8 +#include <linux/quotacompat.h>
10 /* Use this to get at 32-bit user passed pointers. */
11 /* Things to consider: the low-level assembly stub does
12 srl x, 0, x for first four arguments, so if you have
13 diff -Nur linux.org/include/asm-sparc64/dma.h linux/include/asm-sparc64/dma.h
14 --- linux.org/include/asm-sparc64/dma.h Tue Feb 1 08:37:19 2000
15 +++ linux/include/asm-sparc64/dma.h Wed Apr 10 13:19:47 2002
17 #define DMA_CHUNK_SIZE 8192
19 #endif /* !(_ASM_SPARC64_DMA_H) */
20 +#define DMA_AUTOINIT 0x10
21 diff -Nur linux.org/include/asm-sparc64/termbits.h linux/include/asm-sparc64/termbits.h
22 --- linux.org/include/asm-sparc64/termbits.h Tue Feb 22 01:32:27 2000
23 +++ linux/include/asm-sparc64/termbits.h Wed Apr 10 13:34:07 2002
25 adjust CBAUD constant and drivers accordingly.
26 #define B2500000 0x00001010
27 #define B3000000 0x00001011
28 -#define B3500000 0x00001012
29 -#define B4000000 0x00001013 */
30 +#define B3500000 0x00001012 */
31 +#define B4000000 0x00001013
32 #define CIBAUD 0x100f0000 /* input baud rate (not used) */
33 #define CMSPAR 0x40000000 /* mark or space (stick) parity */
34 #define CRTSCTS 0x80000000 /* flow control */
35 diff -Nur linux.org/include/asm-sparc64/vfc_ioctls.h linux/include/asm-sparc64/vfc_ioctls.h
36 --- linux.org/include/asm-sparc64/vfc_ioctls.h Thu Jan 1 01:00:00 1970
37 +++ linux/include/asm-sparc64/vfc_ioctls.h Tue Apr 15 01:28:21 1997
39 +/* Copyright (c) 1996 by Manish Vachharajani */
41 +#ifndef _LINUX_VFC_IOCTLS_H_
42 +#define _LINUX_VFC_IOCTLS_H_
45 +#define VFC_IOCTL(a) (('j' << 8) | a)
46 +#define VFCGCTRL (VFC_IOCTL (0)) /* get vfc attributes */
47 +#define VFCSCTRL (VFC_IOCTL (1)) /* set vfc attributes */
48 +#define VFCGVID (VFC_IOCTL (2)) /* get video decoder attributes */
49 +#define VFCSVID (VFC_IOCTL (3)) /* set video decoder attributes */
50 +#define VFCHUE (VFC_IOCTL (4)) /* set hue */
51 +#define VFCPORTCHG (VFC_IOCTL (5)) /* change port */
52 +#define VFCRDINFO (VFC_IOCTL (6)) /* read info */
54 + /* Options for setting the vfc attributes and status */
55 +#define MEMPRST 0x1 /* reset FIFO ptr. */
56 +#define CAPTRCMD 0x2 /* start capture and wait */
57 +#define DIAGMODE 0x3 /* diag mode */
58 +#define NORMMODE 0x4 /* normal mode */
59 +#define CAPTRSTR 0x5 /* start capture */
60 +#define CAPTRWAIT 0x6 /* wait for capture to finish */
63 + /* Options for the decoder */
64 +#define STD_NTSC 0x1 /* NTSC mode */
65 +#define STD_PAL 0x2 /* PAL mode */
66 +#define COLOR_ON 0x3 /* force color ON */
67 +#define MONO 0x4 /* force color OFF */
69 + /* Values returned by ioctl 2 */
73 +#define NTSC_NOCOLOR 3
75 +#define PAL_NOCOLOR 5
77 +/* Not too sure what this does yet */
78 + /* Options for setting Field number */
79 +#define ODD_FIELD 0x1
80 +#define EVEN_FIELD 0x0
81 +#define ACTIVE_ONLY 0x2
82 +#define NON_ACTIVE 0x0
85 +#define VFC_I2C_SEND 0
86 +#define VFC_I2C_RECV 1
88 +struct vfc_debug_inout
93 + unsigned char *buffer;
96 +#endif /* _LINUX_VFC_IOCTLS_H_ */