require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&QEC_QRI_CTRL)) {
    sub QEC_QRI_CTRL () {	(0*4);}
}
unless(defined(&QEC_QRI_STAT)) {
    sub QEC_QRI_STAT () {	(1*4);}
}
unless(defined(&QEC_QRI_PSIZE)) {
    sub QEC_QRI_PSIZE () {	(2*4);}
}
unless(defined(&QEC_QRI_MSIZE)) {
    sub QEC_QRI_MSIZE () {	(3*4);}
}
unless(defined(&QEC_QRI_RSIZE)) {
    sub QEC_QRI_RSIZE () {	(4*4);}
}
unless(defined(&QEC_QRI_TSIZE)) {
    sub QEC_QRI_TSIZE () {	(5*4);}
}
unless(defined(&QEC_CTRL_MODEMASK)) {
    sub QEC_CTRL_MODEMASK () {	0xf0000000;}
}
unless(defined(&QEC_CTRL_MMODE)) {
    sub QEC_CTRL_MMODE () {	0x40000000;}
}
unless(defined(&QEC_CTRL_BMODE)) {
    sub QEC_CTRL_BMODE () {	0x10000000;}
}
unless(defined(&QEC_CTRL_EPAR)) {
    sub QEC_CTRL_EPAR () {	0x20;}
}
unless(defined(&QEC_CTRL_ACNTRL)) {
    sub QEC_CTRL_ACNTRL () {	0x18;}
}
unless(defined(&QEC_CTRL_B64)) {
    sub QEC_CTRL_B64 () {	0x4;}
}
unless(defined(&QEC_CTRL_B32)) {
    sub QEC_CTRL_B32 () {	0x2;}
}
unless(defined(&QEC_CTRL_B16)) {
    sub QEC_CTRL_B16 () {	0x;}
}
unless(defined(&QEC_CTRL_RESET)) {
    sub QEC_CTRL_RESET () {	0x1;}
}
unless(defined(&QEC_STAT_TX)) {
    sub QEC_STAT_TX () {	0x8;}
}
unless(defined(&QEC_STAT_RX)) {
    sub QEC_STAT_RX () {	0x4;}
}
unless(defined(&QEC_STAT_BM)) {
    sub QEC_STAT_BM () {	0x2;}
}
unless(defined(&QEC_STAT_ER)) {
    sub QEC_STAT_ER () {	0x1;}
}
unless(defined(&QEC_PSIZE_2048)) {
    sub QEC_PSIZE_2048 () {	0x;}
}
unless(defined(&QEC_PSIZE_4096)) {
    sub QEC_PSIZE_4096 () {	0x1;}
}
unless(defined(&QEC_PSIZE_6144)) {
    sub QEC_PSIZE_6144 () {	0x10;}
}
unless(defined(&QEC_PSIZE_8192)) {
    sub QEC_PSIZE_8192 () {	0x11;}
}
unless(defined(&QEC_XD_OWN)) {
    sub QEC_XD_OWN () {	0x80000000;}
}
unless(defined(&QEC_XD_SOP)) {
    sub QEC_XD_SOP () {	0x40000000;}
}
unless(defined(&QEC_XD_EOP)) {
    sub QEC_XD_EOP () {	0x20000000;}
}
unless(defined(&QEC_XD_UPDATE)) {
    sub QEC_XD_UPDATE () {	0x10000000;}
}
unless(defined(&QEC_XD_LENGTH)) {
    sub QEC_XD_LENGTH () {	0x1fff;}
}
unless(defined(&QEC_XD_RING_MAXSIZE)) {
    sub QEC_XD_RING_MAXSIZE () {	256;}
}
1;
