omap3530/beagle_drivers/medstaticrd/beagle_medstaticrd.cpp
branchgeneric_fixes_and_updates
changeset 101 984b38878b1b
parent 97 fa3af5241fa7
child 113 922af0272d29
equal deleted inserted replaced
99:30b472f724b4 101:984b38878b1b
   520 		else if ( aTransactionDirection == NVMEM_TRANSACTION_READ )
   520 		else if ( aTransactionDirection == NVMEM_TRANSACTION_READ )
   521 		{
   521 		{
   522 			memcpy( iTransferBufferLin, (TAny *)(iDiscBufferLin+(aTransactionSectorOffset<<9)), aTransactionSectorCount*512 );
   522 			memcpy( iTransferBufferLin, (TAny *)(iDiscBufferLin+(aTransactionSectorOffset<<9)), aTransactionSectorCount*512 );
   523 		}
   523 		}
   524 		iLatestTransferSectorCount = aTransactionSectorCount;
   524 		iLatestTransferSectorCount = aTransactionSectorCount;
   525 		Isr(this); // terrible hack, we've yransferred all the sectors and now we pretend to generate an interrupt
   525 		
       
   526 		// Isr(this); // terrible hack, we've yransferred all the sectors and now we pretend to generate an interrupt
       
   527 		iSessionEndDfc.Enque();
   526 		}
   528 		}
   527 	else
   529 	else
   528 		{
   530 		{
   529 		Kern::Fault("DMediaDriverStaticRD::ContinueTransaction: Undefined transaction!", 0);
   531 		Kern::Fault("DMediaDriverStaticRD::ContinueTransaction: Undefined transaction!", 0);
   530 		}
   532 		}