require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&__SIS_DRM_H__)) {
    eval 'sub __SIS_DRM_H__ () {1;}' unless defined(&__SIS_DRM_H__);
    eval 'sub NOT_USED_0_3 () {1;}' unless defined(&NOT_USED_0_3);
    eval 'sub DRM_SIS_FB_ALLOC () {0x4;}' unless defined(&DRM_SIS_FB_ALLOC);
    eval 'sub DRM_SIS_FB_FREE () {0x5;}' unless defined(&DRM_SIS_FB_FREE);
    eval 'sub NOT_USED_6_12 () {1;}' unless defined(&NOT_USED_6_12);
    eval 'sub DRM_SIS_AGP_INIT () {0x13;}' unless defined(&DRM_SIS_AGP_INIT);
    eval 'sub DRM_SIS_AGP_ALLOC () {0x14;}' unless defined(&DRM_SIS_AGP_ALLOC);
    eval 'sub DRM_SIS_AGP_FREE () {0x15;}' unless defined(&DRM_SIS_AGP_FREE);
    eval 'sub DRM_SIS_FB_INIT () {0x16;}' unless defined(&DRM_SIS_FB_INIT);
    eval 'sub DRM_IOCTL_SIS_FB_ALLOC () { &DRM_IOWR( &DRM_COMMAND_BASE +  &DRM_SIS_FB_ALLOC,  &drm_sis_mem_t);}' unless defined(&DRM_IOCTL_SIS_FB_ALLOC);
    eval 'sub DRM_IOCTL_SIS_FB_FREE () { &DRM_IOW(  &DRM_COMMAND_BASE +  &DRM_SIS_FB_FREE,  &drm_sis_mem_t);}' unless defined(&DRM_IOCTL_SIS_FB_FREE);
    eval 'sub DRM_IOCTL_SIS_AGP_INIT () { &DRM_IOWR( &DRM_COMMAND_BASE +  &DRM_SIS_AGP_INIT,  &drm_sis_agp_t);}' unless defined(&DRM_IOCTL_SIS_AGP_INIT);
    eval 'sub DRM_IOCTL_SIS_AGP_ALLOC () { &DRM_IOWR( &DRM_COMMAND_BASE +  &DRM_SIS_AGP_ALLOC,  &drm_sis_mem_t);}' unless defined(&DRM_IOCTL_SIS_AGP_ALLOC);
    eval 'sub DRM_IOCTL_SIS_AGP_FREE () { &DRM_IOW(  &DRM_COMMAND_BASE +  &DRM_SIS_AGP_FREE,  &drm_sis_mem_t);}' unless defined(&DRM_IOCTL_SIS_AGP_FREE);
    eval 'sub DRM_IOCTL_SIS_FB_INIT () { &DRM_IOW(  &DRM_COMMAND_BASE +  &DRM_SIS_FB_INIT,  &drm_sis_fb_t);}' unless defined(&DRM_IOCTL_SIS_FB_INIT);
}
1;
