mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
fb: Remove unused FBIOSATTR/FBIOGATTR ioctls
The FBIOSATTR/FBIOGATTR ioctls were added in 1994 with the 4.4 Lite import but were never implemented in either sc(4), fb(4) or vt(4). Remove it. Reviewed by: emaste, tsoome MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33215
This commit is contained in:
parent
95744d84b1
commit
f1105fb8f7
3 changed files with 0 additions and 27 deletions
|
|
@ -738,7 +738,6 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg)
|
|||
case FBIO_SETLINEWIDTH: /* set scan line width in pixel */
|
||||
|
||||
case FBIOGTYPE:
|
||||
case FBIOGATTR:
|
||||
case FBIOSVIDEO:
|
||||
case FBIOGVIDEO:
|
||||
case FBIOVERTICAL:
|
||||
|
|
|
|||
|
|
@ -614,7 +614,6 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
|
|||
case FBIOPUTCMAP:
|
||||
case FBIOGETCMAP:
|
||||
case FBIOGTYPE:
|
||||
case FBIOGATTR:
|
||||
case FBIOSVIDEO:
|
||||
case FBIOGVIDEO:
|
||||
case FBIOSCURSOR:
|
||||
|
|
|
|||
|
|
@ -195,31 +195,6 @@ struct fbcmap {
|
|||
#define FBIOPUTCMAP _IOW('F', 3, struct fbcmap)
|
||||
#define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
|
||||
|
||||
/*
|
||||
* Set/get attributes.
|
||||
*/
|
||||
#define FB_ATTR_NDEVSPECIFIC 8 /* no. of device specific values */
|
||||
#define FB_ATTR_NEMUTYPES 4 /* no. of emulation types */
|
||||
|
||||
struct fbsattr {
|
||||
int flags; /* flags; see below */
|
||||
int emu_type; /* emulation type (-1 if unused) */
|
||||
int dev_specific[FB_ATTR_NDEVSPECIFIC]; /* catchall */
|
||||
};
|
||||
#define FB_ATTR_AUTOINIT 1 /* emulation auto init flag */
|
||||
#define FB_ATTR_DEVSPECIFIC 2 /* dev. specific stuff valid flag */
|
||||
|
||||
struct fbgattr {
|
||||
int real_type; /* real device type */
|
||||
int owner; /* PID of owner, 0 if myself */
|
||||
struct fbtype fbtype; /* fbtype info for real device */
|
||||
struct fbsattr sattr; /* see above */
|
||||
int emu_types[FB_ATTR_NEMUTYPES]; /* possible emulations */
|
||||
/* (-1 if unused) */
|
||||
};
|
||||
#define FBIOSATTR _IOW('F', 5, struct fbsattr)
|
||||
#define FBIOGATTR _IOR('F', 6, struct fbgattr)
|
||||
|
||||
/*
|
||||
* Video control.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue