require '_h2ph_pre.ph';

unless(defined(&_SDLAPCI_H)) {
    eval 'sub _SDLAPCI_H () {1;}' unless defined(&_SDLAPCI_H);
    eval 'sub V3_VENDOR_ID () {0x11b0;}' unless defined(&V3_VENDOR_ID);
    eval 'sub V3_DEVICE_ID () {0x2;}' unless defined(&V3_DEVICE_ID);
    eval 'sub SANGOMA_SUBSYS_VENDOR () {0x4753;}' unless defined(&SANGOMA_SUBSYS_VENDOR);
    eval 'sub PCI_DEV_SLOT_MASK () {0x1f;}' unless defined(&PCI_DEV_SLOT_MASK);
    eval 'sub PCI_IRQ_NOT_ALLOCATED () {0xff;}' unless defined(&PCI_IRQ_NOT_ALLOCATED);
    eval 'sub PCI_VENDOR_ID_WORD () {0x;}' unless defined(&PCI_VENDOR_ID_WORD);
    eval 'sub PCI_IO_BASE_DWORD () {0x10;}' unless defined(&PCI_IO_BASE_DWORD);
    eval 'sub PCI_MEM_BASE0_DWORD () {0x14;}' unless defined(&PCI_MEM_BASE0_DWORD);
    eval 'sub PCI_MEM_BASE1_DWORD () {0x18;}' unless defined(&PCI_MEM_BASE1_DWORD);
    eval 'sub PCI_SUBSYS_VENDOR_WORD () {0x2c;}' unless defined(&PCI_SUBSYS_VENDOR_WORD);
    eval 'sub PCI_INT_LINE_BYTE () {0x3c;}' unless defined(&PCI_INT_LINE_BYTE);
    eval 'sub PCI_INT_PIN_BYTE () {0x3d;}' unless defined(&PCI_INT_PIN_BYTE);
    eval 'sub PCI_MAP0_DWORD () {0x40;}' unless defined(&PCI_MAP0_DWORD);
    eval 'sub PCI_MAP1_DWORD () {0x44;}' unless defined(&PCI_MAP1_DWORD);
    eval 'sub PCI_INT_STATUS () {0x48;}' unless defined(&PCI_INT_STATUS);
    eval 'sub PCI_INT_CONFIG () {0x4c;}' unless defined(&PCI_INT_CONFIG);
    eval 'sub PCI_MEMORY_ENABLE () {0x3;}' unless defined(&PCI_MEMORY_ENABLE);
    eval 'sub PCI_CPU_A_MEM_DISABLE () {0x2;}' unless defined(&PCI_CPU_A_MEM_DISABLE);
    eval 'sub PCI_CPU_B_MEM_DISABLE () {0x100002;}' unless defined(&PCI_CPU_B_MEM_DISABLE);
    eval 'sub PCI_ENABLE_IRQ_CPU_A () {0x5a0004;}' unless defined(&PCI_ENABLE_IRQ_CPU_A);
    eval 'sub PCI_ENABLE_IRQ_CPU_B () {0x5a0008;}' unless defined(&PCI_ENABLE_IRQ_CPU_B);
    eval 'sub PCI_DISABLE_IRQ_CPU_A () {0x4;}' unless defined(&PCI_DISABLE_IRQ_CPU_A);
    eval 'sub PCI_DISABLE_IRQ_CPU_B () {0x8;}' unless defined(&PCI_DISABLE_IRQ_CPU_B);
    eval 'sub IRQ_CPU_A () {0x4;}' unless defined(&IRQ_CPU_A);
    eval 'sub IRQ_CPU_B () {0x8;}' unless defined(&IRQ_CPU_B);
    eval 'sub MAX_SIZEOF_S514_MEMORY () {(256* 1024);}' unless defined(&MAX_SIZEOF_S514_MEMORY);
    eval 'sub S514_CTRL_REG_BYTE () {0x80000;}' unless defined(&S514_CTRL_REG_BYTE);
    eval 'sub S514_CPU_HALT () {0x;}' unless defined(&S514_CPU_HALT);
    eval 'sub S514_CPU_START () {0x1;}' unless defined(&S514_CPU_START);
    eval 'sub MAX_S514_CARDS () {20;}' unless defined(&MAX_S514_CARDS);
    eval 'sub PCI_CARD_TYPE () {0x2e;}' unless defined(&PCI_CARD_TYPE);
    eval 'sub S514_DUAL_CPU () {0x12;}' unless defined(&S514_DUAL_CPU);
    eval 'sub S514_SINGLE_CPU () {0x11;}' unless defined(&S514_SINGLE_CPU);
}
1;
