require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_TCIC2VAR_H)) {
    eval 'sub _TCIC2VAR_H () {1;}' unless defined(&_TCIC2VAR_H);
    require 'sys/device.ph';
    require 'dev/pcmcia/pcmciareg.ph';
    require 'dev/pcmcia/pcmciachip.ph';
    require 'dev/ic/tcic2reg.ph';
    eval 'sub TCIC_EVENT_INSERTION () {0;}' unless defined(&TCIC_EVENT_INSERTION);
    eval 'sub TCIC_EVENT_REMOVAL () {1;}' unless defined(&TCIC_EVENT_REMOVAL);
    eval 'sub TCIC_FLAG_SOCKETP () {0x1;}' unless defined(&TCIC_FLAG_SOCKETP);
    eval 'sub TCIC_FLAG_CARDP () {0x2;}' unless defined(&TCIC_FLAG_CARDP);
    eval 'sub TCIC_MEM_PAGES () {4;}' unless defined(&TCIC_MEM_PAGES);
    eval 'sub TCIC_MEMSIZE () { &TCIC_MEM_PAGES* &TCIC_MEM_PAGESIZE;}' unless defined(&TCIC_MEMSIZE);
    eval 'sub TCIC_NSLOTS () {2;}' unless defined(&TCIC_NSLOTS);
}
1;
