diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c --- a/sys/dev/fb/fb.c +++ b/sys/dev/fb/fb.c @@ -738,7 +738,6 @@ case FBIO_SETLINEWIDTH: /* set scan line width in pixel */ case FBIOGTYPE: - case FBIOGATTR: case FBIOSVIDEO: case FBIOGVIDEO: case FBIOVERTICAL: diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -614,7 +614,6 @@ case FBIOPUTCMAP: case FBIOGETCMAP: case FBIOGTYPE: - case FBIOGATTR: case FBIOSVIDEO: case FBIOGVIDEO: case FBIOSCURSOR: diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h --- a/sys/sys/fbio.h +++ b/sys/sys/fbio.h @@ -195,31 +195,6 @@ #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. */