parisc: Drop HP-UX constants and structs from grfioctl.h
authorHelge Deller <deller@gmx.de>
Sun, 23 Apr 2023 19:37:47 +0000 (21:37 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 3 May 2023 15:43:26 +0000 (17:43 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/grfioctl.h

index a740844a15810cf79e4bd3fe308328dbb705582c..597201530d205e8b1c3c7838f57ac4600fc42672 100644 (file)
 #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 */
-