if(((SWAB_16(PLX_INT(0x4C)))&0x04)==0x04) { ErrNo = *(UINT16*)(g_MemBase+0XFFFE*2); /*logMsg("Int1 exist in Open422Device().\n",0,0,0,0,0,0);*/ } PLX_INT(0x4C) = SWAB_16(0x0242); /*added by sgh-2011-6-1 for disable PCI interrupt*/ if(((SWAB_16(PLX_INT(0x4C)))&0x04)==0x04) { ErrNo = *(UINT16*)(g_MemBase+0XFFFE*2); /*logMsg("Int2 exist in Open422Device()\n",0,0,0,0,0,0);*/ } /////////////////// PLX_INT(0x4C) = SWAB_16(0x0243); taskDelay(5); if(((SWAB_16(PLX_INT(0x4C)))&0x04)==0x04) { ErrNo = *(UINT16*)(g_MemBase+0XFFFE*2); /*logMsg("Int before Start422()\n",0,0,0,0,0,0);*/ 清中断: PLX_INT(0x4C) = PLX_INT(0x4C) |0x01;