Skip to content

Commit 653f3ea

Browse files
committed
parisc: Drop HP-UX constants and structs from grfioctl.h
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent d755bd2 commit 653f3ea

1 file changed

Lines changed: 0 additions & 38 deletions

File tree

arch/parisc/include/asm/grfioctl.h

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -59,42 +59,4 @@
5959
#define CRT_ID_LEGO 0x35ACDA30 /* Lego FX5, FX10 ... */
6060
#define CRT_ID_PINNACLE 0x35ACDA16 /* Pinnacle FXe */
6161

62-
/* structure for ioctl(GCDESCRIBE) */
63-
64-
#define gaddr_t unsigned long /* FIXME: PA2.0 (64bit) portable ? */
65-
66-
struct grf_fbinfo {
67-
unsigned int id; /* upper 32 bits of graphics id */
68-
unsigned int mapsize; /* mapped size of framebuffer */
69-
unsigned int dwidth, dlength;/* x and y sizes */
70-
unsigned int width, length; /* total x and total y size */
71-
unsigned int xlen; /* x pitch size */
72-
unsigned int bpp, bppu; /* bits per pixel and used bpp */
73-
unsigned int npl, nplbytes; /* # of planes and bytes per plane */
74-
char name[32]; /* name of the device (from ROM) */
75-
unsigned int attr; /* attributes */
76-
gaddr_t fbbase, regbase;/* framebuffer and register base addr */
77-
gaddr_t regions[6]; /* region bases */
78-
};
79-
80-
#define GCID _IOR('G', 0, int)
81-
#define GCON _IO('G', 1)
82-
#define GCOFF _IO('G', 2)
83-
#define GCAON _IO('G', 3)
84-
#define GCAOFF _IO('G', 4)
85-
#define GCMAP _IOWR('G', 5, int)
86-
#define GCUNMAP _IOWR('G', 6, int)
87-
#define GCMAP_HPUX _IO('G', 5)
88-
#define GCUNMAP_HPUX _IO('G', 6)
89-
#define GCLOCK _IO('G', 7)
90-
#define GCUNLOCK _IO('G', 8)
91-
#define GCLOCK_MINIMUM _IO('G', 9)
92-
#define GCUNLOCK_MINIMUM _IO('G', 10)
93-
#define GCSTATIC_CMAP _IO('G', 11)
94-
#define GCVARIABLE_CMAP _IO('G', 12)
95-
#define GCTERM _IOWR('G',20,int) /* multi-headed Tomcat */
96-
#define GCDESCRIBE _IOR('G', 21, struct grf_fbinfo)
97-
#define GCFASTLOCK _IO('G', 26)
98-
9962
#endif /* __ASM_PARISC_GRFIOCTL_H */
100-

0 commit comments

Comments
 (0)