void SccbMgr_unload_card(ULONG pCurrCard) #endif #endif 
static void SccbMgr_unload_card(ULONG pCurrCard) 
void SccbMgr_unload_card(ULONG pCurrCard)#endif#endif{	UCHAR i;#if defined(DOS)	USHORT portBase;	USHORT regOffset;#else	ULONG portBase;	ULONG regOffset;#endif	ULONG scamData;#if defined(OS2)	ULONG far *pScamTbl;#else	ULONG *pScamTbl;#endif	PNVRamInfo pCurrNvRam;	pCurrNvRam = ((PSCCBcard)pCurrCard)->pNvRamInfo;	if(pCurrNvRam){		WrStack(pCurrNvRam->niBaseAddr, 0, pCurrNvRam->niModel);		WrStack(pCurrNvRam->niBaseAddr, 1, pCurrNvRam->niSysConf);		WrStack(pCurrNvRam->niBaseAddr, 2, pCurrNvRam->niScsiConf);		WrStack(pCurrNvRam->niBaseAddr, 3, pCurrNvRam->niScamConf);		WrStack(pCurrNvRam->niBaseAddr, 4, pCurrNvRam->niAdapId);		for(i = 0; i < MAX_SCSI_TAR / 2; i++)			WrStack(pCurrNvRam->niBaseAddr, (UCHAR)(i+5), pCurrNvRam->niSyncTbl[i]);		portBase = pCurrNvRam->niBaseAddr;		for(i = 0; i < MAX_SCSI_TAR; i++){			regOffset = hp_aramBase + 64 + i*4;#if defined(OS2)			pScamTbl = (ULONG far *) &pCurrNvRam->niScamTbl[i];#else			pScamTbl = (ULONG *) &pCurrNvRam->niScamTbl[i];#endif			scamData = *pScamTbl;			WR_HARP32(portBase, regOffset, scamData);		}	}else{		WrStack(((PSCCBcard)pCurrCard)->ioPort, 0, 0);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129/FlashPoint.c/buggy/drivers/scsi/FlashPoint.c