require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_PCI_PCIIDE_I31244_REG_H_)) {
    eval 'sub _DEV_PCI_PCIIDE_I31244_REG_H_ () {1;}' unless defined(&_DEV_PCI_PCIIDE_I31244_REG_H_);
    eval 'sub ARTISEA_PCI_DPA_BASE () { &PCI_MAPREG_START;}' unless defined(&ARTISEA_PCI_DPA_BASE);
    eval 'sub ARTISEA_PCI_SUECSR0 () {0x98;}' unless defined(&ARTISEA_PCI_SUECSR0);
    eval 'sub SUECSR0_LED0_ONLY () {(1 << 28);}' unless defined(&SUECSR0_LED0_ONLY);
    eval 'sub SUECSR0_SFSS () {(1 << 16);}' unless defined(&SUECSR0_SFSS);
    eval 'sub ARTISEA_PCI_SUDCSCR () {0xa0;}' unless defined(&ARTISEA_PCI_SUDCSCR);
    eval 'sub SUDCSCR_DMA_WCAE () {0x2;}' unless defined(&SUDCSCR_DMA_WCAE);
    eval 'sub SUDCSCR_DMA_RCAE () {0x1;}' unless defined(&SUDCSCR_DMA_RCAE);
    eval 'sub ARTISEA_SUPDIPR () {0x;}' unless defined(&ARTISEA_SUPDIPR);
    eval 'sub SUPDIPR_PORTSHIFT {
        my($x) = @_;
	    eval q((($x) * 8));
    }' unless defined(&SUPDIPR_PORTSHIFT);
    eval 'sub SUPDIPR_PHY_CS () {(1 << 0);}' unless defined(&SUPDIPR_PHY_CS);
    eval 'sub SUPDIPR_PHY_RDY () {(1 << 1);}' unless defined(&SUPDIPR_PHY_RDY);
    eval 'sub SUPDIPR_FIFO_ERR () {(1 << 2);}' unless defined(&SUPDIPR_FIFO_ERR);
    eval 'sub SUPDIPR_ERR_RCVD () {(1 << 3);}' unless defined(&SUPDIPR_ERR_RCVD);
    eval 'sub SUPDIPR_U_FIS_R () {(1 << 4);}' unless defined(&SUPDIPR_U_FIS_R);
    eval 'sub SUPDIPR_DATA_I () {(1 << 5);}' unless defined(&SUPDIPR_DATA_I);
    eval 'sub SUPDIPR_CRC_ED () {(1 << 6);}' unless defined(&SUPDIPR_CRC_ED);
    eval 'sub SUPDIPR_IDE () {(1 << 7);}' unless defined(&SUPDIPR_IDE);
    eval 'sub ARTISEA_SUPDIMR () {0x4;}' unless defined(&ARTISEA_SUPDIMR);
    eval 'sub ARTISEA_DPA_PORT_BASE {
        my($x) = @_;
	    eval q(((($x) + 1) * 0x200));
    }' unless defined(&ARTISEA_DPA_PORT_BASE);
    eval 'sub ARTISEA_SUPDDR () {0x;}' unless defined(&ARTISEA_SUPDDR);
    eval 'sub ARTISEA_SUPDER () {0x4;}' unless defined(&ARTISEA_SUPDER);
    eval 'sub ARTISEA_SUPDFR () {0x6;}' unless defined(&ARTISEA_SUPDFR);
    eval 'sub ARTISEA_SUPDCSR () {0x8;}' unless defined(&ARTISEA_SUPDCSR);
    eval 'sub ARTISEA_SUPDSNR () {0xc;}' unless defined(&ARTISEA_SUPDSNR);
    eval 'sub ARTISEA_SUPDCLR () {0x10;}' unless defined(&ARTISEA_SUPDCLR);
    eval 'sub ARTISEA_SUPDCHR () {0x14;}' unless defined(&ARTISEA_SUPDCHR);
    eval 'sub ARTISEA_SUPDDHR () {0x18;}' unless defined(&ARTISEA_SUPDDHR);
    eval 'sub ARTISEA_SUPDSR () {0x1c;}' unless defined(&ARTISEA_SUPDSR);
    eval 'sub ARTISEA_SUPDCR () {0x1d;}' unless defined(&ARTISEA_SUPDCR);
    eval 'sub ARTISEA_SUPDASR () {0x28;}' unless defined(&ARTISEA_SUPDASR);
    eval 'sub ARTISEA_SUPDDCTLR () {0x29;}' unless defined(&ARTISEA_SUPDDCTLR);
    eval 'sub ARTISEA_SUPDUDDTPR () {0x64;}' unless defined(&ARTISEA_SUPDUDDTPR);
    eval 'sub ARTISEA_SUPDUDDPR () {0x6c;}' unless defined(&ARTISEA_SUPDUDDPR);
    eval 'sub ARTISEA_SUPDDCMDR () {0x70;}' unless defined(&ARTISEA_SUPDDCMDR);
    eval 'sub SUPDDCMDR_START () {(1 << 0);}' unless defined(&SUPDDCMDR_START);
    eval 'sub SUPDDCMDR_WRITE () {(1 << 3);}' unless defined(&SUPDDCMDR_WRITE);
    eval 'sub SUPDDCMDR_DP_DMA_ACT () {(1 << 8);}' unless defined(&SUPDDCMDR_DP_DMA_ACT);
    eval 'sub SUPDDCMDR_FP_DMA_DIR () {(1 << 9);}' unless defined(&SUPDDCMDR_FP_DMA_DIR);
    eval 'sub ARTISEA_SUPDDSR () {0x72;}' unless defined(&ARTISEA_SUPDDSR);
    eval 'sub ARTISEA_SUPDDDTPR () {0x74;}' unless defined(&ARTISEA_SUPDDDTPR);
    eval 'sub ARTISEA_SUPERSET_DPA_OFF () {0x100;}' unless defined(&ARTISEA_SUPERSET_DPA_OFF);
    eval 'sub ARTISEA_SUPDSSSR () {0x;}' unless defined(&ARTISEA_SUPDSSSR);
    eval 'sub SUPDSSSR_IPM_NP () {(0<< 8);}' unless defined(&SUPDSSSR_IPM_NP);
    eval 'sub SUPDSSSR_IPM_ACT () {(1 << 8);}' unless defined(&SUPDSSSR_IPM_ACT);
    eval 'sub SUPDSSSR_IPM_PARTIAL () {(2 << 8);}' unless defined(&SUPDSSSR_IPM_PARTIAL);
    eval 'sub SUPDSSSR_IPM_SLUMBER () {(6 << 8);}' unless defined(&SUPDSSSR_IPM_SLUMBER);
    eval 'sub SUPDSSSR_SPD_NP () {(0<< 4);}' unless defined(&SUPDSSSR_SPD_NP);
    eval 'sub SUPDSSSR_SPD_G1 () {(1 << 4);}' unless defined(&SUPDSSSR_SPD_G1);
    eval 'sub SUPDSSSR_DET_NP () {(0<< 0);}' unless defined(&SUPDSSSR_DET_NP);
    eval 'sub SUPDSSSR_DET_PHY_CNE () {(1 << 0);}' unless defined(&SUPDSSSR_DET_PHY_CNE);
    eval 'sub SUPDSSSR_DET_PHY_CE () {(3 << 0);}' unless defined(&SUPDSSSR_DET_PHY_CE);
    eval 'sub SUPDSSSR_DET_PHY_LOOP () {(4 << 0);}' unless defined(&SUPDSSSR_DET_PHY_LOOP);
    eval 'sub ARTISEA_SUPDSSER () {0x4;}' unless defined(&ARTISEA_SUPDSSER);
    eval 'sub SUPDSSER_DIAG_F () {(1 << 25);}' unless defined(&SUPDSSER_DIAG_F);
    eval 'sub SUPDSSER_DIAG_T () {(1 << 24);}' unless defined(&SUPDSSER_DIAG_T);
    eval 'sub SUPDSSER_DIAG_S () {(1 << 23);}' unless defined(&SUPDSSER_DIAG_S);
    eval 'sub SUPDSSER_DIAG_H () {(1 << 22);}' unless defined(&SUPDSSER_DIAG_H);
    eval 'sub SUPDSSER_DIAG_C () {(1 << 21);}' unless defined(&SUPDSSER_DIAG_C);
    eval 'sub SUPDSSER_DIAG_D () {(1 << 20);}' unless defined(&SUPDSSER_DIAG_D);
    eval 'sub SUPDSSER_DIAG_B () {(1 << 19);}' unless defined(&SUPDSSER_DIAG_B);
    eval 'sub SUPDSSER_DIAG_W () {(1 << 18);}' unless defined(&SUPDSSER_DIAG_W);
    eval 'sub SUPDSSER_DIAG_I () {(1 << 17);}' unless defined(&SUPDSSER_DIAG_I);
    eval 'sub SUPDSSER_DIAG_N () {(1 << 16);}' unless defined(&SUPDSSER_DIAG_N);
    eval 'sub SUPDSSER_ERR_E () {(1 << 11);}' unless defined(&SUPDSSER_ERR_E);
    eval 'sub SUPDSSER_ERR_P () {(1 << 10);}' unless defined(&SUPDSSER_ERR_P);
    eval 'sub SUPDSSER_ERR_C () {(1 << 9);}' unless defined(&SUPDSSER_ERR_C);
    eval 'sub SUPDSSER_ERR_T () {(1 << 8);}' unless defined(&SUPDSSER_ERR_T);
    eval 'sub SUPDSSER_ERR_M () {(1 << 1);}' unless defined(&SUPDSSER_ERR_M);
    eval 'sub SUPDSSER_ERR_I () {(1 << 0);}' unless defined(&SUPDSSER_ERR_I);
    eval 'sub ARTISEA_SUPDSSCR () {0x8;}' unless defined(&ARTISEA_SUPDSSCR);
    eval 'sub SUPDSSCR_IPM_ANY () {(0<< 8);}' unless defined(&SUPDSSCR_IPM_ANY);
    eval 'sub SUPDSSCR_IPM_NO_PARTIAL () {(1 << 8);}' unless defined(&SUPDSSCR_IPM_NO_PARTIAL);
    eval 'sub SUPDSSCR_IPM_NO_SLUMBER () {(2 << 8);}' unless defined(&SUPDSSCR_IPM_NO_SLUMBER);
    eval 'sub SUPDSSCR_IPM_NONE () {(3 << 8);}' unless defined(&SUPDSSCR_IPM_NONE);
    eval 'sub SUPDSSCR_SPD_ANY () {(0<< 4);}' unless defined(&SUPDSSCR_SPD_ANY);
    eval 'sub SUPDSSCR_SPD_G1 () {(1 << 4);}' unless defined(&SUPDSSCR_SPD_G1);
    eval 'sub SUPDSSCR_DET_NORM () {(0<< 0);}' unless defined(&SUPDSSCR_DET_NORM);
    eval 'sub SUPDSSCR_DET_INIT () {(1 << 0);}' unless defined(&SUPDSSCR_DET_INIT);
    eval 'sub SUPDSSCR_DET_DISABLE () {(4 << 0);}' unless defined(&SUPDSSCR_DET_DISABLE);
    eval 'sub ARTISEA_SUPDSDBR () {0xc;}' unless defined(&ARTISEA_SUPDSDBR);
    eval 'sub ARTISEA_SUPDPFR () {0x40;}' unless defined(&ARTISEA_SUPDPFR);
    eval 'sub SUPDPFR_SSCEN () {(1 << 16);}' unless defined(&SUPDPFR_SSCEN);
    eval 'sub SUPDPFR_FVS () {(1 << 14);}' unless defined(&SUPDPFR_FVS);
    eval 'sub ARTISEA_SUPDBFCSR () {0x44;}' unless defined(&ARTISEA_SUPDBFCSR);
    eval 'sub SUPDBFCSR_PAT_D21_5 () {(0<< 30);}' unless defined(&SUPDBFCSR_PAT_D21_5);
    eval 'sub SUPDBFCSR_PAT_D24_3 () {(1 << 30);}' unless defined(&SUPDBFCSR_PAT_D24_3);
    eval 'sub SUPDBFCSR_PAT_D10_2 () {(2 << 30);}' unless defined(&SUPDBFCSR_PAT_D10_2);
    eval 'sub SUPDBFCSR_PAT_COUNT () {(3 << 30);}' unless defined(&SUPDBFCSR_PAT_COUNT);
    eval 'sub SUPDBFCSR_CS_D21_5 () {(0<< 28);}' unless defined(&SUPDBFCSR_CS_D21_5);
    eval 'sub SUPDBFCSR_CS_D24_3 () {(1 << 28);}' unless defined(&SUPDBFCSR_CS_D24_3);
    eval 'sub SUPDBFCSR_CS_D10_2 () {(2 << 28);}' unless defined(&SUPDBFCSR_CS_D10_2);
    eval 'sub SUPDBFCSR_CS_COUNT () {(3 << 30);}' unless defined(&SUPDBFCSR_CS_COUNT);
    eval 'sub SUPDBFCSR_CLEAR_ERRS () {(1 << 25);}' unless defined(&SUPDBFCSR_CLEAR_ERRS);
    eval 'sub SUPDBFCSR_CE () {(1 << 24);}' unless defined(&SUPDBFCSR_CE);
    eval 'sub SUPDBFCSR_PE () {(1 << 23);}' unless defined(&SUPDBFCSR_PE);
    eval 'sub SUPDBFCSR_K28_5 () {((1 << 16) | (1 << 8);}' unless defined(&SUPDBFCSR_K28_5);
    eval 'sub SUPDBFCSR_BIST_ACT_RX () {(1 << 15);}' unless defined(&SUPDBFCSR_BIST_ACT_RX);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_TO () {(1 << 14);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_TO);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_AB () {(1 << 13);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_AB);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_SB () {(1 << 12);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_SB);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_RT () {(1 << 11);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_RT);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_P () {(1 << 10);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_P);
    eval 'sub SUPDBFCSR_BIST_ACT_RX_AFEL () {(1 << 9);}' unless defined(&SUPDBFCSR_BIST_ACT_RX_AFEL);
    eval 'sub SUPDBFCSR_BIST_ACT_TX () {(1 << 7);}' unless defined(&SUPDBFCSR_BIST_ACT_TX);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_TO () {(1 << 6);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_TO);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_AB () {(1 << 5);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_AB);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_SB () {(1 << 4);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_SB);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_RT () {(1 << 3);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_RT);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_P () {(1 << 2);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_P);
    eval 'sub SUPDBFCSR_BIST_ACT_TX_AFEL () {(1 << 1);}' unless defined(&SUPDBFCSR_BIST_ACT_TX_AFEL);
    eval 'sub SUPDBFCSR_INIT_NE_TO () {(1 << 0);}' unless defined(&SUPDBFCSR_INIT_NE_TO);
    eval 'sub ARTISEA_SUPDBER () {0x48;}' unless defined(&ARTISEA_SUPDBER);
    eval 'sub ARTISEA_SUPDBFR () {0x4c;}' unless defined(&ARTISEA_SUPDBFR);
    eval 'sub ARTISEA_SUPDHBDLR () {0x50;}' unless defined(&ARTISEA_SUPDHBDLR);
    eval 'sub ARTISEA_SUPDHBDHR () {0x54;}' unless defined(&ARTISEA_SUPDHBDHR);
    eval 'sub ARTISEA_SUPDDBDLR () {0x58;}' unless defined(&ARTISEA_SUPDDBDLR);
    eval 'sub ARTISEA_SUPDDBDHR () {0x5c;}' unless defined(&ARTISEA_SUPDDBDHR);
    eval 'sub ARTISEA_SUPDDSFCSR () {0x68;}' unless defined(&ARTISEA_SUPDDSFCSR);
    eval 'sub SUPDDSFCSR_DIR () {(1 << 31);}' unless defined(&SUPDDSFCSR_DIR);
    eval 'sub SUPDDSFCSR_INTR () {(1 << 30);}' unless defined(&SUPDDSFCSR_INTR);
    eval 'sub SUPDDSFCSR_START_SETUP () {(1 << 28);}' unless defined(&SUPDDSFCSR_START_SETUP);
    eval 'sub SUPDDSFCSR_EN_FP_AP () {(1 << 27);}' unless defined(&SUPDDSFCSR_EN_FP_AP);
    eval 'sub SUPDDSFCSR_ABORT_TSM () {(1 << 24);}' unless defined(&SUPDDSFCSR_ABORT_TSM);
    eval 'sub ARTISEA_SUPDHDBILR () {0x6c;}' unless defined(&ARTISEA_SUPDHDBILR);
    eval 'sub ARTISEA_SUPDHDBIHR () {0x70;}' unless defined(&ARTISEA_SUPDHDBIHR);
    eval 'sub ARTISEA_SUPDHRDR0 () {0x74;}' unless defined(&ARTISEA_SUPDHRDR0);
    eval 'sub ARTISEA_SUPDHDBOR () {0x78;}' unless defined(&ARTISEA_SUPDHDBOR);
    eval 'sub ARTISEA_SUPDHDTCR () {0x7c;}' unless defined(&ARTISEA_SUPDHDTCR);
    eval 'sub ARTISEA_SUPDHRDR1 () {0x80;}' unless defined(&ARTISEA_SUPDHRDR1);
    eval 'sub ARTISEA_SUPDDDBILR () {0x84;}' unless defined(&ARTISEA_SUPDDDBILR);
    eval 'sub ARTISEA_SUPDDDBIHR () {0x88;}' unless defined(&ARTISEA_SUPDDDBIHR);
    eval 'sub ARTISEA_SUPDDRDR0 () {0x8c;}' unless defined(&ARTISEA_SUPDDRDR0);
    eval 'sub ARTISEA_SUPDDDBOR () {0x90;}' unless defined(&ARTISEA_SUPDDDBOR);
    eval 'sub ARTISEA_SUPDDTCR () {0x94;}' unless defined(&ARTISEA_SUPDDTCR);
    eval 'sub ARTISEA_SUPDDRDR1 () {0x9c;}' unless defined(&ARTISEA_SUPDDRDR1);
}
1;
