require '_h2ph_pre.ph';

unless(defined(&_LINUX_MAJOR_H)) {
    eval 'sub _LINUX_MAJOR_H () {1;}' unless defined(&_LINUX_MAJOR_H);
    eval 'sub MAX_CHRDEV () {255;}' unless defined(&MAX_CHRDEV);
    eval 'sub MAX_BLKDEV () {255;}' unless defined(&MAX_BLKDEV);
    eval 'sub UNNAMED_MAJOR () {0;}' unless defined(&UNNAMED_MAJOR);
    eval 'sub MEM_MAJOR () {1;}' unless defined(&MEM_MAJOR);
    eval 'sub RAMDISK_MAJOR () {1;}' unless defined(&RAMDISK_MAJOR);
    eval 'sub FLOPPY_MAJOR () {2;}' unless defined(&FLOPPY_MAJOR);
    eval 'sub PTY_MASTER_MAJOR () {2;}' unless defined(&PTY_MASTER_MAJOR);
    eval 'sub IDE0_MAJOR () {3;}' unless defined(&IDE0_MAJOR);
    eval 'sub PTY_SLAVE_MAJOR () {3;}' unless defined(&PTY_SLAVE_MAJOR);
    eval 'sub HD_MAJOR () { &IDE0_MAJOR;}' unless defined(&HD_MAJOR);
    eval 'sub TTY_MAJOR () {4;}' unless defined(&TTY_MAJOR);
    eval 'sub TTYAUX_MAJOR () {5;}' unless defined(&TTYAUX_MAJOR);
    eval 'sub LP_MAJOR () {6;}' unless defined(&LP_MAJOR);
    eval 'sub VCS_MAJOR () {7;}' unless defined(&VCS_MAJOR);
    eval 'sub LOOP_MAJOR () {7;}' unless defined(&LOOP_MAJOR);
    eval 'sub SCSI_DISK0_MAJOR () {8;}' unless defined(&SCSI_DISK0_MAJOR);
    eval 'sub SCSI_TAPE_MAJOR () {9;}' unless defined(&SCSI_TAPE_MAJOR);
    eval 'sub MD_MAJOR () {9;}' unless defined(&MD_MAJOR);
    eval 'sub MISC_MAJOR () {10;}' unless defined(&MISC_MAJOR);
    eval 'sub SCSI_CDROM_MAJOR () {11;}' unless defined(&SCSI_CDROM_MAJOR);
    eval 'sub QIC02_TAPE_MAJOR () {12;}' unless defined(&QIC02_TAPE_MAJOR);
    eval 'sub XT_DISK_MAJOR () {13;}' unless defined(&XT_DISK_MAJOR);
    eval 'sub SOUND_MAJOR () {14;}' unless defined(&SOUND_MAJOR);
    eval 'sub CDU31A_CDROM_MAJOR () {15;}' unless defined(&CDU31A_CDROM_MAJOR);
    eval 'sub JOYSTICK_MAJOR () {15;}' unless defined(&JOYSTICK_MAJOR);
    eval 'sub GOLDSTAR_CDROM_MAJOR () {16;}' unless defined(&GOLDSTAR_CDROM_MAJOR);
    eval 'sub OPTICS_CDROM_MAJOR () {17;}' unless defined(&OPTICS_CDROM_MAJOR);
    eval 'sub SANYO_CDROM_MAJOR () {18;}' unless defined(&SANYO_CDROM_MAJOR);
    eval 'sub CYCLADES_MAJOR () {19;}' unless defined(&CYCLADES_MAJOR);
    eval 'sub CYCLADESAUX_MAJOR () {20;}' unless defined(&CYCLADESAUX_MAJOR);
    eval 'sub MITSUMI_X_CDROM_MAJOR () {20;}' unless defined(&MITSUMI_X_CDROM_MAJOR);
    eval 'sub MFM_ACORN_MAJOR () {21;}' unless defined(&MFM_ACORN_MAJOR);
    eval 'sub SCSI_GENERIC_MAJOR () {21;}' unless defined(&SCSI_GENERIC_MAJOR);
    eval 'sub Z8530_MAJOR () {34;}' unless defined(&Z8530_MAJOR);
    eval 'sub DIGI_MAJOR () {23;}' unless defined(&DIGI_MAJOR);
    eval 'sub IDE1_MAJOR () {22;}' unless defined(&IDE1_MAJOR);
    eval 'sub DIGICU_MAJOR () {22;}' unless defined(&DIGICU_MAJOR);
    eval 'sub MITSUMI_CDROM_MAJOR () {23;}' unless defined(&MITSUMI_CDROM_MAJOR);
    eval 'sub CDU535_CDROM_MAJOR () {24;}' unless defined(&CDU535_CDROM_MAJOR);
    eval 'sub STL_SERIALMAJOR () {24;}' unless defined(&STL_SERIALMAJOR);
    eval 'sub MATSUSHITA_CDROM_MAJOR () {25;}' unless defined(&MATSUSHITA_CDROM_MAJOR);
    eval 'sub STL_CALLOUTMAJOR () {25;}' unless defined(&STL_CALLOUTMAJOR);
    eval 'sub MATSUSHITA_CDROM2_MAJOR () {26;}' unless defined(&MATSUSHITA_CDROM2_MAJOR);
    eval 'sub QIC117_TAPE_MAJOR () {27;}' unless defined(&QIC117_TAPE_MAJOR);
    eval 'sub MATSUSHITA_CDROM3_MAJOR () {27;}' unless defined(&MATSUSHITA_CDROM3_MAJOR);
    eval 'sub MATSUSHITA_CDROM4_MAJOR () {28;}' unless defined(&MATSUSHITA_CDROM4_MAJOR);
    eval 'sub STL_SIOMEMMAJOR () {28;}' unless defined(&STL_SIOMEMMAJOR);
    eval 'sub ACSI_MAJOR () {28;}' unless defined(&ACSI_MAJOR);
    eval 'sub AZTECH_CDROM_MAJOR () {29;}' unless defined(&AZTECH_CDROM_MAJOR);
    eval 'sub GRAPHDEV_MAJOR () {29;}' unless defined(&GRAPHDEV_MAJOR);
    eval 'sub SOCKSYS_MAJOR () {30;}' unless defined(&SOCKSYS_MAJOR);
    eval 'sub SHMIQ_MAJOR () {85;}' unless defined(&SHMIQ_MAJOR);
    eval 'sub CM206_CDROM_MAJOR () {32;}' unless defined(&CM206_CDROM_MAJOR);
    eval 'sub IDE2_MAJOR () {33;}' unless defined(&IDE2_MAJOR);
    eval 'sub IDE3_MAJOR () {34;}' unless defined(&IDE3_MAJOR);
    eval 'sub XPRAM_MAJOR () {35;}' unless defined(&XPRAM_MAJOR);
    eval 'sub NETLINK_MAJOR () {36;}' unless defined(&NETLINK_MAJOR);
    eval 'sub PS2ESDI_MAJOR () {36;}' unless defined(&PS2ESDI_MAJOR);
    eval 'sub IDETAPE_MAJOR () {37;}' unless defined(&IDETAPE_MAJOR);
    eval 'sub Z2RAM_MAJOR () {37;}' unless defined(&Z2RAM_MAJOR);
    eval 'sub APBLOCK_MAJOR () {38;}' unless defined(&APBLOCK_MAJOR);
    eval 'sub DDV_MAJOR () {39;}' unless defined(&DDV_MAJOR);
    eval 'sub NBD_MAJOR () {43;}' unless defined(&NBD_MAJOR);
    eval 'sub RISCOM8_NORMAL_MAJOR () {48;}' unless defined(&RISCOM8_NORMAL_MAJOR);
    eval 'sub DAC960_MAJOR () {48;}' unless defined(&DAC960_MAJOR);
    eval 'sub RISCOM8_CALLOUT_MAJOR () {49;}' unless defined(&RISCOM8_CALLOUT_MAJOR);
    eval 'sub MKISS_MAJOR () {55;}' unless defined(&MKISS_MAJOR);
    eval 'sub DSP56K_MAJOR () {55;}' unless defined(&DSP56K_MAJOR);
    eval 'sub IDE4_MAJOR () {56;}' unless defined(&IDE4_MAJOR);
    eval 'sub IDE5_MAJOR () {57;}' unless defined(&IDE5_MAJOR);
    eval 'sub LVM_BLK_MAJOR () {58;}' unless defined(&LVM_BLK_MAJOR);
    eval 'sub SCSI_DISK1_MAJOR () {65;}' unless defined(&SCSI_DISK1_MAJOR);
    eval 'sub SCSI_DISK2_MAJOR () {66;}' unless defined(&SCSI_DISK2_MAJOR);
    eval 'sub SCSI_DISK3_MAJOR () {67;}' unless defined(&SCSI_DISK3_MAJOR);
    eval 'sub SCSI_DISK4_MAJOR () {68;}' unless defined(&SCSI_DISK4_MAJOR);
    eval 'sub SCSI_DISK5_MAJOR () {69;}' unless defined(&SCSI_DISK5_MAJOR);
    eval 'sub SCSI_DISK6_MAJOR () {70;}' unless defined(&SCSI_DISK6_MAJOR);
    eval 'sub SCSI_DISK7_MAJOR () {71;}' unless defined(&SCSI_DISK7_MAJOR);
    eval 'sub COMPAQ_SMART2_MAJOR () {72;}' unless defined(&COMPAQ_SMART2_MAJOR);
    eval 'sub COMPAQ_SMART2_MAJOR1 () {73;}' unless defined(&COMPAQ_SMART2_MAJOR1);
    eval 'sub COMPAQ_SMART2_MAJOR2 () {74;}' unless defined(&COMPAQ_SMART2_MAJOR2);
    eval 'sub COMPAQ_SMART2_MAJOR3 () {75;}' unless defined(&COMPAQ_SMART2_MAJOR3);
    eval 'sub COMPAQ_SMART2_MAJOR4 () {76;}' unless defined(&COMPAQ_SMART2_MAJOR4);
    eval 'sub COMPAQ_SMART2_MAJOR5 () {77;}' unless defined(&COMPAQ_SMART2_MAJOR5);
    eval 'sub COMPAQ_SMART2_MAJOR6 () {78;}' unless defined(&COMPAQ_SMART2_MAJOR6);
    eval 'sub COMPAQ_SMART2_MAJOR7 () {79;}' unless defined(&COMPAQ_SMART2_MAJOR7);
    eval 'sub SPECIALIX_NORMAL_MAJOR () {75;}' unless defined(&SPECIALIX_NORMAL_MAJOR);
    eval 'sub SPECIALIX_CALLOUT_MAJOR () {76;}' unless defined(&SPECIALIX_CALLOUT_MAJOR);
    eval 'sub COMPAQ_CISS_MAJOR () {104;}' unless defined(&COMPAQ_CISS_MAJOR);
    eval 'sub COMPAQ_CISS_MAJOR1 () {105;}' unless defined(&COMPAQ_CISS_MAJOR1);
    eval 'sub COMPAQ_CISS_MAJOR2 () {106;}' unless defined(&COMPAQ_CISS_MAJOR2);
    eval 'sub COMPAQ_CISS_MAJOR3 () {107;}' unless defined(&COMPAQ_CISS_MAJOR3);
    eval 'sub COMPAQ_CISS_MAJOR4 () {108;}' unless defined(&COMPAQ_CISS_MAJOR4);
    eval 'sub COMPAQ_CISS_MAJOR5 () {109;}' unless defined(&COMPAQ_CISS_MAJOR5);
    eval 'sub COMPAQ_CISS_MAJOR6 () {110;}' unless defined(&COMPAQ_CISS_MAJOR6);
    eval 'sub COMPAQ_CISS_MAJOR7 () {111;}' unless defined(&COMPAQ_CISS_MAJOR7);
    eval 'sub ATARAID_MAJOR () {114;}' unless defined(&ATARAID_MAJOR);
    eval 'sub DASD_MAJOR () {94;}' unless defined(&DASD_MAJOR);
    eval 'sub MDISK_MAJOR () {95;}' unless defined(&MDISK_MAJOR);
    eval 'sub I2O_MAJOR () {80;}' unless defined(&I2O_MAJOR);
    eval 'sub IDE6_MAJOR () {88;}' unless defined(&IDE6_MAJOR);
    eval 'sub IDE7_MAJOR () {89;}' unless defined(&IDE7_MAJOR);
    eval 'sub IDE8_MAJOR () {90;}' unless defined(&IDE8_MAJOR);
    eval 'sub IDE9_MAJOR () {91;}' unless defined(&IDE9_MAJOR);
    eval 'sub UBD_MAJOR () {98;}' unless defined(&UBD_MAJOR);
    eval 'sub AURORA_MAJOR () {79;}' unless defined(&AURORA_MAJOR);
    eval 'sub JSFD_MAJOR () {99;}' unless defined(&JSFD_MAJOR);
    eval 'sub PHONE_MAJOR () {100;}' unless defined(&PHONE_MAJOR);
    eval 'sub LVM_CHAR_MAJOR () {109;}' unless defined(&LVM_CHAR_MAJOR);
    eval 'sub RTF_MAJOR () {150;}' unless defined(&RTF_MAJOR);
    eval 'sub RAW_MAJOR () {162;}' unless defined(&RAW_MAJOR);
    eval 'sub USB_ACM_MAJOR () {166;}' unless defined(&USB_ACM_MAJOR);
    eval 'sub USB_ACM_AUX_MAJOR () {167;}' unless defined(&USB_ACM_AUX_MAJOR);
    eval 'sub USB_CHAR_MAJOR () {180;}' unless defined(&USB_CHAR_MAJOR);
    eval 'sub UNIX98_PTY_MASTER_MAJOR () {128;}' unless defined(&UNIX98_PTY_MASTER_MAJOR);
    eval 'sub UNIX98_PTY_MAJOR_COUNT () {8;}' unless defined(&UNIX98_PTY_MAJOR_COUNT);
    eval 'sub UNIX98_PTY_SLAVE_MAJOR () {( &UNIX98_PTY_MASTER_MAJOR+ &UNIX98_PTY_MAJOR_COUNT);}' unless defined(&UNIX98_PTY_SLAVE_MAJOR);
    eval 'sub VXVM_MAJOR () {199;}' unless defined(&VXVM_MAJOR);
    eval 'sub VXSPEC_MAJOR () {200;}' unless defined(&VXSPEC_MAJOR);
    eval 'sub VXDMP_MAJOR () {201;}' unless defined(&VXDMP_MAJOR);
    eval 'sub MSR_MAJOR () {202;}' unless defined(&MSR_MAJOR);
    eval 'sub CPUID_MAJOR () {203;}' unless defined(&CPUID_MAJOR);
    eval 'sub OSST_MAJOR () {206;}' unless defined(&OSST_MAJOR);
    eval 'sub IBM_TTY3270_MAJOR () {227;}' unless defined(&IBM_TTY3270_MAJOR);
    eval 'sub IBM_FS3270_MAJOR () {228;}' unless defined(&IBM_FS3270_MAJOR);
    eval 'sub SCSI_DISK_MAJOR {
        local($M) = @_;
	    eval q((($M) ==  &SCSI_DISK0_MAJOR || (($M) >=  &SCSI_DISK1_MAJOR  && ($M) <=  &SCSI_DISK7_MAJOR)));
    }' unless defined(&SCSI_DISK_MAJOR);
    eval 'sub SCSI_BLK_MAJOR {
        local($M) = @_;
	    eval q(( &SCSI_DISK_MAJOR($M) || ($M) ==  &SCSI_CDROM_MAJOR));
    }' unless defined(&SCSI_BLK_MAJOR);
    eval 'sub IDE_DISK_MAJOR {
        local($M) = @_;
	    eval q((($M) ==  &IDE0_MAJOR || ($M) ==  &IDE1_MAJOR || ($M) ==  &IDE2_MAJOR || ($M) ==  &IDE3_MAJOR || ($M) ==  &IDE4_MAJOR || ($M) ==  &IDE5_MAJOR || ($M) ==  &IDE6_MAJOR || ($M) ==  &IDE7_MAJOR || ($M) ==  &IDE8_MAJOR || ($M) ==  &IDE9_MAJOR));
    }' unless defined(&IDE_DISK_MAJOR);
}
1;
