摘要 |
A method and a storage controller for transferring data between a host and a storage device is provided. The storage controller includes, a transport module having a first in first out ("FIFO") for receiving frames from a link module, wherein the FIFO uses two pointers; the first pointer points to a location of a frame that is received with cyclic redundancy code ("CRC") and the second pointer points to the frame after the CRC is verified and the frame is acceptable. The method includes, using a first pointer to point to a location when a frame arrives without the CRC; and verifying the CRC and if a frame is acceptable using a second pointer to point to the first pointer location. If a frame is corrupt the first pointer and the second pointer point to a location of a receive pointer.
|