require '_h2ph_pre.ph';

unless(defined(&_SYS_RADIOIO_H_)) {
    eval 'sub _SYS_RADIOIO_H_ () {1;}' unless defined(&_SYS_RADIOIO_H_);
    eval 'sub MIN_FM_FREQ () {87500;}' unless defined(&MIN_FM_FREQ);
    eval 'sub MAX_FM_FREQ () {108000;}' unless defined(&MAX_FM_FREQ);
    eval 'sub IF_FREQ () {10700;}' unless defined(&IF_FREQ);
    eval 'sub RADIO_CAPS_DETECT_STEREO () {(1<<0);}' unless defined(&RADIO_CAPS_DETECT_STEREO);
    eval 'sub RADIO_CAPS_DETECT_SIGNAL () {(1<<1);}' unless defined(&RADIO_CAPS_DETECT_SIGNAL);
    eval 'sub RADIO_CAPS_SET_MONO () {(1<<2);}' unless defined(&RADIO_CAPS_SET_MONO);
    eval 'sub RADIO_CAPS_HW_SEARCH () {(1<<3);}' unless defined(&RADIO_CAPS_HW_SEARCH);
    eval 'sub RADIO_CAPS_HW_AFC () {(1<<4);}' unless defined(&RADIO_CAPS_HW_AFC);
    eval 'sub RADIO_CAPS_REFERENCE_FREQ () {(1<<5);}' unless defined(&RADIO_CAPS_REFERENCE_FREQ);
    eval 'sub RADIO_CAPS_LOCK_SENSITIVITY () {(1<<6);}' unless defined(&RADIO_CAPS_LOCK_SENSITIVITY);
    eval 'sub RADIO_CAPS_RESERVED1 () {(1<<7);}' unless defined(&RADIO_CAPS_RESERVED1);
    eval 'sub RADIO_CAPS_RESERVED2 () {(0xff<<8);}' unless defined(&RADIO_CAPS_RESERVED2);
    eval 'sub RADIO_CARD_TYPE () {(0xff<<16);}' unless defined(&RADIO_CARD_TYPE);
    eval 'sub RADIO_INFO_STEREO () {(1<<0);}' unless defined(&RADIO_INFO_STEREO);
    eval 'sub RADIO_INFO_SIGNAL () {(1<<1);}' unless defined(&RADIO_INFO_SIGNAL);
    eval 'sub RIOCSMUTE () { &_IOW(ord(\'R\'), 21, \'u_long\');}' unless defined(&RIOCSMUTE);
    eval 'sub RIOCGMUTE () { &_IOR(ord(\'R\'), 21, \'u_long\');}' unless defined(&RIOCGMUTE);
    eval 'sub RIOCGVOLU () { &_IOR(ord(\'R\'), 22, \'u_long\');}' unless defined(&RIOCGVOLU);
    eval 'sub RIOCSVOLU () { &_IOW(ord(\'R\'), 22, \'u_long\');}' unless defined(&RIOCSVOLU);
    eval 'sub RIOCGMONO () { &_IOR(ord(\'R\'), 23, \'u_long\');}' unless defined(&RIOCGMONO);
    eval 'sub RIOCSMONO () { &_IOW(ord(\'R\'), 23, \'u_long\');}' unless defined(&RIOCSMONO);
    eval 'sub RIOCGFREQ () { &_IOR(ord(\'R\'), 24, \'u_long\');}' unless defined(&RIOCGFREQ);
    eval 'sub RIOCSFREQ () { &_IOW(ord(\'R\'), 24, \'u_long\');}' unless defined(&RIOCSFREQ);
    eval 'sub RIOCSSRCH () { &_IOW(ord(\'R\'), 25, \'u_long\');}' unless defined(&RIOCSSRCH);
    eval 'sub RIOCGCAPS () { &_IOR(ord(\'R\'), 26, \'u_long\');}' unless defined(&RIOCGCAPS);
    eval 'sub RIOCGINFO () { &_IOR(ord(\'R\'), 27, \'u_long\');}' unless defined(&RIOCGINFO);
    eval 'sub RIOCSREFF () { &_IOW(ord(\'R\'), 28, \'u_long\');}' unless defined(&RIOCSREFF);
    eval 'sub RIOCGREFF () { &_IOR(ord(\'R\'), 28, \'u_long\');}' unless defined(&RIOCGREFF);
    eval 'sub RIOCSLOCK () { &_IOW(ord(\'R\'), 29, \'u_long\');}' unless defined(&RIOCSLOCK);
    eval 'sub RIOCGLOCK () { &_IOR(ord(\'R\'), 29, \'u_long\');}' unless defined(&RIOCGLOCK);
}
1;
