mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
parisc: Drop HP-UX constants and structs from grfioctl.h
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
d755bd2cae
commit
653f3ea73b
@ -59,42 +59,4 @@
|
||||
#define CRT_ID_LEGO 0x35ACDA30 /* Lego FX5, FX10 ... */
|
||||
#define CRT_ID_PINNACLE 0x35ACDA16 /* Pinnacle FXe */
|
||||
|
||||
/* structure for ioctl(GCDESCRIBE) */
|
||||
|
||||
#define gaddr_t unsigned long /* FIXME: PA2.0 (64bit) portable ? */
|
||||
|
||||
struct grf_fbinfo {
|
||||
unsigned int id; /* upper 32 bits of graphics id */
|
||||
unsigned int mapsize; /* mapped size of framebuffer */
|
||||
unsigned int dwidth, dlength;/* x and y sizes */
|
||||
unsigned int width, length; /* total x and total y size */
|
||||
unsigned int xlen; /* x pitch size */
|
||||
unsigned int bpp, bppu; /* bits per pixel and used bpp */
|
||||
unsigned int npl, nplbytes; /* # of planes and bytes per plane */
|
||||
char name[32]; /* name of the device (from ROM) */
|
||||
unsigned int attr; /* attributes */
|
||||
gaddr_t fbbase, regbase;/* framebuffer and register base addr */
|
||||
gaddr_t regions[6]; /* region bases */
|
||||
};
|
||||
|
||||
#define GCID _IOR('G', 0, int)
|
||||
#define GCON _IO('G', 1)
|
||||
#define GCOFF _IO('G', 2)
|
||||
#define GCAON _IO('G', 3)
|
||||
#define GCAOFF _IO('G', 4)
|
||||
#define GCMAP _IOWR('G', 5, int)
|
||||
#define GCUNMAP _IOWR('G', 6, int)
|
||||
#define GCMAP_HPUX _IO('G', 5)
|
||||
#define GCUNMAP_HPUX _IO('G', 6)
|
||||
#define GCLOCK _IO('G', 7)
|
||||
#define GCUNLOCK _IO('G', 8)
|
||||
#define GCLOCK_MINIMUM _IO('G', 9)
|
||||
#define GCUNLOCK_MINIMUM _IO('G', 10)
|
||||
#define GCSTATIC_CMAP _IO('G', 11)
|
||||
#define GCVARIABLE_CMAP _IO('G', 12)
|
||||
#define GCTERM _IOWR('G',20,int) /* multi-headed Tomcat */
|
||||
#define GCDESCRIBE _IOR('G', 21, struct grf_fbinfo)
|
||||
#define GCFASTLOCK _IO('G', 26)
|
||||
|
||||
#endif /* __ASM_PARISC_GRFIOCTL_H */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user