require '_h2ph_pre.ph';

unless(defined(&SDLA_H)) {
    eval 'sub SDLA_H () {1;}' unless defined(&SDLA_H);
    eval 'sub SDLA_TYPES () {1;}' unless defined(&SDLA_TYPES);
    eval 'sub SDLA_S502A () {5020;}' unless defined(&SDLA_S502A);
    eval 'sub SDLA_S502E () {5021;}' unless defined(&SDLA_S502E);
    eval 'sub SDLA_S503 () {5030;}' unless defined(&SDLA_S503);
    eval 'sub SDLA_S507 () {5070;}' unless defined(&SDLA_S507);
    eval 'sub SDLA_S508 () {5080;}' unless defined(&SDLA_S508);
    eval 'sub SDLA_S509 () {5090;}' unless defined(&SDLA_S509);
    eval 'sub SDLA_UNKNOWN () {-1;}' unless defined(&SDLA_UNKNOWN);
    eval 'sub SDLA_S508_PORT_V35 () {0x;}' unless defined(&SDLA_S508_PORT_V35);
    eval 'sub SDLA_S508_PORT_RS232 () {0x2;}' unless defined(&SDLA_S508_PORT_RS232);
    eval 'sub SDLA_CPU_3M () {0x;}' unless defined(&SDLA_CPU_3M);
    eval 'sub SDLA_CPU_5M () {0x1;}' unless defined(&SDLA_CPU_5M);
    eval 'sub SDLA_CPU_7M () {0x2;}' unless defined(&SDLA_CPU_7M);
    eval 'sub SDLA_CPU_8M () {0x3;}' unless defined(&SDLA_CPU_8M);
    eval 'sub SDLA_CPU_10M () {0x4;}' unless defined(&SDLA_CPU_10M);
    eval 'sub SDLA_CPU_16M () {0x5;}' unless defined(&SDLA_CPU_16M);
    eval 'sub SDLA_CPU_12M () {0x6;}' unless defined(&SDLA_CPU_12M);
    eval 'sub SDLA_IDENTIFY () {( &FRAD_LAST_IOCTL + 1);}' unless defined(&SDLA_IDENTIFY);
    eval 'sub SDLA_CPUSPEED () {( &FRAD_LAST_IOCTL + 2);}' unless defined(&SDLA_CPUSPEED);
    eval 'sub SDLA_PROTOCOL () {( &FRAD_LAST_IOCTL + 3);}' unless defined(&SDLA_PROTOCOL);
    eval 'sub SDLA_CLEARMEM () {( &FRAD_LAST_IOCTL + 4);}' unless defined(&SDLA_CLEARMEM);
    eval 'sub SDLA_WRITEMEM () {( &FRAD_LAST_IOCTL + 5);}' unless defined(&SDLA_WRITEMEM);
    eval 'sub SDLA_READMEM () {( &FRAD_LAST_IOCTL + 6);}' unless defined(&SDLA_READMEM);
    eval 'sub SDLA_START () {( &FRAD_LAST_IOCTL + 7);}' unless defined(&SDLA_START);
    eval 'sub SDLA_STOP () {( &FRAD_LAST_IOCTL + 8);}' unless defined(&SDLA_STOP);
    eval 'sub SDLA_NMIADDR () {0x;}' unless defined(&SDLA_NMIADDR);
    eval 'sub SDLA_CONF_ADDR () {0x10;}' unless defined(&SDLA_CONF_ADDR);
    eval 'sub SDLA_S502A_NMIADDR () {0x66;}' unless defined(&SDLA_S502A_NMIADDR);
    eval 'sub SDLA_CODE_BASEADDR () {0x100;}' unless defined(&SDLA_CODE_BASEADDR);
    eval 'sub SDLA_WINDOW_SIZE () {0x2000;}' unless defined(&SDLA_WINDOW_SIZE);
    eval 'sub SDLA_ADDR_MASK () {0x1fff;}' unless defined(&SDLA_ADDR_MASK);
    eval 'sub SDLA_MAX_DATA () {4080;}' unless defined(&SDLA_MAX_DATA);
    eval 'sub SDLA_MAX_MTU () {4072;}' unless defined(&SDLA_MAX_MTU);
    eval 'sub SDLA_MAX_DLCI () {24;}' unless defined(&SDLA_MAX_DLCI);
}
1;
