require '_h2ph_pre.ph';

unless(defined(&LINUX_PNP_RESOURCE)) {
    eval 'sub LINUX_PNP_RESOURCE () {1;}' unless defined(&LINUX_PNP_RESOURCE);
    eval 'sub PNP_RES_LARGE_ITEM () {0x80;}' unless defined(&PNP_RES_LARGE_ITEM);
    eval 'sub PNP_RES_SMTAG_VERSION () {0x1;}' unless defined(&PNP_RES_SMTAG_VERSION);
    eval 'sub PNP_RES_SMTAG_LDID () {0x2;}' unless defined(&PNP_RES_SMTAG_LDID);
    eval 'sub PNP_RES_SMTAG_CDID () {0x3;}' unless defined(&PNP_RES_SMTAG_CDID);
    eval 'sub PNP_RES_SMTAG_IRQ () {0x4;}' unless defined(&PNP_RES_SMTAG_IRQ);
    eval 'sub PNP_RES_SMTAG_DMA () {0x5;}' unless defined(&PNP_RES_SMTAG_DMA);
    eval 'sub PNP_RES_SMTAG_DEP_START () {0x6;}' unless defined(&PNP_RES_SMTAG_DEP_START);
    eval 'sub PNP_RES_SMTAG_DEP_END () {0x7;}' unless defined(&PNP_RES_SMTAG_DEP_END);
    eval 'sub PNP_RES_SMTAG_IO () {0x8;}' unless defined(&PNP_RES_SMTAG_IO);
    eval 'sub PNP_RES_SMTAG_IO_FIXED () {0x9;}' unless defined(&PNP_RES_SMTAG_IO_FIXED);
    eval 'sub PNP_RES_SMTAG_VENDOR () {0xe;}' unless defined(&PNP_RES_SMTAG_VENDOR);
    eval 'sub PNP_RES_SMTAG_END () {0xf;}' unless defined(&PNP_RES_SMTAG_END);
    eval 'sub PNP_RES_LGTAG_MEM () {0x1;}' unless defined(&PNP_RES_LGTAG_MEM);
    eval 'sub PNP_RES_LGTAG_ID_ANSI () {0x2;}' unless defined(&PNP_RES_LGTAG_ID_ANSI);
    eval 'sub PNP_RES_LGTAG_ID_UNICODE () {0x3;}' unless defined(&PNP_RES_LGTAG_ID_UNICODE);
    eval 'sub PNP_RES_LGTAG_VENDOR () {0x4;}' unless defined(&PNP_RES_LGTAG_VENDOR);
    eval 'sub PNP_RES_LGTAG_MEM32 () {0x5;}' unless defined(&PNP_RES_LGTAG_MEM32);
    eval 'sub PNP_RES_LGTAG_MEM32_FIXED () {0x6;}' unless defined(&PNP_RES_LGTAG_MEM32_FIXED);
    eval 'sub PNP_RES_LDID_BOOT () {0x1;}' unless defined(&PNP_RES_LDID_BOOT);
    eval 'sub PNP_RES_IRQ_HIGH_EDGE () {0x1;}' unless defined(&PNP_RES_IRQ_HIGH_EDGE);
    eval 'sub PNP_RES_IRQ_LOW_EDGE () {0x2;}' unless defined(&PNP_RES_IRQ_LOW_EDGE);
    eval 'sub PNP_RES_IRQ_HIGH_LEVEL () {0x4;}' unless defined(&PNP_RES_IRQ_HIGH_LEVEL);
    eval 'sub PNP_RES_IRQ_LOW_LEVEL () {0x8;}' unless defined(&PNP_RES_IRQ_LOW_LEVEL);
    eval 'sub PNP_RES_DMA_WIDTH_MASK () {0x3;}' unless defined(&PNP_RES_DMA_WIDTH_MASK);
    eval 'sub PNP_RES_DMA_WIDTH_8 () {0x;}' unless defined(&PNP_RES_DMA_WIDTH_8);
    eval 'sub PNP_RES_DMA_WIDTH_8_16 () {0x1;}' unless defined(&PNP_RES_DMA_WIDTH_8_16);
    eval 'sub PNP_RES_DMA_WIDTH_16 () {0x2;}' unless defined(&PNP_RES_DMA_WIDTH_16);
    eval 'sub PNP_RES_DMA_BUSMASTER () {0x4;}' unless defined(&PNP_RES_DMA_BUSMASTER);
    eval 'sub PNP_RES_DMA_COUNT_BYTE () {0x8;}' unless defined(&PNP_RES_DMA_COUNT_BYTE);
    eval 'sub PNP_RES_DMA_COUNT_WORD () {0x10;}' unless defined(&PNP_RES_DMA_COUNT_WORD);
    eval 'sub PNP_RES_DMA_SPEED_MASK () {0x60;}' unless defined(&PNP_RES_DMA_SPEED_MASK);
    eval 'sub PNP_RES_DMA_SPEED_COMPAT () {0x;}' unless defined(&PNP_RES_DMA_SPEED_COMPAT);
    eval 'sub PNP_RES_DMA_SPEED_TYPEA () {0x20;}' unless defined(&PNP_RES_DMA_SPEED_TYPEA);
    eval 'sub PNP_RES_DMA_SPEED_TYPEB () {0x40;}' unless defined(&PNP_RES_DMA_SPEED_TYPEB);
    eval 'sub PNP_RES_DMA_SPEED_TYPEF () {0x60;}' unless defined(&PNP_RES_DMA_SPEED_TYPEF);
    eval 'sub PNP_RES_CONFIG_GOOD () {0x;}' unless defined(&PNP_RES_CONFIG_GOOD);
    eval 'sub PNP_RES_CONFIG_ACCEPTABLE () {0x1;}' unless defined(&PNP_RES_CONFIG_ACCEPTABLE);
    eval 'sub PNP_RES_CONFIG_SUBOPTIMAL () {0x2;}' unless defined(&PNP_RES_CONFIG_SUBOPTIMAL);
    eval 'sub PNP_RES_IO_DECODE_16 () {0x1;}' unless defined(&PNP_RES_IO_DECODE_16);
    eval 'sub PNP_RES_MEM_WRITEABLE () {0x1;}' unless defined(&PNP_RES_MEM_WRITEABLE);
    eval 'sub PNP_RES_MEM_CACHEABLE () {0x2;}' unless defined(&PNP_RES_MEM_CACHEABLE);
    eval 'sub PNP_RES_MEM_HIGH_ADDRESS () {0x4;}' unless defined(&PNP_RES_MEM_HIGH_ADDRESS);
    eval 'sub PNP_RES_MEM_WIDTH_MASK () {0x18;}' unless defined(&PNP_RES_MEM_WIDTH_MASK);
    eval 'sub PNP_RES_MEM_WIDTH_8 () {0x;}' unless defined(&PNP_RES_MEM_WIDTH_8);
    eval 'sub PNP_RES_MEM_WIDTH_16 () {0x8;}' unless defined(&PNP_RES_MEM_WIDTH_16);
    eval 'sub PNP_RES_MEM_WIDTH_8_16 () {0x10;}' unless defined(&PNP_RES_MEM_WIDTH_8_16);
    eval 'sub PNP_RES_MEM_WIDTH_32 () {0x18;}' unless defined(&PNP_RES_MEM_WIDTH_32);
    eval 'sub PNP_RES_MEM_SHADOWABLE () {0x20;}' unless defined(&PNP_RES_MEM_SHADOWABLE);
    eval 'sub PNP_RES_MEM_EXPANSION_ROM () {0x40;}' unless defined(&PNP_RES_MEM_EXPANSION_ROM);
}
1;
