require '_h2ph_pre.ph';

unless(defined(&_DEV_PCI_PCCBBREG_H_)) {
    eval 'sub _DEV_PCI_PCCBBREG_H_ () {1;}' unless defined(&_DEV_PCI_PCCBBREG_H_);
    eval 'sub PCI_SOCKBASE () {0x10;}' unless defined(&PCI_SOCKBASE);
    eval 'sub PCI_BUSNUM () {0x18;}' unless defined(&PCI_BUSNUM);
    eval 'sub PCI_BCR_INTR () {0x3c;}' unless defined(&PCI_BCR_INTR);
    eval 'sub PCI_LEGACY () {0x44;}' unless defined(&PCI_LEGACY);
    eval 'sub PCI_CBCTRL () {0x90;}' unless defined(&PCI_CBCTRL);
    eval 'sub PCI_CLASS_INTERFACE_MASK () {0xffffff00;}' unless defined(&PCI_CLASS_INTERFACE_MASK);
    eval 'sub PCI_CLASS_INTERFACE_YENTA () {0x06070000;}' unless defined(&PCI_CLASS_INTERFACE_YENTA);
    eval 'sub CB_SOCKET_EVENT () {0x00;}' unless defined(&CB_SOCKET_EVENT);
    eval 'sub CB_SOCKET_MASK () {0x04;}' unless defined(&CB_SOCKET_MASK);
    eval 'sub CB_SOCKET_STAT () {0x08;}' unless defined(&CB_SOCKET_STAT);
    eval 'sub CB_SOCKET_FORCE () {0x0c;}' unless defined(&CB_SOCKET_FORCE);
    eval 'sub CB_SOCKET_CTRL () {0x10;}' unless defined(&CB_SOCKET_CTRL);
    eval 'sub PCCBB_SOCKEVENT_BITS () {"\\020\\001CSTS\\002CD1\\003CD2\\004PWR";}' unless defined(&PCCBB_SOCKEVENT_BITS);
    eval 'sub PCCBB_SOCKSTATE_BITS () {"\\020\\001CSTS\\002CD1\\003CD3\\004PWR" "\\00516BIT\\006CB\\007CINT\\010NOTA\\011DLOST\\012BADVCC" "\\0135v\\0143v\\015Xv\\016Yv\\0355vS\\0363vS\\037XvS\\040YvS";}' unless defined(&PCCBB_SOCKSTATE_BITS);
    eval 'sub PCI_CB_LSCP_REG () {0x18;}' unless defined(&PCI_CB_LSCP_REG);
    eval 'sub PCI_CB_MEMBASE0 () {0x1c;}' unless defined(&PCI_CB_MEMBASE0);
    eval 'sub PCI_CB_MEMLIMIT0 () {0x20;}' unless defined(&PCI_CB_MEMLIMIT0);
    eval 'sub PCI_CB_MEMBASE1 () {0x24;}' unless defined(&PCI_CB_MEMBASE1);
    eval 'sub PCI_CB_MEMLIMIT1 () {0x28;}' unless defined(&PCI_CB_MEMLIMIT1);
    eval 'sub PCI_CB_IOBASE0 () {0x2c;}' unless defined(&PCI_CB_IOBASE0);
    eval 'sub PCI_CB_IOLIMIT0 () {0x30;}' unless defined(&PCI_CB_IOLIMIT0);
    eval 'sub PCI_CB_IOBASE1 () {0x34;}' unless defined(&PCI_CB_IOBASE1);
    eval 'sub PCI_CB_IOLIMIT1 () {0x38;}' unless defined(&PCI_CB_IOLIMIT1);
    eval 'sub PCI_CB_LATENCY_SHIFT () {24;}' unless defined(&PCI_CB_LATENCY_SHIFT);
    eval 'sub PCI_CB_LATENCY_MASK () {0xff;}' unless defined(&PCI_CB_LATENCY_MASK);
    eval 'sub PCI_CB_LATENCY {
        local($x) = @_;
	    eval q(((($x) >>  &PCI_CB_LATENCY_SHIFT) &  &PCI_CB_LATENCY_MASK));
    }' unless defined(&PCI_CB_LATENCY);
    eval 'sub CB_BCR_RESET_ENABLE () {0x00400000;}' unless defined(&CB_BCR_RESET_ENABLE);
    eval 'sub CB_BCR_INTR_IREQ_ENABLE () {0x00800000;}' unless defined(&CB_BCR_INTR_IREQ_ENABLE);
    eval 'sub CB_BCR_PREFETCH_MEMWIN0 () {0x01000000;}' unless defined(&CB_BCR_PREFETCH_MEMWIN0);
    eval 'sub CB_BCR_PREFETCH_MEMWIN1 () {0x02000000;}' unless defined(&CB_BCR_PREFETCH_MEMWIN1);
    eval 'sub CB_BCR_WRITE_POST_ENABLE () {0x04000000;}' unless defined(&CB_BCR_WRITE_POST_ENABLE);
    eval 'sub PCI113X_CBCTRL_INT_SERIAL () {0x040000;}' unless defined(&PCI113X_CBCTRL_INT_SERIAL);
    eval 'sub PCI113X_CBCTRL_INT_ISA () {0x020000;}' unless defined(&PCI113X_CBCTRL_INT_ISA);
    eval 'sub PCI113X_CBCTRL_INT_MASK () {0x060000;}' unless defined(&PCI113X_CBCTRL_INT_MASK);
    eval 'sub PCI113X_CBCTRL_RIENB () {0x8000;}' unless defined(&PCI113X_CBCTRL_RIENB);
    eval 'sub PCI113X_CBCTRL_ZVENAB () {0x4000;}' unless defined(&PCI113X_CBCTRL_ZVENAB);
    eval 'sub PCI113X_CBCTRL_PCI_IRQ_ENA () {0x2000;}' unless defined(&PCI113X_CBCTRL_PCI_IRQ_ENA);
    eval 'sub PCI113X_CBCTRL_PCI_INTR () {0x1000;}' unless defined(&PCI113X_CBCTRL_PCI_INTR);
    eval 'sub PCI113X_CBCTRL_PCI_CSC () {0x0800;}' unless defined(&PCI113X_CBCTRL_PCI_CSC);
    eval 'sub PCI113X_CBCTRL_PCI_CSC_D () {0x0400;}' unless defined(&PCI113X_CBCTRL_PCI_CSC_D);
    eval 'sub PCI113X_CBCTRL_SPK_ENA () {0x0200;}' unless defined(&PCI113X_CBCTRL_SPK_ENA);
    eval 'sub PCI113X_CBCTRL_INTR_DET () {0x0100;}' unless defined(&PCI113X_CBCTRL_INTR_DET);
    eval 'sub PCI12XX_CBCTRL_INT_SERIAL () {0x040000;}' unless defined(&PCI12XX_CBCTRL_INT_SERIAL);
    eval 'sub PCI12XX_CBCTRL_INT_ISA () {0x020000;}' unless defined(&PCI12XX_CBCTRL_INT_ISA);
    eval 'sub PCI12XX_CBCTRL_INT_PCI () {0x000000;}' unless defined(&PCI12XX_CBCTRL_INT_PCI);
    eval 'sub PCI12XX_CBCTRL_INT_MASK () {0x060000;}' unless defined(&PCI12XX_CBCTRL_INT_MASK);
    eval 'sub PCI12XX_CBCTRL_RIENB () {0x8000;}' unless defined(&PCI12XX_CBCTRL_RIENB);
    eval 'sub PCI12XX_CBCTRL_ZVENAB () {0x4000;}' unless defined(&PCI12XX_CBCTRL_ZVENAB);
    eval 'sub PCI12XX_CBCTRL_AUD2MUX () {0x0400;}' unless defined(&PCI12XX_CBCTRL_AUD2MUX);
    eval 'sub PCI12XX_CBCTRL_SPK_ENA () {0x0200;}' unless defined(&PCI12XX_CBCTRL_SPK_ENA);
    eval 'sub PCI12XX_CBCTRL_INTR_DET () {0x0100;}' unless defined(&PCI12XX_CBCTRL_INTR_DET);
    eval 'sub CB_BCRI_RL_3E0_ENA () {0x08000000;}' unless defined(&CB_BCRI_RL_3E0_ENA);
    eval 'sub CB_BCRI_RL_3E2_ENA () {0x10000000;}' unless defined(&CB_BCRI_RL_3E2_ENA);
    eval 'sub TOPIC_SOCKET_CTRL () {0x90;}' unless defined(&TOPIC_SOCKET_CTRL);
    eval 'sub TOPIC_SOCKET_CTRL_SCR_IRQSEL () {0x00000001;}' unless defined(&TOPIC_SOCKET_CTRL_SCR_IRQSEL);
    eval 'sub TOPIC_SLOT_CTRL () {0xa0;}' unless defined(&TOPIC_SLOT_CTRL);
    eval 'sub TOPIC_SLOT_CTRL_SLOTON () {0x00000080;}' unless defined(&TOPIC_SLOT_CTRL_SLOTON);
    eval 'sub TOPIC_SLOT_CTRL_SLOTEN () {0x00000040;}' unless defined(&TOPIC_SLOT_CTRL_SLOTEN);
    eval 'sub TOPIC_SLOT_CTRL_ID_LOCK () {0x00000020;}' unless defined(&TOPIC_SLOT_CTRL_ID_LOCK);
    eval 'sub TOPIC_SLOT_CTRL_ID_WP () {0x00000010;}' unless defined(&TOPIC_SLOT_CTRL_ID_WP);
    eval 'sub TOPIC_SLOT_CTRL_PORT_MASK () {0x0000000c;}' unless defined(&TOPIC_SLOT_CTRL_PORT_MASK);
    eval 'sub TOPIC_SLOT_CTRL_PORT_SHIFT () {2;}' unless defined(&TOPIC_SLOT_CTRL_PORT_SHIFT);
    eval 'sub TOPIC_SLOT_CTRL_OSF_MASK () {0x00000003;}' unless defined(&TOPIC_SLOT_CTRL_OSF_MASK);
    eval 'sub TOPIC_SLOT_CTRL_OSF_SHIFT () {0;}' unless defined(&TOPIC_SLOT_CTRL_OSF_SHIFT);
    eval 'sub TOPIC_SLOT_CTRL_INTB () {0x00002000;}' unless defined(&TOPIC_SLOT_CTRL_INTB);
    eval 'sub TOPIC_SLOT_CTRL_INTA () {0x00001000;}' unless defined(&TOPIC_SLOT_CTRL_INTA);
    eval 'sub TOPIC_SLOT_CTRL_INT_MASK () {0x00003000;}' unless defined(&TOPIC_SLOT_CTRL_INT_MASK);
    eval 'sub TOPIC_SLOT_CTRL_CLOCK_MASK () {0x00000c00;}' unless defined(&TOPIC_SLOT_CTRL_CLOCK_MASK);
    eval 'sub TOPIC_SLOT_CTRL_CLOCK_2 () {0x00000800;}' unless defined(&TOPIC_SLOT_CTRL_CLOCK_2);
    eval 'sub TOPIC_SLOT_CTRL_CLOCK_1 () {0x00000400;}' unless defined(&TOPIC_SLOT_CTRL_CLOCK_1);
    eval 'sub TOPIC_SLOT_CTRL_CLOCK_0 () {0x00000000;}' unless defined(&TOPIC_SLOT_CTRL_CLOCK_0);
    eval 'sub TOPIC_SLOT_CTRL_CARDBUS () {0x80000000;}' unless defined(&TOPIC_SLOT_CTRL_CARDBUS);
    eval 'sub TOPIC_SLOT_CTRL_VS1 () {0x04000000;}' unless defined(&TOPIC_SLOT_CTRL_VS1);
    eval 'sub TOPIC_SLOT_CTRL_VS2 () {0x02000000;}' unless defined(&TOPIC_SLOT_CTRL_VS2);
    eval 'sub TOPIC_SLOT_CTRL_SWDETECT () {0x01000000;}' unless defined(&TOPIC_SLOT_CTRL_SWDETECT);
    eval 'sub TOPIC_REG_CTRL () {0x00a4;}' unless defined(&TOPIC_REG_CTRL);
    eval 'sub TOPIC_REG_CTRL_RESUME_RESET () {0x80000000;}' unless defined(&TOPIC_REG_CTRL_RESUME_RESET);
    eval 'sub TOPIC_REG_CTRL_REMOVE_RESET () {0x40000000;}' unless defined(&TOPIC_REG_CTRL_REMOVE_RESET);
    eval 'sub TOPIC97_REG_CTRL_CLKRUN_ENA () {0x20000000;}' unless defined(&TOPIC97_REG_CTRL_CLKRUN_ENA);
    eval 'sub TOPIC97_REG_CTRL_TESTMODE () {0x10000000;}' unless defined(&TOPIC97_REG_CTRL_TESTMODE);
    eval 'sub TOPIC97_REG_CTRL_IOPLUP () {0x08000000;}' unless defined(&TOPIC97_REG_CTRL_IOPLUP);
    eval 'sub TOPIC_REG_CTRL_BUFOFF_PWROFF () {0x02000000;}' unless defined(&TOPIC_REG_CTRL_BUFOFF_PWROFF);
    eval 'sub TOPIC_REG_CTRL_BUFOFF_SIGOFF () {0x01000000;}' unless defined(&TOPIC_REG_CTRL_BUFOFF_SIGOFF);
    eval 'sub TOPIC97_REG_CTRL_CB_DEV_MASK () {0x0000f800;}' unless defined(&TOPIC97_REG_CTRL_CB_DEV_MASK);
    eval 'sub TOPIC97_REG_CTRL_CB_DEV_SHIFT () {11;}' unless defined(&TOPIC97_REG_CTRL_CB_DEV_SHIFT);
    eval 'sub TOPIC97_REG_CTRL_RI_DISABLE () {0x00000004;}' unless defined(&TOPIC97_REG_CTRL_RI_DISABLE);
    eval 'sub TOPIC97_REG_CTRL_CAUDIO_OFF () {0x00000002;}' unless defined(&TOPIC97_REG_CTRL_CAUDIO_OFF);
    eval 'sub TOPIC_REG_CTRL_CAUDIO_INVERT () {0x00000001;}' unless defined(&TOPIC_REG_CTRL_CAUDIO_INVERT);
    eval 'sub CB_SOCKET_EVENT_CSTS () {0x01;}' unless defined(&CB_SOCKET_EVENT_CSTS);
    eval 'sub CB_SOCKET_EVENT_CD () {0x06;}' unless defined(&CB_SOCKET_EVENT_CD);
    eval 'sub CB_SOCKET_EVENT_CD1 () {0x02;}' unless defined(&CB_SOCKET_EVENT_CD1);
    eval 'sub CB_SOCKET_EVENT_CD2 () {0x04;}' unless defined(&CB_SOCKET_EVENT_CD2);
    eval 'sub CB_SOCKET_EVENT_POWER () {0x08;}' unless defined(&CB_SOCKET_EVENT_POWER);
    eval 'sub CB_SOCKET_MASK_CSTS () {0x01;}' unless defined(&CB_SOCKET_MASK_CSTS);
    eval 'sub CB_SOCKET_MASK_CD () {0x06;}' unless defined(&CB_SOCKET_MASK_CD);
    eval 'sub CB_SOCKET_MASK_POWER () {0x08;}' unless defined(&CB_SOCKET_MASK_POWER);
    eval 'sub CB_SOCKET_STAT_CARDSTS () {0x01;}' unless defined(&CB_SOCKET_STAT_CARDSTS);
    eval 'sub CB_SOCKET_STAT_CD1 () {0x02;}' unless defined(&CB_SOCKET_STAT_CD1);
    eval 'sub CB_SOCKET_STAT_CD2 () {0x04;}' unless defined(&CB_SOCKET_STAT_CD2);
    eval 'sub CB_SOCKET_STAT_CD () {0x06;}' unless defined(&CB_SOCKET_STAT_CD);
    eval 'sub CB_SOCKET_STAT_PWRCYCLE () {0x08;}' unless defined(&CB_SOCKET_STAT_PWRCYCLE);
    eval 'sub CB_SOCKET_STAT_16BIT () {0x010;}' unless defined(&CB_SOCKET_STAT_16BIT);
    eval 'sub CB_SOCKET_STAT_CB () {0x020;}' unless defined(&CB_SOCKET_STAT_CB);
    eval 'sub CB_SOCKET_STAT_IREQ () {0x040;}' unless defined(&CB_SOCKET_STAT_IREQ);
    eval 'sub CB_SOCKET_STAT_NOTCARD () {0x080;}' unless defined(&CB_SOCKET_STAT_NOTCARD);
    eval 'sub CB_SOCKET_STAT_DATALOST () {0x0100;}' unless defined(&CB_SOCKET_STAT_DATALOST);
    eval 'sub CB_SOCKET_STAT_BADVCC () {0x0200;}' unless defined(&CB_SOCKET_STAT_BADVCC);
    eval 'sub CB_SOCKET_STAT_5VCARD () {0x0400;}' unless defined(&CB_SOCKET_STAT_5VCARD);
    eval 'sub CB_SOCKET_STAT_3VCARD () {0x0800;}' unless defined(&CB_SOCKET_STAT_3VCARD);
    eval 'sub CB_SOCKET_STAT_XVCARD () {0x01000;}' unless defined(&CB_SOCKET_STAT_XVCARD);
    eval 'sub CB_SOCKET_STAT_YVCARD () {0x02000;}' unless defined(&CB_SOCKET_STAT_YVCARD);
    eval 'sub CB_SOCKET_STAT_5VSOCK () {0x10000000;}' unless defined(&CB_SOCKET_STAT_5VSOCK);
    eval 'sub CB_SOCKET_STAT_3VSOCK () {0x20000000;}' unless defined(&CB_SOCKET_STAT_3VSOCK);
    eval 'sub CB_SOCKET_STAT_XVSOCK () {0x20000000;}' unless defined(&CB_SOCKET_STAT_XVSOCK);
    eval 'sub CB_SOCKET_STAT_YVSOCK () {0x20000000;}' unless defined(&CB_SOCKET_STAT_YVSOCK);
    eval 'sub CB_SOCKET_FORCE_BADVCC () {0x0200;}' unless defined(&CB_SOCKET_FORCE_BADVCC);
    eval 'sub CB_SOCKET_CTRL_VPPMASK () {0x07;}' unless defined(&CB_SOCKET_CTRL_VPPMASK);
    eval 'sub CB_SOCKET_CTRL_VPP_OFF () {0x00;}' unless defined(&CB_SOCKET_CTRL_VPP_OFF);
    eval 'sub CB_SOCKET_CTRL_VPP_12V () {0x01;}' unless defined(&CB_SOCKET_CTRL_VPP_12V);
    eval 'sub CB_SOCKET_CTRL_VPP_5V () {0x02;}' unless defined(&CB_SOCKET_CTRL_VPP_5V);
    eval 'sub CB_SOCKET_CTRL_VPP_3V () {0x03;}' unless defined(&CB_SOCKET_CTRL_VPP_3V);
    eval 'sub CB_SOCKET_CTRL_VPP_XV () {0x04;}' unless defined(&CB_SOCKET_CTRL_VPP_XV);
    eval 'sub CB_SOCKET_CTRL_VPP_YV () {0x05;}' unless defined(&CB_SOCKET_CTRL_VPP_YV);
    eval 'sub CB_SOCKET_CTRL_VCCMASK () {0x070;}' unless defined(&CB_SOCKET_CTRL_VCCMASK);
    eval 'sub CB_SOCKET_CTRL_VCC_OFF () {0x000;}' unless defined(&CB_SOCKET_CTRL_VCC_OFF);
    eval 'sub CB_SOCKET_CTRL_VCC_5V () {0x020;}' unless defined(&CB_SOCKET_CTRL_VCC_5V);
    eval 'sub CB_SOCKET_CTRL_VCC_3V () {0x030;}' unless defined(&CB_SOCKET_CTRL_VCC_3V);
    eval 'sub CB_SOCKET_CTRL_VCC_XV () {0x040;}' unless defined(&CB_SOCKET_CTRL_VCC_XV);
    eval 'sub CB_SOCKET_CTRL_VCC_YV () {0x050;}' unless defined(&CB_SOCKET_CTRL_VCC_YV);
    eval 'sub CB_SOCKET_CTRL_STOPCLK () {0x080;}' unless defined(&CB_SOCKET_CTRL_STOPCLK);
    eval 'sub PCCARD_VCC_UKN () {0x00;}' unless defined(&PCCARD_VCC_UKN);
    eval 'sub PCCARD_VCC_5V () {0x01;}' unless defined(&PCCARD_VCC_5V);
    eval 'sub PCCARD_VCC_3V () {0x02;}' unless defined(&PCCARD_VCC_3V);
    eval 'sub PCCARD_VCC_XV () {0x04;}' unless defined(&PCCARD_VCC_XV);
    eval 'sub PCCARD_VCC_YV () {0x08;}' unless defined(&PCCARD_VCC_YV);
}
1;
