require '_h2ph_pre.ph';

eval("sub AC97_HOST_DONT_READ () { 0x1; }") unless defined(&AC97_HOST_DONT_READ);
eval("sub AC97_HOST_DONT_READANY () { 0x2; }") unless defined(&AC97_HOST_DONT_READANY);
unless(defined(&AC97_REG_RESET)) {
    sub AC97_REG_RESET () {	0x00;}
}
unless(defined(&AC97_SOUND_ENHANCEMENT)) {
    sub AC97_SOUND_ENHANCEMENT {
	local($reg) = @_;
	eval q(((($reg) >> 10) & 0x1f));
    }
}
unless(defined(&AC97_REG_MASTER_VOLUME)) {
    sub AC97_REG_MASTER_VOLUME () {	0x02;}
}
unless(defined(&AC97_REG_HEADPHONE_VOLUME)) {
    sub AC97_REG_HEADPHONE_VOLUME () {	0x04;}
}
unless(defined(&AC97_REG_MASTER_VOLUME_MONO)) {
    sub AC97_REG_MASTER_VOLUME_MONO () {	0x06;}
}
unless(defined(&AC97_REG_MASTER_TONE)) {
    sub AC97_REG_MASTER_TONE () {	0x08;}
}
unless(defined(&AC97_REG_PCBEEP_VOLUME)) {
    sub AC97_REG_PCBEEP_VOLUME () {	0x0a;}
}
unless(defined(&AC97_REG_PHONE_VOLUME)) {
    sub AC97_REG_PHONE_VOLUME () {	0x0c;}
}
unless(defined(&AC97_REG_MIC_VOLUME)) {
    sub AC97_REG_MIC_VOLUME () {	0x0e;}
}
unless(defined(&AC97_REG_LINEIN_VOLUME)) {
    sub AC97_REG_LINEIN_VOLUME () {	0x10;}
}
unless(defined(&AC97_REG_CD_VOLUME)) {
    sub AC97_REG_CD_VOLUME () {	0x12;}
}
unless(defined(&AC97_REG_VIDEO_VOLUME)) {
    sub AC97_REG_VIDEO_VOLUME () {	0x14;}
}
unless(defined(&AC97_REG_AUX_VOLUME)) {
    sub AC97_REG_AUX_VOLUME () {	0x16;}
}
unless(defined(&AC97_REG_PCMOUT_VOLUME)) {
    sub AC97_REG_PCMOUT_VOLUME () {	0x18;}
}
unless(defined(&AC97_REG_RECORD_SELECT)) {
    sub AC97_REG_RECORD_SELECT () {	0x1a;}
}
unless(defined(&AC97_REG_RECORD_GAIN)) {
    sub AC97_REG_RECORD_GAIN () {	0x1c;}
}
unless(defined(&AC97_REG_RECORD_GAIN_MIC)) {
    sub AC97_REG_RECORD_GAIN_MIC () {	0x1e;}
}
unless(defined(&AC97_REG_GP)) {
    sub AC97_REG_GP () {	0x20;}
}
unless(defined(&AC97_REG_3D_CONTROL)) {
    sub AC97_REG_3D_CONTROL () {	0x22;}
}
unless(defined(&AC97_REG_POWER)) {
    sub AC97_REG_POWER () {	0x26;}
}
unless(defined(&AC97_REG_VENDOR_ID1)) {
    sub AC97_REG_VENDOR_ID1 () {	0x7c;}
}
unless(defined(&AC97_REG_VENDOR_ID2)) {
    sub AC97_REG_VENDOR_ID2 () {	0x7e;}
}
1;
