require '_h2ph_pre.ph';

unless(defined(&PCI_LATENCY_TIMER)) {
    eval 'sub PCI_LATENCY_TIMER () {0x0c;}' unless defined(&PCI_LATENCY_TIMER);
}
unless(defined(&BROOKTREE_848_PCI_ID)) {
    sub BROOKTREE_848_PCI_ID () {	0x0350109e;}
}
unless(defined(&BROOKTREE_849_PCI_ID)) {
    sub BROOKTREE_849_PCI_ID () {	0x0351109e;}
}
unless(defined(&BROOKTREE_878_PCI_ID)) {
    sub BROOKTREE_878_PCI_ID () {	0x036e109e;}
}
unless(defined(&BROOKTREE_879_PCI_ID)) {
    sub BROOKTREE_879_PCI_ID () {	0x036f109e;}
}
unless(defined(&BROOKTREE_848)) {
    sub BROOKTREE_848 () {	1;}
}
unless(defined(&BROOKTREE_848A)) {
    sub BROOKTREE_848A () {	2;}
}
unless(defined(&BROOKTREE_849A)) {
    sub BROOKTREE_849A () {	3;}
}
unless(defined(&BROOKTREE_878)) {
    sub BROOKTREE_878 () {	4;}
}
unless(defined(&BROOKTREE_879)) {
    sub BROOKTREE_879 () {	5;}
}
unless(defined(&BTBYTE)) {
    sub BTBYTE {
	local($what) = @_;
	eval q( &bregister_t $what:8; 'int' :24);
    }
}
unless(defined(&BTWORD)) {
    sub BTWORD {
	local($what) = @_;
	eval q( &bregister_t $what:16; 'int': 16);
    }
}
unless(defined(&BTLONG)) {
    sub BTLONG {
	local($what) = @_;
	eval q( &bregister_t $what:32);
    }
}
unless(defined(&BT848_DSTATUS_PRES)) {
    sub BT848_DSTATUS_PRES () {	(1<<7);}
}
unless(defined(&BT848_DSTATUS_HLOC)) {
    sub BT848_DSTATUS_HLOC () {	(1<<6);}
}
unless(defined(&BT848_DSTATUS_FIELD)) {
    sub BT848_DSTATUS_FIELD () {	(1<<5);}
}
unless(defined(&BT848_DSTATUS_NUML)) {
    sub BT848_DSTATUS_NUML () {	(1<<4);}
}
unless(defined(&BT848_DSTATUS_CSEL)) {
    sub BT848_DSTATUS_CSEL () {	(1<<3);}
}
unless(defined(&BT848_DSTATUS_PLOCK)) {
    sub BT848_DSTATUS_PLOCK () {	(1<<2);}
}
unless(defined(&BT848_DSTATUS_LOF)) {
    sub BT848_DSTATUS_LOF () {	(1<<1);}
}
unless(defined(&BT848_DSTATUS_COF)) {
    sub BT848_DSTATUS_COF () {	(1<<0);}
}
unless(defined(&BT848_IFORM_MUXSEL)) {
    sub BT848_IFORM_MUXSEL () {	(0x3<<5);}
}
unless(defined(&BT848_IFORM_M_MUX1)) {
    sub BT848_IFORM_M_MUX1 () {	(0x03<<5);}
}
unless(defined(&BT848_IFORM_M_MUX0)) {
    sub BT848_IFORM_M_MUX0 () {	(0x02<<5);}
}
unless(defined(&BT848_IFORM_M_MUX2)) {
    sub BT848_IFORM_M_MUX2 () {	(0x01<<5);}
}
unless(defined(&BT848_IFORM_M_MUX3)) {
    sub BT848_IFORM_M_MUX3 () {	(0x0);}
}
unless(defined(&BT848_IFORM_M_RSVD)) {
    sub BT848_IFORM_M_RSVD () {	(0x00<<5);}
}
unless(defined(&BT848_IFORM_XTSEL)) {
    sub BT848_IFORM_XTSEL () {	(0x3<<3);}
}
unless(defined(&BT848_IFORM_X_AUTO)) {
    sub BT848_IFORM_X_AUTO () {	(0x03<<3);}
}
unless(defined(&BT848_IFORM_X_XT1)) {
    sub BT848_IFORM_X_XT1 () {	(0x02<<3);}
}
unless(defined(&BT848_IFORM_X_XT0)) {
    sub BT848_IFORM_X_XT0 () {	(0x01<<3);}
}
unless(defined(&BT848_IFORM_X_RSVD)) {
    sub BT848_IFORM_X_RSVD () {	(0x00<<3);}
}
unless(defined(&BT848_E_CONTROL_LNOTCH)) {
    sub BT848_E_CONTROL_LNOTCH () {	(1<<7);}
}
unless(defined(&BT848_E_CONTROL_COMP)) {
    sub BT848_E_CONTROL_COMP () {	(1<<6);}
}
unless(defined(&BT848_E_CONTROL_LDEC)) {
    sub BT848_E_CONTROL_LDEC () {	(1<<5);}
}
unless(defined(&BT848_E_CONTROL_CBSENSE)) {
    sub BT848_E_CONTROL_CBSENSE () {	(1<<4);}
}
unless(defined(&BT848_E_CONTROL_RSVD)) {
    sub BT848_E_CONTROL_RSVD () {	(1<<3);}
}
unless(defined(&BT848_E_CONTROL_CON_MSB)) {
    sub BT848_E_CONTROL_CON_MSB () {	(1<<2);}
}
unless(defined(&BT848_E_CONTROL_SAT_U_MSB)) {
    sub BT848_E_CONTROL_SAT_U_MSB () {	(1<<1);}
}
unless(defined(&BT848_E_CONTROL_SAT_V_MSB)) {
    sub BT848_E_CONTROL_SAT_V_MSB () {	(1<<0);}
}
unless(defined(&BT848_E_SCLOOP_RSVD1)) {
    sub BT848_E_SCLOOP_RSVD1 () {	(1<<7);}
}
unless(defined(&BT848_E_SCLOOP_CAGC)) {
    sub BT848_E_SCLOOP_CAGC () {	(1<<6);}
}
unless(defined(&BT848_E_SCLOOP_CKILL)) {
    sub BT848_E_SCLOOP_CKILL () {	(1<<5);}
}
unless(defined(&BT848_E_SCLOOP_HFILT)) {
    sub BT848_E_SCLOOP_HFILT () {	(0x3<<3);}
}
unless(defined(&BT848_E_SCLOOP_HFILT_ICON)) {
    sub BT848_E_SCLOOP_HFILT_ICON () {	(0x3<<3);}
}
unless(defined(&BT848_E_SCLOOP_HFILT_QCIF)) {
    sub BT848_E_SCLOOP_HFILT_QCIF () {	(0x2<<3);}
}
unless(defined(&BT848_E_SCLOOP_HFILT_CIF)) {
    sub BT848_E_SCLOOP_HFILT_CIF () {	(0x1<<3);}
}
unless(defined(&BT848_E_SCLOOP_HFILT_AUTO)) {
    sub BT848_E_SCLOOP_HFILT_AUTO () {	(0x0<<3);}
}
unless(defined(&BT848_E_SCLOOP_RSVD0)) {
    sub BT848_E_SCLOOP_RSVD0 () {	(0x7<<0);}
}
unless(defined(&BT848_ADC_RESERVED)) {
    sub BT848_ADC_RESERVED () {	(0x80);}
}
unless(defined(&BT848_ADC_SYNC_T)) {
    sub BT848_ADC_SYNC_T () {	(1<<5);}
}
unless(defined(&BT848_ADC_AGC_EN)) {
    sub BT848_ADC_AGC_EN () {	(1<<4);}
}
unless(defined(&BT848_ADC_CLK_SLEEP)) {
    sub BT848_ADC_CLK_SLEEP () {	(1<<3);}
}
unless(defined(&BT848_ADC_Y_SLEEP)) {
    sub BT848_ADC_Y_SLEEP () {	(1<<2);}
}
unless(defined(&BT848_ADC_C_SLEEP)) {
    sub BT848_ADC_C_SLEEP () {	(1<<1);}
}
unless(defined(&BT848_ADC_CRUSH)) {
    sub BT848_ADC_CRUSH () {	(1<<0);}
}
unless(defined(&BT848_TGCTRL_TGCKI)) {
    sub BT848_TGCTRL_TGCKI () {	(3<<3);}
}
unless(defined(&BT848_TGCTRL_TGCKI_XTAL)) {
    sub BT848_TGCTRL_TGCKI_XTAL () {	(0<<3);}
}
unless(defined(&BT848_TGCTRL_TGCKI_PLL)) {
    sub BT848_TGCTRL_TGCKI_PLL () {	(1<<3);}
}
unless(defined(&BT848_TGCTRL_TGCKI_GPCLK)) {
    sub BT848_TGCTRL_TGCKI_GPCLK () {	(2<<3);}
}
unless(defined(&BT848_TGCTRL_TGCKI_GPCLK_I)) {
    sub BT848_TGCTRL_TGCKI_GPCLK_I () {	(3<<3);}
}
unless(defined(&BT848_O_CONTROL_LNOTCH)) {
    sub BT848_O_CONTROL_LNOTCH () {	(1<<7);}
}
unless(defined(&BT848_O_CONTROL_COMP)) {
    sub BT848_O_CONTROL_COMP () {	(1<<6);}
}
unless(defined(&BT848_O_CONTROL_LDEC)) {
    sub BT848_O_CONTROL_LDEC () {	(1<<5);}
}
unless(defined(&BT848_O_CONTROL_CBSENSE)) {
    sub BT848_O_CONTROL_CBSENSE () {	(1<<4);}
}
unless(defined(&BT848_O_CONTROL_RSVD)) {
    sub BT848_O_CONTROL_RSVD () {	(1<<3);}
}
unless(defined(&BT848_O_CONTROL_CON_MSB)) {
    sub BT848_O_CONTROL_CON_MSB () {	(1<<2);}
}
unless(defined(&BT848_O_CONTROL_SAT_U_MSB)) {
    sub BT848_O_CONTROL_SAT_U_MSB () {	(1<<1);}
}
unless(defined(&BT848_O_CONTROL_SAT_V_MSB)) {
    sub BT848_O_CONTROL_SAT_V_MSB () {	(1<<0);}
}
unless(defined(&BT848_O_SCLOOP_RSVD1)) {
    sub BT848_O_SCLOOP_RSVD1 () {	(1<<7);}
}
unless(defined(&BT848_O_SCLOOP_CAGC)) {
    sub BT848_O_SCLOOP_CAGC () {	(1<<6);}
}
unless(defined(&BT848_O_SCLOOP_CKILL)) {
    sub BT848_O_SCLOOP_CKILL () {	(1<<5);}
}
unless(defined(&BT848_O_SCLOOP_HFILT)) {
    sub BT848_O_SCLOOP_HFILT () {	(0x3<<3);}
}
unless(defined(&BT848_O_SCLOOP_HFILT_ICON)) {
    sub BT848_O_SCLOOP_HFILT_ICON () {	(0x3<<3);}
}
unless(defined(&BT848_O_SCLOOP_HFILT_QCIF)) {
    sub BT848_O_SCLOOP_HFILT_QCIF () {	(0x2<<3);}
}
unless(defined(&BT848_O_SCLOOP_HFILT_CIF)) {
    sub BT848_O_SCLOOP_HFILT_CIF () {	(0x1<<3);}
}
unless(defined(&BT848_O_SCLOOP_HFILT_AUTO)) {
    sub BT848_O_SCLOOP_HFILT_AUTO () {	(0x0<<3);}
}
unless(defined(&BT848_O_SCLOOP_RSVD0)) {
    sub BT848_O_SCLOOP_RSVD0 () {	(0x7<<0);}
}
unless(defined(&BT848_COLOR_CTL_WSWAP_ODD)) {
    sub BT848_COLOR_CTL_WSWAP_ODD () {	(1<<3);}
}
unless(defined(&BT848_COLOR_CTL_WSWAP_EVEN)) {
    sub BT848_COLOR_CTL_WSWAP_EVEN () {	(1<<2);}
}
unless(defined(&BT848_COLOR_CTL_BSWAP_ODD)) {
    sub BT848_COLOR_CTL_BSWAP_ODD () {	(1<<1);}
}
unless(defined(&BT848_COLOR_CTL_BSWAP_EVEN)) {
    sub BT848_COLOR_CTL_BSWAP_EVEN () {	(1<<0);}
}
unless(defined(&BT848_CAP_CTL_DITH_FRAME)) {
    sub BT848_CAP_CTL_DITH_FRAME () {	(1<<4);}
}
unless(defined(&BT848_CAP_CTL_VBI_ODD)) {
    sub BT848_CAP_CTL_VBI_ODD () {	(1<<3);}
}
unless(defined(&BT848_CAP_CTL_VBI_EVEN)) {
    sub BT848_CAP_CTL_VBI_EVEN () {	(1<<2);}
}
unless(defined(&BT848_CAP_CTL_ODD)) {
    sub BT848_CAP_CTL_ODD () {	(1<<1);}
}
unless(defined(&BT848_CAP_CTL_EVEN)) {
    sub BT848_CAP_CTL_EVEN () {	(1<<0);}
}
unless(defined(&BT848_PLL_F_C)) {
    sub BT848_PLL_F_C () {	(1<<6);}
}
unless(defined(&BT848_PLL_F_X)) {
    sub BT848_PLL_F_X () {	(1<<7);}
}
unless(defined(&BT848_INT_RISCS)) {
    sub BT848_INT_RISCS () {	(0xf<<28);}
}
unless(defined(&BT848_INT_RISC_EN)) {
    sub BT848_INT_RISC_EN () {	(1<<27);}
}
unless(defined(&BT848_INT_RACK)) {
    sub BT848_INT_RACK () {	(1<<25);}
}
unless(defined(&BT848_INT_FIELD)) {
    sub BT848_INT_FIELD () {	(1<<24);}
}
unless(defined(&BT848_INT_MYSTERYBIT)) {
    sub BT848_INT_MYSTERYBIT () {	(1<<23);}
}
unless(defined(&BT848_INT_SCERR)) {
    sub BT848_INT_SCERR () {	(1<<19);}
}
unless(defined(&BT848_INT_OCERR)) {
    sub BT848_INT_OCERR () {	(1<<18);}
}
unless(defined(&BT848_INT_PABORT)) {
    sub BT848_INT_PABORT () {	(1<<17);}
}
unless(defined(&BT848_INT_RIPERR)) {
    sub BT848_INT_RIPERR () {	(1<<16);}
}
unless(defined(&BT848_INT_PPERR)) {
    sub BT848_INT_PPERR () {	(1<<15);}
}
unless(defined(&BT848_INT_FDSR)) {
    sub BT848_INT_FDSR () {	(1<<14);}
}
unless(defined(&BT848_INT_FTRGT)) {
    sub BT848_INT_FTRGT () {	(1<<13);}
}
unless(defined(&BT848_INT_FBUS)) {
    sub BT848_INT_FBUS () {	(1<<12);}
}
unless(defined(&BT848_INT_RISCI)) {
    sub BT848_INT_RISCI () {	(1<<11);}
}
unless(defined(&BT848_INT_GPINT)) {
    sub BT848_INT_GPINT () {	(1<<9);}
}
unless(defined(&BT848_INT_I2CDONE)) {
    sub BT848_INT_I2CDONE () {	(1<<8);}
}
unless(defined(&BT848_INT_RSV1)) {
    sub BT848_INT_RSV1 () {	(1<<7);}
}
unless(defined(&BT848_INT_RSV0)) {
    sub BT848_INT_RSV0 () {	(1<<6);}
}
unless(defined(&BT848_INT_VPRES)) {
    sub BT848_INT_VPRES () {	(1<<5);}
}
unless(defined(&BT848_INT_HLOCK)) {
    sub BT848_INT_HLOCK () {	(1<<4);}
}
unless(defined(&BT848_INT_OFLOW)) {
    sub BT848_INT_OFLOW () {	(1<<3);}
}
unless(defined(&BT848_INT_HSYNC)) {
    sub BT848_INT_HSYNC () {	(1<<2);}
}
unless(defined(&BT848_INT_VSYNC)) {
    sub BT848_INT_VSYNC () {	(1<<1);}
}
unless(defined(&BT848_INT_FMTCHG)) {
    sub BT848_INT_FMTCHG () {	(1<<0);}
}
unless(defined(&BT848_DMA_CTL_PL23TP4)) {
    sub BT848_DMA_CTL_PL23TP4 () {	(0<<6);}
}
unless(defined(&BT848_DMA_CTL_PL23TP8)) {
    sub BT848_DMA_CTL_PL23TP8 () {	(1<<6);}
}
unless(defined(&BT848_DMA_CTL_PL23TP16)) {
    sub BT848_DMA_CTL_PL23TP16 () {	(2<<6);}
}
unless(defined(&BT848_DMA_CTL_PL23TP32)) {
    sub BT848_DMA_CTL_PL23TP32 () {	(3<<6);}
}
unless(defined(&BT848_DMA_CTL_PL1TP4)) {
    sub BT848_DMA_CTL_PL1TP4 () {	(0<<4);}
}
unless(defined(&BT848_DMA_CTL_PL1TP8)) {
    sub BT848_DMA_CTL_PL1TP8 () {	(1<<4);}
}
unless(defined(&BT848_DMA_CTL_PL1TP16)) {
    sub BT848_DMA_CTL_PL1TP16 () {	(2<<4);}
}
unless(defined(&BT848_DMA_CTL_PL1TP32)) {
    sub BT848_DMA_CTL_PL1TP32 () {	(3<<4);}
}
unless(defined(&BT848_DMA_CTL_PKTP4)) {
    sub BT848_DMA_CTL_PKTP4 () {	(0<<2);}
}
unless(defined(&BT848_DMA_CTL_PKTP8)) {
    sub BT848_DMA_CTL_PKTP8 () {	(1<<2);}
}
unless(defined(&BT848_DMA_CTL_PKTP16)) {
    sub BT848_DMA_CTL_PKTP16 () {	(2<<2);}
}
unless(defined(&BT848_DMA_CTL_PKTP32)) {
    sub BT848_DMA_CTL_PKTP32 () {	(3<<2);}
}
unless(defined(&BT848_DMA_CTL_RISC_EN)) {
    sub BT848_DMA_CTL_RISC_EN () {	(1<<1);}
}
unless(defined(&BT848_DMA_CTL_FIFO_EN)) {
    sub BT848_DMA_CTL_FIFO_EN () {	(1<<0);}
}
unless(defined(&BT848_DATA_CTL_I2CDIV)) {
    sub BT848_DATA_CTL_I2CDIV () {	(0xf<<4);}
}
unless(defined(&BT848_DATA_CTL_I2CSYNC)) {
    sub BT848_DATA_CTL_I2CSYNC () {	(1<<3);}
}
unless(defined(&BT848_DATA_CTL_I2CW3B)) {
    sub BT848_DATA_CTL_I2CW3B () {	(1<<2);}
}
unless(defined(&BT848_DATA_CTL_I2CSCL)) {
    sub BT848_DATA_CTL_I2CSCL () {	(1<<1);}
}
unless(defined(&BT848_DATA_CTL_I2CSDA)) {
    sub BT848_DATA_CTL_I2CSDA () {	(1<<0);}
}
if(0) {
    eval 'sub BKTR_DSTATUS () {0x000;}' unless defined(&BKTR_DSTATUS);
    eval 'sub BKTR_IFORM () {0x004;}' unless defined(&BKTR_IFORM);
    eval 'sub BKTR_TDEC () {0x008;}' unless defined(&BKTR_TDEC);
    eval 'sub BKTR_EVEN_CROP () {0x00c;}' unless defined(&BKTR_EVEN_CROP);
    eval 'sub BKTR_ODD_CROP () {0x08c;}' unless defined(&BKTR_ODD_CROP);
    eval 'sub BKTR_E_VDELAY_LO () {0x010;}' unless defined(&BKTR_E_VDELAY_LO);
    eval 'sub BKTR_O_VDELAY_LO () {0x090;}' unless defined(&BKTR_O_VDELAY_LO);
    eval 'sub BKTR_E_VACTIVE_LO () {0x014;}' unless defined(&BKTR_E_VACTIVE_LO);
    eval 'sub BKTR_O_VACTIVE_LO () {0x094;}' unless defined(&BKTR_O_VACTIVE_LO);
    eval 'sub BKTR_E_DELAY_LO () {0x018;}' unless defined(&BKTR_E_DELAY_LO);
    eval 'sub BKTR_O_DELAY_LO () {0x098;}' unless defined(&BKTR_O_DELAY_LO);
    eval 'sub BKTR_E_HACTIVE_LO () {0x01c;}' unless defined(&BKTR_E_HACTIVE_LO);
    eval 'sub BKTR_O_HACTIVE_LO () {0x09c;}' unless defined(&BKTR_O_HACTIVE_LO);
    eval 'sub BKTR_E_HSCALE_HI () {0x020;}' unless defined(&BKTR_E_HSCALE_HI);
    eval 'sub BKTR_O_HSCALE_HI () {0x0a0;}' unless defined(&BKTR_O_HSCALE_HI);
    eval 'sub BKTR_E_HSCALE_LO () {0x024;}' unless defined(&BKTR_E_HSCALE_LO);
    eval 'sub BKTR_O_HSCALE_LO () {0x0a4;}' unless defined(&BKTR_O_HSCALE_LO);
    eval 'sub BKTR_BRIGHT () {0x028;}' unless defined(&BKTR_BRIGHT);
    eval 'sub BKTR_E_CONTROL () {0x02c;}' unless defined(&BKTR_E_CONTROL);
    eval 'sub BKTR_O_CONTROL () {0x0ac;}' unless defined(&BKTR_O_CONTROL);
    eval 'sub BKTR_CONTRAST_LO () {0x030;}' unless defined(&BKTR_CONTRAST_LO);
    eval 'sub BKTR_SAT_U_LO () {0x034;}' unless defined(&BKTR_SAT_U_LO);
    eval 'sub BKTR_SAT_V_LO () {0x038;}' unless defined(&BKTR_SAT_V_LO);
    eval 'sub BKTR_HUE () {0x03c;}' unless defined(&BKTR_HUE);
    eval 'sub BKTR_E_SCLOOP () {0x040;}' unless defined(&BKTR_E_SCLOOP);
    eval 'sub BKTR_O_SCLOOP () {0x0c0;}' unless defined(&BKTR_O_SCLOOP);
    eval 'sub BKTR_OFORM () {0x048;}' unless defined(&BKTR_OFORM);
    eval 'sub BKTR_E_VSCALE_HI () {0x04c;}' unless defined(&BKTR_E_VSCALE_HI);
    eval 'sub BKTR_O_VSCALE_HI () {0x0cc;}' unless defined(&BKTR_O_VSCALE_HI);
    eval 'sub BKTR_E_VSCALE_LO () {0x050;}' unless defined(&BKTR_E_VSCALE_LO);
    eval 'sub BKTR_O_VSCALE_LO () {0x0d0;}' unless defined(&BKTR_O_VSCALE_LO);
    eval 'sub BKTR_TEST () {0x054;}' unless defined(&BKTR_TEST);
    eval 'sub BKTR_ADELAY () {0x060;}' unless defined(&BKTR_ADELAY);
    eval 'sub BKTR_BDELAY () {0x064;}' unless defined(&BKTR_BDELAY);
    eval 'sub BKTR_ADC () {0x068;}' unless defined(&BKTR_ADC);
    eval 'sub BKTR_E_VTC () {0x06c;}' unless defined(&BKTR_E_VTC);
    eval 'sub BKTR_O_VTC () {0x0ec;}' unless defined(&BKTR_O_VTC);
    eval 'sub BKTR_SRESET () {0x07c;}' unless defined(&BKTR_SRESET);
    eval 'sub BKTR_COLOR_FMT () {0x0d4;}' unless defined(&BKTR_COLOR_FMT);
    eval 'sub BKTR_COLOR_CTL () {0x0d8;}' unless defined(&BKTR_COLOR_CTL);
    eval 'sub BKTR_CAP_CTL () {0x0dc;}' unless defined(&BKTR_CAP_CTL);
    eval 'sub BKTR_VBI_PACK_SIZE () {0x0e0;}' unless defined(&BKTR_VBI_PACK_SIZE);
    eval 'sub BKTR_VBI_PACK_DEL () {0x0e4;}' unless defined(&BKTR_VBI_PACK_DEL);
    eval 'sub BKTR_INT_STAT () {0x100;}' unless defined(&BKTR_INT_STAT);
    eval 'sub BKTR_INT_MASK () {0x104;}' unless defined(&BKTR_INT_MASK);
    eval 'sub BKTR_RISC_COUNT () {0x120;}' unless defined(&BKTR_RISC_COUNT);
    eval 'sub BKTR_RISC_STRT_ADD () {0x114;}' unless defined(&BKTR_RISC_STRT_ADD);
    eval 'sub BKTR_GPIO_DMA_CTL () {0x10c;}' unless defined(&BKTR_GPIO_DMA_CTL);
    eval 'sub BKTR_GPIO_OUT_EN () {0x118;}' unless defined(&BKTR_GPIO_OUT_EN);
    eval 'sub BKTR_GPIO_REG_INP () {0x11c;}' unless defined(&BKTR_GPIO_REG_INP);
    eval 'sub BKTR_GPIO_DATA () {0x200;}' unless defined(&BKTR_GPIO_DATA);
    eval 'sub BKTR_I2C_CONTROL () {0x110;}' unless defined(&BKTR_I2C_CONTROL);
}
unless(defined(&EEPROMBLOCKSIZE)) {
    sub EEPROMBLOCKSIZE () {	32;}
}
if(((defined( &__FreeBSD__))  && ((defined(&NSMBUS) ? &NSMBUS : 0) > 0))) {
}
if(defined ( &__bsdi__)) {
    eval 'sub pcici_t () { &pci_devaddr_t;}' unless defined(&pcici_t);
}
if(defined( &__NetBSD__)) {
}
if(defined( &__OpenBSD__)) {
}
if(defined ( &__FreeBSD__)) {
    if(((defined(&__FreeBSD_version) ? &__FreeBSD_version : 0) < 400000)) {
    }
    if(((defined(&__FreeBSD_version) ? &__FreeBSD_version : 0) >= 400000)) {
    }
    if(((defined(&NSMBUS) ? &NSMBUS : 0) > 0)) {
    }
}
unless(defined(&METEOR_SIG_MODE_MASK)) {
    sub METEOR_SIG_MODE_MASK () {	0xffff0000;}
}
unless(defined(&METEOR_SIG_FIELD_MODE)) {
    sub METEOR_SIG_FIELD_MODE () {	0x00010000;}
}
unless(defined(&METEOR_SIG_FRAME_MODE)) {
    sub METEOR_SIG_FRAME_MODE () {	0x00000000;}
}
unless(defined(&METEOR_INITALIZED)) {
    sub METEOR_INITALIZED () {	0x00000001;}
}
unless(defined(&METEOR_OPEN)) {
    sub METEOR_OPEN () {	0x00000002;}
}
unless(defined(&METEOR_MMAP)) {
    sub METEOR_MMAP () {	0x00000004;}
}
unless(defined(&METEOR_INTR)) {
    sub METEOR_INTR () {	0x00000008;}
}
unless(defined(&METEOR_READ)) {
    sub METEOR_READ () {	0x00000010;}
}
unless(defined(&METEOR_SINGLE)) {
    sub METEOR_SINGLE () {	0x00000020;}
}
unless(defined(&METEOR_CONTIN)) {
    sub METEOR_CONTIN () {	0x00000040;}
}
unless(defined(&METEOR_SYNCAP)) {
    sub METEOR_SYNCAP () {	0x00000080;}
}
unless(defined(&METEOR_CAP_MASK)) {
    sub METEOR_CAP_MASK () {	0x000000f0;}
}
unless(defined(&METEOR_NTSC)) {
    sub METEOR_NTSC () {	0x00000100;}
}
unless(defined(&METEOR_PAL)) {
    sub METEOR_PAL () {	0x00000200;}
}
unless(defined(&METEOR_SECAM)) {
    sub METEOR_SECAM () {	0x00000400;}
}
unless(defined(&BROOKTREE_NTSC)) {
    sub BROOKTREE_NTSC () {	0x00000100;}
}
unless(defined(&BROOKTREE_PAL)) {
    sub BROOKTREE_PAL () {	0x00000200;}
}
unless(defined(&BROOKTREE_SECAM)) {
    sub BROOKTREE_SECAM () {	0x00000400;}
}
unless(defined(&METEOR_AUTOMODE)) {
    sub METEOR_AUTOMODE () {	0x00000800;}
}
unless(defined(&METEOR_FORM_MASK)) {
    sub METEOR_FORM_MASK () {	0x00000f00;}
}
unless(defined(&METEOR_DEV0)) {
    sub METEOR_DEV0 () {	0x00001000;}
}
unless(defined(&METEOR_DEV1)) {
    sub METEOR_DEV1 () {	0x00002000;}
}
unless(defined(&METEOR_DEV2)) {
    sub METEOR_DEV2 () {	0x00004000;}
}
unless(defined(&METEOR_DEV3)) {
    sub METEOR_DEV3 () {	0x00008000;}
}
unless(defined(&METEOR_DEV_SVIDEO)) {
    sub METEOR_DEV_SVIDEO () {	0x00006000;}
}
unless(defined(&METEOR_DEV_RGB)) {
    sub METEOR_DEV_RGB () {	0x0000a000;}
}
unless(defined(&METEOR_DEV_MASK)) {
    sub METEOR_DEV_MASK () {	0x0000f000;}
}
unless(defined(&METEOR_RGB16)) {
    sub METEOR_RGB16 () {	0x00010000;}
}
unless(defined(&METEOR_RGB24)) {
    sub METEOR_RGB24 () {	0x00020000;}
}
unless(defined(&METEOR_YUV_PACKED)) {
    sub METEOR_YUV_PACKED () {	0x00040000;}
}
unless(defined(&METEOR_YUV_PLANAR)) {
    sub METEOR_YUV_PLANAR () {	0x00080000;}
}
unless(defined(&METEOR_WANT_EVEN)) {
    sub METEOR_WANT_EVEN () {	0x00100000;}
}
unless(defined(&METEOR_WANT_ODD)) {
    sub METEOR_WANT_ODD () {	0x00200000;}
}
unless(defined(&METEOR_WANT_MASK)) {
    sub METEOR_WANT_MASK () {	0x00300000;}
}
unless(defined(&METEOR_ONLY_EVEN_FIELDS)) {
    sub METEOR_ONLY_EVEN_FIELDS () {	0x01000000;}
}
unless(defined(&METEOR_ONLY_ODD_FIELDS)) {
    sub METEOR_ONLY_ODD_FIELDS () {	0x02000000;}
}
unless(defined(&METEOR_ONLY_FIELDS_MASK)) {
    sub METEOR_ONLY_FIELDS_MASK () {	0x03000000;}
}
unless(defined(&METEOR_YUV_422)) {
    sub METEOR_YUV_422 () {	0x04000000;}
}
unless(defined(&METEOR_OUTPUT_FMT_MASK)) {
    sub METEOR_OUTPUT_FMT_MASK () {	0x040f0000;}
}
unless(defined(&METEOR_WANT_TS)) {
    sub METEOR_WANT_TS () {	0x08000000;}
}
unless(defined(&METEOR_RGB)) {
    sub METEOR_RGB () {	0x20000000;}
}
unless(defined(&METEOR_FIELD_MODE)) {
    sub METEOR_FIELD_MODE () {	0x80000000;}
}
unless(defined(&TUNER_INITALIZED)) {
    sub TUNER_INITALIZED () {	0x00000001;}
}
unless(defined(&TUNER_OPEN)) {
    sub TUNER_OPEN () {	0x00000002;}
}
unless(defined(&VBI_INITALIZED)) {
    sub VBI_INITALIZED () {	0x00000001;}
}
unless(defined(&VBI_OPEN)) {
    sub VBI_OPEN () {	0x00000002;}
}
unless(defined(&VBI_CAPTURE)) {
    sub VBI_CAPTURE () {	0x00000004;}
}
unless(defined(&BT848_USE_XTALS)) {
    sub BT848_USE_XTALS () {	0;}
}
unless(defined(&BT848_USE_PLL)) {
    sub BT848_USE_PLL () {	1;}
}
unless(defined(&Bt848_MAX_SIGN)) {
    sub Bt848_MAX_SIGN () {	16;}
}
1;
