gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:ataChkSts (0.00 seconds)
tkernel_2
driver/tef_em1d/sysdsk/src/ataio.c - 6.8KB - 257 lines
108:         /* Wait until a data transfer is OK ("BSY=0", "DRDY=1", and "DRQ=1")  */
109:         return ataChkSts(drv, stBSY | stDRDY | stDRQ, stDRDY | stDRQ);
110: }
172: /* Wait for a while until it becomes ready status (BSY = 0) */ 173: if (ataChkSts(drv, stBSY, 0) != E_OK) goto EEXIT; 174:
178: /* Wait for a while until It gets to "BSY = 0" and "DRDY = 1" */ 179: if (ataChkSts(drv, stBSY | stDRDY, stDRDY) != E_OK) goto EEXIT; 180: