kernel/eka/drivers/pbus/mmc/mmccd_init.cpp
changeset 90 947f0dc9f7a8
parent 0 a41df078684a
child 117 5b5d147c7838
equal deleted inserted replaced
52:2d65c2f76d7b 90:947f0dc9f7a8
   294 
   294 
   295 			if (err != KErrNone)
   295 			if (err != KErrNone)
   296 				break;
   296 				break;
   297 			}
   297 			}
   298 
   298 
   299 		if (mi.iFlags & TMMCMachineInfo::ESupportsDMA)
   299 		if ((mi.iFlags & TMMCMachineInfo::ESupportsDMA) == TMMCMachineInfo::ESupportsDMA)
   300 			{
   300 			{
   301 			err = LocDrv::RegisterDmaDevice(pMedia,
   301 			err = LocDrv::RegisterDmaDevice(pMedia,
   302 											KMMCardHighCapBlockSize, 
   302 											KMMCardHighCapBlockSize, 
   303 											pS->MaxDataTransferLength(), 
   303 											pS->MaxDataTransferLength(), 
   304 											pS->DmaAlignment());
   304 											pS->DmaAlignment());