require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_WSCONS_WSCONSIO_H_)) {
    eval 'sub _DEV_WSCONS_WSCONSIO_H_ () {1;}' unless defined(&_DEV_WSCONS_WSCONSIO_H_);
    require 'sys/types.ph';
    require 'sys/ioccom.ph';
    require 'dev/wscons/wsksymvar.ph';
    require 'sys/pciio.ph';
    eval 'sub WSSCREEN_NAME_SIZE () {16;}' unless defined(&WSSCREEN_NAME_SIZE);
    eval 'sub WSEMUL_NAME_SIZE () {16;}' unless defined(&WSEMUL_NAME_SIZE);
    eval 'sub WSFONT_NAME_SIZE () {16;}' unless defined(&WSFONT_NAME_SIZE);
    eval 'sub WSCONS_EVENT_KEY_UP () {1;}' unless defined(&WSCONS_EVENT_KEY_UP);
    eval 'sub WSCONS_EVENT_KEY_DOWN () {2;}' unless defined(&WSCONS_EVENT_KEY_DOWN);
    eval 'sub WSCONS_EVENT_ALL_KEYS_UP () {3;}' unless defined(&WSCONS_EVENT_ALL_KEYS_UP);
    eval 'sub WSCONS_EVENT_MOUSE_UP () {4;}' unless defined(&WSCONS_EVENT_MOUSE_UP);
    eval 'sub WSCONS_EVENT_MOUSE_DOWN () {5;}' unless defined(&WSCONS_EVENT_MOUSE_DOWN);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_X () {6;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_X);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_Y () {7;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_Y);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_X () {8;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_X);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_Y () {9;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_Y);
    eval 'sub WSCONS_EVENT_MOUSE_DELTA_Z () {10;}' unless defined(&WSCONS_EVENT_MOUSE_DELTA_Z);
    eval 'sub WSCONS_EVENT_MOUSE_ABSOLUTE_Z () {11;}' unless defined(&WSCONS_EVENT_MOUSE_ABSOLUTE_Z);
    eval 'sub WSCONS_EVENT_WSMOUSED_ON () {12;}' unless defined(&WSCONS_EVENT_WSMOUSED_ON);
    eval 'sub WSCONS_EVENT_WSMOUSED_OFF () {13;}' unless defined(&WSCONS_EVENT_WSMOUSED_OFF);
    eval 'sub WSCONS_EVENT_WSMOUSED_SLEEP () {14;}' unless defined(&WSCONS_EVENT_WSMOUSED_SLEEP);
    eval 'sub WSCONS_EVENT_WSMOUSED_CLOSE () {15;}' unless defined(&WSCONS_EVENT_WSMOUSED_CLOSE);
    eval 'sub IS_MOTION_EVENT {
        my($type) = @_;
	    eval q(((($type) ==  &WSCONS_EVENT_MOUSE_DELTA_X) || (($type) ==  &WSCONS_EVENT_MOUSE_DELTA_Y) || (($type) ==  &WSCONS_EVENT_MOUSE_DELTA_Z)));
    }' unless defined(&IS_MOTION_EVENT);
    eval 'sub IS_BUTTON_EVENT {
        my($type) = @_;
	    eval q(((($type) ==  &WSCONS_EVENT_MOUSE_UP) || (($type) ==  &WSCONS_EVENT_MOUSE_DOWN)));
    }' unless defined(&IS_BUTTON_EVENT);
    eval 'sub IS_CTRL_EVENT {
        my($type) = @_;
	    eval q((($type ==  &WSCONS_EVENT_WSMOUSED_ON) || ($type ==  &WSCONS_EVENT_WSMOUSED_OFF)|| ($type ==  &WSCONS_EVENT_WSMOUSED_SLEEP)));
    }' unless defined(&IS_CTRL_EVENT);
    eval 'sub WSKBDIO_GTYPE () { &_IOR(ord(\'W\'), 0, \'u_int\');}' unless defined(&WSKBDIO_GTYPE);
    eval 'sub WSKBD_TYPE_LK201 () {1;}' unless defined(&WSKBD_TYPE_LK201);
    eval 'sub WSKBD_TYPE_LK401 () {2;}' unless defined(&WSKBD_TYPE_LK401);
    eval 'sub WSKBD_TYPE_PC_XT () {3;}' unless defined(&WSKBD_TYPE_PC_XT);
    eval 'sub WSKBD_TYPE_PC_AT () {4;}' unless defined(&WSKBD_TYPE_PC_AT);
    eval 'sub WSKBD_TYPE_USB () {5;}' unless defined(&WSKBD_TYPE_USB);
    eval 'sub WSKBD_TYPE_NEXT () {6;}' unless defined(&WSKBD_TYPE_NEXT);
    eval 'sub WSKBD_TYPE_HPC_KBD () {7;}' unless defined(&WSKBD_TYPE_HPC_KBD);
    eval 'sub WSKBD_TYPE_HPC_BTN () {8;}' unless defined(&WSKBD_TYPE_HPC_BTN);
    eval 'sub WSKBD_TYPE_ARCHIMEDES () {9;}' unless defined(&WSKBD_TYPE_ARCHIMEDES);
    eval 'sub WSKBD_TYPE_ADB () {10;}' unless defined(&WSKBD_TYPE_ADB);
    eval 'sub WSKBD_TYPE_SUN () {11;}' unless defined(&WSKBD_TYPE_SUN);
    eval 'sub WSKBD_TYPE_SUN5 () {12;}' unless defined(&WSKBD_TYPE_SUN5);
    eval 'sub WSKBD_TYPE_HIL () {13;}' unless defined(&WSKBD_TYPE_HIL);
    eval 'sub WSKBD_TYPE_GSC () {14;}' unless defined(&WSKBD_TYPE_GSC);
    eval 'sub WSKBD_TYPE_LUNA () {15;}' unless defined(&WSKBD_TYPE_LUNA);
    eval 'sub WSKBD_TYPE_ZAURUS () {16;}' unless defined(&WSKBD_TYPE_ZAURUS);
    eval 'sub WSKBD_TYPE_DOMAIN () {17;}' unless defined(&WSKBD_TYPE_DOMAIN);
    eval 'sub WSKBD_BELL_DOPITCH () {0x1;}' unless defined(&WSKBD_BELL_DOPITCH);
    eval 'sub WSKBD_BELL_DOPERIOD () {0x2;}' unless defined(&WSKBD_BELL_DOPERIOD);
    eval 'sub WSKBD_BELL_DOVOLUME () {0x4;}' unless defined(&WSKBD_BELL_DOVOLUME);
    eval 'sub WSKBD_BELL_DOALL () {0x7;}' unless defined(&WSKBD_BELL_DOALL);
    eval 'sub WSKBDIO_BELL () { &_IO(ord(\'W\'), 1);}' unless defined(&WSKBDIO_BELL);
    eval 'sub WSKBDIO_COMPLEXBELL () { &_IOW(ord(\'W\'), 2, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_COMPLEXBELL);
    eval 'sub WSKBDIO_SETBELL () { &_IOW(ord(\'W\'), 3, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_SETBELL);
    eval 'sub WSKBDIO_GETBELL () { &_IOR(ord(\'W\'), 4, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_GETBELL);
    eval 'sub WSKBDIO_SETDEFAULTBELL () { &_IOW(ord(\'W\'), 5, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_SETDEFAULTBELL);
    eval 'sub WSKBDIO_GETDEFAULTBELL () { &_IOR(ord(\'W\'), 6, \'struct wskbd_bell_data\');}' unless defined(&WSKBDIO_GETDEFAULTBELL);
    eval 'sub WSKBD_KEYREPEAT_DODEL1 () {0x1;}' unless defined(&WSKBD_KEYREPEAT_DODEL1);
    eval 'sub WSKBD_KEYREPEAT_DODELN () {0x2;}' unless defined(&WSKBD_KEYREPEAT_DODELN);
    eval 'sub WSKBD_KEYREPEAT_DOALL () {0x3;}' unless defined(&WSKBD_KEYREPEAT_DOALL);
    eval 'sub WSKBDIO_SETKEYREPEAT () { &_IOW(ord(\'W\'), 7, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_SETKEYREPEAT);
    eval 'sub WSKBDIO_GETKEYREPEAT () { &_IOR(ord(\'W\'), 8, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_GETKEYREPEAT);
    eval 'sub WSKBDIO_SETDEFAULTKEYREPEAT () { &_IOW(ord(\'W\'), 9, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_SETDEFAULTKEYREPEAT);
    eval 'sub WSKBDIO_GETDEFAULTKEYREPEAT () { &_IOR(ord(\'W\'), 10, \'struct wskbd_keyrepeat_data\');}' unless defined(&WSKBDIO_GETDEFAULTKEYREPEAT);
    eval 'sub WSKBD_LED_CAPS () {0x1;}' unless defined(&WSKBD_LED_CAPS);
    eval 'sub WSKBD_LED_NUM () {0x2;}' unless defined(&WSKBD_LED_NUM);
    eval 'sub WSKBD_LED_SCROLL () {0x4;}' unless defined(&WSKBD_LED_SCROLL);
    eval 'sub WSKBD_LED_COMPOSE () {0x8;}' unless defined(&WSKBD_LED_COMPOSE);
    eval 'sub WSKBDIO_SETLEDS () { &_IOW(ord(\'W\'), 11, \'int\');}' unless defined(&WSKBDIO_SETLEDS);
    eval 'sub WSKBDIO_GETLEDS () { &_IOR(ord(\'W\'), 12, \'int\');}' unless defined(&WSKBDIO_GETLEDS);
    eval 'sub WSKBDIO_MAXMAPLEN () {65536;}' unless defined(&WSKBDIO_MAXMAPLEN);
    eval 'sub WSKBDIO_GETMAP () { &_IOWR(ord(\'W\'), 13, \'struct wskbd_map_data\');}' unless defined(&WSKBDIO_GETMAP);
    eval 'sub WSKBDIO_SETMAP () { &_IOW(ord(\'W\'), 14, \'struct wskbd_map_data\');}' unless defined(&WSKBDIO_SETMAP);
    eval 'sub WSKBDIO_GETENCODING () { &_IOR(ord(\'W\'), 15,  &kbd_t);}' unless defined(&WSKBDIO_GETENCODING);
    eval 'sub WSKBDIO_SETENCODING () { &_IOW(ord(\'W\'), 16,  &kbd_t);}' unless defined(&WSKBDIO_SETENCODING);
    eval 'sub WSKBDIO_SETMODE () { &_IOW(ord(\'W\'), 19, \'int\');}' unless defined(&WSKBDIO_SETMODE);
    eval 'sub WSKBDIO_GETMODE () { &_IOR(ord(\'W\'), 20, \'int\');}' unless defined(&WSKBDIO_GETMODE);
    eval 'sub WSKBD_TRANSLATED () {0;}' unless defined(&WSKBD_TRANSLATED);
    eval 'sub WSKBD_RAW () {1;}' unless defined(&WSKBD_RAW);
    eval 'sub WSMOUSEIO_GTYPE () { &_IOR(ord(\'W\'), 32, \'u_int\');}' unless defined(&WSMOUSEIO_GTYPE);
    eval 'sub WSMOUSE_TYPE_VSXXX () {1;}' unless defined(&WSMOUSE_TYPE_VSXXX);
    eval 'sub WSMOUSE_TYPE_PS2 () {2;}' unless defined(&WSMOUSE_TYPE_PS2);
    eval 'sub WSMOUSE_TYPE_USB () {3;}' unless defined(&WSMOUSE_TYPE_USB);
    eval 'sub WSMOUSE_TYPE_LMS () {4;}' unless defined(&WSMOUSE_TYPE_LMS);
    eval 'sub WSMOUSE_TYPE_MMS () {5;}' unless defined(&WSMOUSE_TYPE_MMS);
    eval 'sub WSMOUSE_TYPE_TPANEL () {6;}' unless defined(&WSMOUSE_TYPE_TPANEL);
    eval 'sub WSMOUSE_TYPE_NEXT () {7;}' unless defined(&WSMOUSE_TYPE_NEXT);
    eval 'sub WSMOUSE_TYPE_ARCHIMEDES () {8;}' unless defined(&WSMOUSE_TYPE_ARCHIMEDES);
    eval 'sub WSMOUSE_TYPE_ADB () {9;}' unless defined(&WSMOUSE_TYPE_ADB);
    eval 'sub WSMOUSE_TYPE_HIL () {10;}' unless defined(&WSMOUSE_TYPE_HIL);
    eval 'sub WSMOUSE_TYPE_LUNA () {11;}' unless defined(&WSMOUSE_TYPE_LUNA);
    eval 'sub WSMOUSE_TYPE_DOMAIN () {12;}' unless defined(&WSMOUSE_TYPE_DOMAIN);
    eval 'sub WSMOUSEIO_SRES () { &_IOW(ord(\'W\'), 33, \'u_int\');}' unless defined(&WSMOUSEIO_SRES);
    eval 'sub WSMOUSE_RES_MIN () {0;}' unless defined(&WSMOUSE_RES_MIN);
    eval 'sub WSMOUSE_RES_DEFAULT () {75;}' unless defined(&WSMOUSE_RES_DEFAULT);
    eval 'sub WSMOUSE_RES_MAX () {100;}' unless defined(&WSMOUSE_RES_MAX);
    eval 'sub WSMOUSEIO_SSCALE () { &_IOW(ord(\'W\'), 34, \'u_int\'[2]);}' unless defined(&WSMOUSEIO_SSCALE);
    eval 'sub WSMOUSEIO_SRATE () { &_IOW(ord(\'W\'), 35, \'u_int\');}' unless defined(&WSMOUSEIO_SRATE);
    eval 'sub WSMOUSE_RATE_MIN () {0;}' unless defined(&WSMOUSE_RATE_MIN);
    eval 'sub WSMOUSE_RATE_DEFAULT () {50;}' unless defined(&WSMOUSE_RATE_DEFAULT);
    eval 'sub WSMOUSE_RATE_MAX () {100;}' unless defined(&WSMOUSE_RATE_MAX);
    eval 'sub WSMOUSE_CALIBCOORDS_MAX () {16;}' unless defined(&WSMOUSE_CALIBCOORDS_MAX);
    eval 'sub WSMOUSE_CALIBCOORDS_RESET () {-1;}' unless defined(&WSMOUSE_CALIBCOORDS_RESET);
    eval 'sub WSMOUSEIO_SCALIBCOORDS () { &_IOW(ord(\'W\'), 36, \'struct wsmouse_calibcoords\');}' unless defined(&WSMOUSEIO_SCALIBCOORDS);
    eval 'sub WSMOUSEIO_GCALIBCOORDS () { &_IOR(ord(\'W\'), 37, \'struct wsmouse_calibcoords\');}' unless defined(&WSMOUSEIO_GCALIBCOORDS);
    eval 'sub WSDISPLAYIO_GTYPE () { &_IOR(ord(\'W\'), 64, \'u_int\');}' unless defined(&WSDISPLAYIO_GTYPE);
    eval 'sub WSDISPLAY_TYPE_UNKNOWN () {0;}' unless defined(&WSDISPLAY_TYPE_UNKNOWN);
    eval 'sub WSDISPLAY_TYPE_PM_MONO () {1;}' unless defined(&WSDISPLAY_TYPE_PM_MONO);
    eval 'sub WSDISPLAY_TYPE_PM_COLOR () {2;}' unless defined(&WSDISPLAY_TYPE_PM_COLOR);
    eval 'sub WSDISPLAY_TYPE_CFB () {3;}' unless defined(&WSDISPLAY_TYPE_CFB);
    eval 'sub WSDISPLAY_TYPE_XCFB () {4;}' unless defined(&WSDISPLAY_TYPE_XCFB);
    eval 'sub WSDISPLAY_TYPE_MFB () {5;}' unless defined(&WSDISPLAY_TYPE_MFB);
    eval 'sub WSDISPLAY_TYPE_SFB () {6;}' unless defined(&WSDISPLAY_TYPE_SFB);
    eval 'sub WSDISPLAY_TYPE_ISAVGA () {7;}' unless defined(&WSDISPLAY_TYPE_ISAVGA);
    eval 'sub WSDISPLAY_TYPE_PCIVGA () {8;}' unless defined(&WSDISPLAY_TYPE_PCIVGA);
    eval 'sub WSDISPLAY_TYPE_TGA () {9;}' unless defined(&WSDISPLAY_TYPE_TGA);
    eval 'sub WSDISPLAY_TYPE_SFBP () {10;}' unless defined(&WSDISPLAY_TYPE_SFBP);
    eval 'sub WSDISPLAY_TYPE_PCIMISC () {11;}' unless defined(&WSDISPLAY_TYPE_PCIMISC);
    eval 'sub WSDISPLAY_TYPE_NEXTMONO () {12;}' unless defined(&WSDISPLAY_TYPE_NEXTMONO);
    eval 'sub WSDISPLAY_TYPE_PX () {13;}' unless defined(&WSDISPLAY_TYPE_PX);
    eval 'sub WSDISPLAY_TYPE_PXG () {14;}' unless defined(&WSDISPLAY_TYPE_PXG);
    eval 'sub WSDISPLAY_TYPE_TX () {15;}' unless defined(&WSDISPLAY_TYPE_TX);
    eval 'sub WSDISPLAY_TYPE_HPCFB () {16;}' unless defined(&WSDISPLAY_TYPE_HPCFB);
    eval 'sub WSDISPLAY_TYPE_VIDC () {17;}' unless defined(&WSDISPLAY_TYPE_VIDC);
    eval 'sub WSDISPLAY_TYPE_SPX () {18;}' unless defined(&WSDISPLAY_TYPE_SPX);
    eval 'sub WSDISPLAY_TYPE_GPX () {19;}' unless defined(&WSDISPLAY_TYPE_GPX);
    eval 'sub WSDISPLAY_TYPE_LCG () {20;}' unless defined(&WSDISPLAY_TYPE_LCG);
    eval 'sub WSDISPLAY_TYPE_VAX_MONO () {21;}' unless defined(&WSDISPLAY_TYPE_VAX_MONO);
    eval 'sub WSDISPLAY_TYPE_SB_P9100 () {22;}' unless defined(&WSDISPLAY_TYPE_SB_P9100);
    eval 'sub WSDISPLAY_TYPE_EGA () {23;}' unless defined(&WSDISPLAY_TYPE_EGA);
    eval 'sub WSDISPLAY_TYPE_DCPVR () {24;}' unless defined(&WSDISPLAY_TYPE_DCPVR);
    eval 'sub WSDISPLAY_TYPE_SUN24 () {25;}' unless defined(&WSDISPLAY_TYPE_SUN24);
    eval 'sub WSDISPLAY_TYPE_SUNBW () {26;}' unless defined(&WSDISPLAY_TYPE_SUNBW);
    eval 'sub WSDISPLAY_TYPE_STI () {27;}' unless defined(&WSDISPLAY_TYPE_STI);
    eval 'sub WSDISPLAY_TYPE_SUNCG3 () {28;}' unless defined(&WSDISPLAY_TYPE_SUNCG3);
    eval 'sub WSDISPLAY_TYPE_SUNCG6 () {29;}' unless defined(&WSDISPLAY_TYPE_SUNCG6);
    eval 'sub WSDISPLAY_TYPE_SUNFFB () {30;}' unless defined(&WSDISPLAY_TYPE_SUNFFB);
    eval 'sub WSDISPLAY_TYPE_SUNCG14 () {31;}' unless defined(&WSDISPLAY_TYPE_SUNCG14);
    eval 'sub WSDISPLAY_TYPE_SUNCG2 () {32;}' unless defined(&WSDISPLAY_TYPE_SUNCG2);
    eval 'sub WSDISPLAY_TYPE_SUNCG4 () {33;}' unless defined(&WSDISPLAY_TYPE_SUNCG4);
    eval 'sub WSDISPLAY_TYPE_SUNCG8 () {34;}' unless defined(&WSDISPLAY_TYPE_SUNCG8);
    eval 'sub WSDISPLAY_TYPE_SUNTCX () {35;}' unless defined(&WSDISPLAY_TYPE_SUNTCX);
    eval 'sub WSDISPLAY_TYPE_AGTEN () {36;}' unless defined(&WSDISPLAY_TYPE_AGTEN);
    eval 'sub WSDISPLAY_TYPE_XVIDEO () {37;}' unless defined(&WSDISPLAY_TYPE_XVIDEO);
    eval 'sub WSDISPLAY_TYPE_SUNCG12 () {38;}' unless defined(&WSDISPLAY_TYPE_SUNCG12);
    eval 'sub WSDISPLAY_TYPE_MGX () {39;}' unless defined(&WSDISPLAY_TYPE_MGX);
    eval 'sub WSDISPLAY_TYPE_SB_P9000 () {40;}' unless defined(&WSDISPLAY_TYPE_SB_P9000);
    eval 'sub WSDISPLAY_TYPE_RFLEX () {41;}' unless defined(&WSDISPLAY_TYPE_RFLEX);
    eval 'sub WSDISPLAY_TYPE_LUNA () {42;}' unless defined(&WSDISPLAY_TYPE_LUNA);
    eval 'sub WSDISPLAY_TYPE_DVBOX () {43;}' unless defined(&WSDISPLAY_TYPE_DVBOX);
    eval 'sub WSDISPLAY_TYPE_GBOX () {44;}' unless defined(&WSDISPLAY_TYPE_GBOX);
    eval 'sub WSDISPLAY_TYPE_RBOX () {45;}' unless defined(&WSDISPLAY_TYPE_RBOX);
    eval 'sub WSDISPLAY_TYPE_HYPERION () {46;}' unless defined(&WSDISPLAY_TYPE_HYPERION);
    eval 'sub WSDISPLAY_TYPE_TOPCAT () {47;}' unless defined(&WSDISPLAY_TYPE_TOPCAT);
    eval 'sub WSDISPLAY_TYPE_PXALCD () {48;}' unless defined(&WSDISPLAY_TYPE_PXALCD);
    eval 'sub WSDISPLAY_TYPE_MAC68K () {49;}' unless defined(&WSDISPLAY_TYPE_MAC68K);
    eval 'sub WSDISPLAY_TYPE_SUNLEO () {50;}' unless defined(&WSDISPLAY_TYPE_SUNLEO);
    eval 'sub WSDISPLAY_TYPE_TVRX () {51;}' unless defined(&WSDISPLAY_TYPE_TVRX);
    eval 'sub WSDISPLAY_TYPE_CFXGA () {52;}' unless defined(&WSDISPLAY_TYPE_CFXGA);
    eval 'sub WSDISPLAY_TYPE_LCSPX () {53;}' unless defined(&WSDISPLAY_TYPE_LCSPX);
    eval 'sub WSDISPLAYIO_GINFO () { &_IOR(ord(\'W\'), 65, \'struct wsdisplay_fbinfo\');}' unless defined(&WSDISPLAYIO_GINFO);
    eval 'sub WSDISPLAYIO_GETCMAP () { &_IOW(ord(\'W\'), 66, \'struct wsdisplay_cmap\');}' unless defined(&WSDISPLAYIO_GETCMAP);
    eval 'sub WSDISPLAYIO_PUTCMAP () { &_IOW(ord(\'W\'), 67, \'struct wsdisplay_cmap\');}' unless defined(&WSDISPLAYIO_PUTCMAP);
    eval 'sub WSDISPLAYIO_GVIDEO () { &_IOR(ord(\'W\'), 68, \'u_int\');}' unless defined(&WSDISPLAYIO_GVIDEO);
    eval 'sub WSDISPLAYIO_SVIDEO () { &_IOW(ord(\'W\'), 69, \'u_int\');}' unless defined(&WSDISPLAYIO_SVIDEO);
    eval 'sub WSDISPLAYIO_VIDEO_OFF () {0;}' unless defined(&WSDISPLAYIO_VIDEO_OFF);
    eval 'sub WSDISPLAYIO_VIDEO_ON () {1;}' unless defined(&WSDISPLAYIO_VIDEO_ON);
    eval 'sub WSDISPLAY_CURSOR_DOCUR () {0x1;}' unless defined(&WSDISPLAY_CURSOR_DOCUR);
    eval 'sub WSDISPLAY_CURSOR_DOPOS () {0x2;}' unless defined(&WSDISPLAY_CURSOR_DOPOS);
    eval 'sub WSDISPLAY_CURSOR_DOHOT () {0x4;}' unless defined(&WSDISPLAY_CURSOR_DOHOT);
    eval 'sub WSDISPLAY_CURSOR_DOCMAP () {0x8;}' unless defined(&WSDISPLAY_CURSOR_DOCMAP);
    eval 'sub WSDISPLAY_CURSOR_DOSHAPE () {0x10;}' unless defined(&WSDISPLAY_CURSOR_DOSHAPE);
    eval 'sub WSDISPLAY_CURSOR_DOALL () {0x1f;}' unless defined(&WSDISPLAY_CURSOR_DOALL);
    eval 'sub WSDISPLAYIO_GCURPOS () { &_IOR(ord(\'W\'), 70, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_GCURPOS);
    eval 'sub WSDISPLAYIO_SCURPOS () { &_IOW(ord(\'W\'), 71, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_SCURPOS);
    eval 'sub WSDISPLAYIO_GCURMAX () { &_IOR(ord(\'W\'), 72, \'struct wsdisplay_curpos\');}' unless defined(&WSDISPLAYIO_GCURMAX);
    eval 'sub WSDISPLAYIO_GCURSOR () { &_IOWR(ord(\'W\'), 73, \'struct wsdisplay_cursor\');}' unless defined(&WSDISPLAYIO_GCURSOR);
    eval 'sub WSDISPLAYIO_SCURSOR () { &_IOW(ord(\'W\'), 74, \'struct wsdisplay_cursor\');}' unless defined(&WSDISPLAYIO_SCURSOR);
    eval 'sub WSDISPLAYIO_GMODE () { &_IOR(ord(\'W\'), 75, \'u_int\');}' unless defined(&WSDISPLAYIO_GMODE);
    eval 'sub WSDISPLAYIO_SMODE () { &_IOW(ord(\'W\'), 76, \'u_int\');}' unless defined(&WSDISPLAYIO_SMODE);
    eval 'sub WSDISPLAYIO_MODE_EMUL () {0;}' unless defined(&WSDISPLAYIO_MODE_EMUL);
    eval 'sub WSDISPLAYIO_MODE_MAPPED () {1;}' unless defined(&WSDISPLAYIO_MODE_MAPPED);
    eval 'sub WSDISPLAYIO_MODE_DUMBFB () {2;}' unless defined(&WSDISPLAYIO_MODE_DUMBFB);
    eval 'sub WSDISPLAY_FONTENC_ISO () {0;}' unless defined(&WSDISPLAY_FONTENC_ISO);
    eval 'sub WSDISPLAY_FONTENC_IBM () {1;}' unless defined(&WSDISPLAY_FONTENC_IBM);
    eval 'sub WSDISPLAY_FONTENC_PCVT () {2;}' unless defined(&WSDISPLAY_FONTENC_PCVT);
    eval 'sub WSDISPLAY_FONTENC_ISO7 () {3;}' unless defined(&WSDISPLAY_FONTENC_ISO7);
    eval 'sub WSDISPLAY_MAXFONTSZ () {(512*1024);}' unless defined(&WSDISPLAY_MAXFONTSZ);
    eval 'sub WSDISPLAY_FONTORDER_KNOWN () {0;}' unless defined(&WSDISPLAY_FONTORDER_KNOWN);
    eval 'sub WSDISPLAY_FONTORDER_L2R () {1;}' unless defined(&WSDISPLAY_FONTORDER_L2R);
    eval 'sub WSDISPLAY_FONTORDER_R2L () {2;}' unless defined(&WSDISPLAY_FONTORDER_R2L);
    eval 'sub WSDISPLAYIO_LDFONT () { &_IOW (ord(\'W\'), 77, \'struct wsdisplay_font\');}' unless defined(&WSDISPLAYIO_LDFONT);
    eval 'sub WSDISPLAYIO_LSFONT () { &_IOWR(ord(\'W\'), 78, \'struct wsdisplay_font\');}' unless defined(&WSDISPLAYIO_LSFONT);
    eval 'sub WSDISPLAYIO_DELFONT () { &_IOW (ord(\'W\'), 79, \'struct wsdisplay_font\');}' unless defined(&WSDISPLAYIO_DELFONT);
    eval 'sub WSDISPLAYIO_USEFONT () { &_IOW (ord(\'W\'), 80, \'struct wsdisplay_font\');}' unless defined(&WSDISPLAYIO_USEFONT);
    eval 'sub WSDISPLAY_BURN_VBLANK () {0x1;}' unless defined(&WSDISPLAY_BURN_VBLANK);
    eval 'sub WSDISPLAY_BURN_KBD () {0x2;}' unless defined(&WSDISPLAY_BURN_KBD);
    eval 'sub WSDISPLAY_BURN_MOUSE () {0x4;}' unless defined(&WSDISPLAY_BURN_MOUSE);
    eval 'sub WSDISPLAY_BURN_OUTPUT () {0x8;}' unless defined(&WSDISPLAY_BURN_OUTPUT);
    eval 'sub WSDISPLAYIO_SBURNER () { &_IOW(ord(\'W\'), 81, \'struct wsdisplay_burner\');}' unless defined(&WSDISPLAYIO_SBURNER);
    eval 'sub WSDISPLAYIO_GBURNER () { &_IOR(ord(\'W\'), 82, \'struct wsdisplay_burner\');}' unless defined(&WSDISPLAYIO_GBURNER);
    eval 'sub WSDISPLAYIO_ADDSCREEN () { &_IOW(ord(\'W\'), 83, \'struct wsdisplay_addscreendata\');}' unless defined(&WSDISPLAYIO_ADDSCREEN);
    eval 'sub WSDISPLAY_DELSCR_FORCE () {0x1;}' unless defined(&WSDISPLAY_DELSCR_FORCE);
    eval 'sub WSDISPLAY_DELSCR_QUIET () {0x2;}' unless defined(&WSDISPLAY_DELSCR_QUIET);
    eval 'sub WSDISPLAYIO_DELSCREEN () { &_IOW(ord(\'W\'), 84, \'struct wsdisplay_delscreendata\');}' unless defined(&WSDISPLAYIO_DELSCREEN);
    eval 'sub WSDISPLAYIO_GETSCREEN () { &_IOWR(ord(\'W\'), 85, \'struct wsdisplay_addscreendata\');}' unless defined(&WSDISPLAYIO_GETSCREEN);
    eval 'sub WSDISPLAYIO_SETSCREEN () { &_IOW(ord(\'W\'), 86, \'u_int\');}' unless defined(&WSDISPLAYIO_SETSCREEN);
    eval 'sub WSDISPLAYIO_LINEBYTES () { &_IOR(ord(\'W\'), 95, \'u_int\');}' unless defined(&WSDISPLAYIO_LINEBYTES);
    eval 'sub WSDISPLAYIO_WSMOUSED () { &_IOW(ord(\'W\'), 88, \'struct wscons_event\');}' unless defined(&WSDISPLAYIO_WSMOUSED);
    eval 'sub WSDISPLAYIO_PARAM_BACKLIGHT () {1;}' unless defined(&WSDISPLAYIO_PARAM_BACKLIGHT);
    eval 'sub WSDISPLAYIO_PARAM_BRIGHTNESS () {2;}' unless defined(&WSDISPLAYIO_PARAM_BRIGHTNESS);
    eval 'sub WSDISPLAYIO_PARAM_CONTRAST () {3;}' unless defined(&WSDISPLAYIO_PARAM_CONTRAST);
    eval 'sub WSDISPLAYIO_GETPARAM () { &_IOWR(ord(\'W\'), 89, \'struct wsdisplay_param\');}' unless defined(&WSDISPLAYIO_GETPARAM);
    eval 'sub WSDISPLAYIO_SETPARAM () { &_IOWR(ord(\'W\'), 90, \'struct wsdisplay_param\');}' unless defined(&WSDISPLAYIO_SETPARAM);
    eval 'sub WSDISPLAYIO_GPCIID () { &_IOR(ord(\'W\'), 91, \'struct pcisel\');}' unless defined(&WSDISPLAYIO_GPCIID);
    eval 'sub WSDISPLAYIO_DEPTH_1 () {0x1;}' unless defined(&WSDISPLAYIO_DEPTH_1);
    eval 'sub WSDISPLAYIO_DEPTH_4 () {0x2;}' unless defined(&WSDISPLAYIO_DEPTH_4);
    eval 'sub WSDISPLAYIO_DEPTH_8 () {0x4;}' unless defined(&WSDISPLAYIO_DEPTH_8);
    eval 'sub WSDISPLAYIO_DEPTH_15 () {0x8;}' unless defined(&WSDISPLAYIO_DEPTH_15);
    eval 'sub WSDISPLAYIO_DEPTH_16 () {0x10;}' unless defined(&WSDISPLAYIO_DEPTH_16);
    eval 'sub WSDISPLAYIO_DEPTH_24_24 () {0x20;}' unless defined(&WSDISPLAYIO_DEPTH_24_24);
    eval 'sub WSDISPLAYIO_DEPTH_24_32 () {0x40;}' unless defined(&WSDISPLAYIO_DEPTH_24_32);
    eval 'sub WSDISPLAYIO_DEPTH_24 () {( &WSDISPLAYIO_DEPTH_24_24| &WSDISPLAYIO_DEPTH_24_32);}' unless defined(&WSDISPLAYIO_DEPTH_24);
    eval 'sub WSDISPLAYIO_GETSUPPORTEDDEPTH () { &_IOR(ord(\'W\'), 92, \'unsigned int\');}' unless defined(&WSDISPLAYIO_GETSUPPORTEDDEPTH);
    eval 'sub WSDISPLAYIO_SETGFXMODE () { &_IOW(ord(\'W\'), 92, \'struct wsdisplay_gfx_mode\');}' unless defined(&WSDISPLAYIO_SETGFXMODE);
    eval 'sub WSMUXIO_INJECTEVENT () { &_IOW(ord(\'W\'), 96, \'struct wscons_event\');}' unless defined(&WSMUXIO_INJECTEVENT);
    eval 'sub WSMUX_INJECTEVENT () { &WSMUXIO_INJECTEVENT;}' unless defined(&WSMUX_INJECTEVENT);
    eval 'sub WSMUX_MOUSE () {1;}' unless defined(&WSMUX_MOUSE);
    eval 'sub WSMUX_KBD () {2;}' unless defined(&WSMUX_KBD);
    eval 'sub WSMUX_MUX () {3;}' unless defined(&WSMUX_MUX);
    eval 'sub WSMUXIO_ADD_DEVICE () { &_IOW(ord(\'W\'), 97, \'struct wsmux_device\');}' unless defined(&WSMUXIO_ADD_DEVICE);
    eval 'sub WSMUX_ADD_DEVICE () { &WSMUXIO_ADD_DEVICE;}' unless defined(&WSMUX_ADD_DEVICE);
    eval 'sub WSMUXIO_REMOVE_DEVICE () { &_IOW(ord(\'W\'), 98, \'struct wsmux_device\');}' unless defined(&WSMUXIO_REMOVE_DEVICE);
    eval 'sub WSMUX_REMOVE_DEVICE () { &WSMUXIO_REMOVE_DEVICE;}' unless defined(&WSMUX_REMOVE_DEVICE);
    eval 'sub WSMUX_MAXDEV () {32;}' unless defined(&WSMUX_MAXDEV);
    eval 'sub WSMUXIO_LIST_DEVICES () { &_IOWR(ord(\'W\'), 99, \'struct wsmux_device_list\');}' unless defined(&WSMUXIO_LIST_DEVICES);
    eval 'sub WSMUX_LIST_DEVICES () { &WSMUXIO_LIST_DEVICES;}' unless defined(&WSMUX_LIST_DEVICES);
}
1;
